time="2024-07-30T14:04:59Z" level=warning msg="/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/integration-test/docker-compose.yaml: `version` is obsolete" Container integration-test-experiment-1 Creating Container integration-test-device-1 Creating Container integration-test-authentication-1 Creating Container integration-test-gateway-1 Creating Container integration-test-authorization-1 Creating Container integration-test-federation-1 Creating Container integration-test-gateway-1 Created Container integration-test-device-1 Created Container integration-test-federation-1 Created Container integration-test-experiment-1 Created Container integration-test-authentication-1 Created Container integration-test-authorization-1 Created Attaching to authentication-1, authorization-1, device-1, experiment-1, federation-1, 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 authentication-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} authorization-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} federation-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} experiment-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} federation-1 | {"level":"info","message":"Federation Service started successfully"} authorization-1 | {"addrs":["localhost:3011"],"diagnostic-addrs":[],"level":"info","msg":"Initializing server.","subsystem":"opa","time":"2024-07-30T14:05:37Z"} experiment-1 | {"level":"info","message":"Experiment Service started successfully"} authentication-1 | {"level":"info","message":"Authentication Service started successfully"} device-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} device-1 | {"level":"info","message":"Device Service started successfully"} authorization-1 | {"client_addr":"127.0.0.1:50058","level":"info","msg":"Received request.","req_id":1,"req_method":"GET","req_path":"/","subsystem":"opa","time":"2024-07-30T14:05:38Z"} authorization-1 | {"client_addr":"127.0.0.1:50058","level":"info","msg":"Sent response.","req_id":1,"req_method":"GET","req_path":"/","resp_bytes":1424,"resp_duration":0.220758,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:38Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"๐Ÿงช experimental features enabled: []","subsystem":"openfga","timestamp":1722348338.2351458} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"using 'memory' storage engine","subsystem":"openfga","timestamp":1722348338.2352102} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"warn","message":"authentication is disabled","subsystem":"openfga","timestamp":1722348338.2352204} 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":1722348338.2352362} 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":1722348338.2352479} 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":1722348338.2352793,"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":1722348338.236142} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"HTTP server listening on 'localhost:3013'...","subsystem":"openfga","timestamp":1722348338.2376778} 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:37714","raw_request":{"name":"crosslab"},"raw_response":{"created_at":"2024-07-30T14:05:38.262006125Z","id":"01J41ZBZ2NKFG6SRKC3GX461RZ","name":"crosslab","updated_at":"2024-07-30T14:05:38.262006125Z"},"request_id":"d34e3dce-e0a5-4e6b-a691-3657137cb0e5","subsystem":"openfga","timestamp":1722348338.2621186} 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:37714","raw_request":{"schema_version":"1.1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_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":"01J41ZBZ405T7C2CJ5BSCFYF8M"},"request_id":"1dfcb026-6a0b-4419-8603-dfb76562315f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348338.3044572} authorization-1 | {"client_addr":"127.0.0.1:50058","level":"info","msg":"Received request.","req_id":2,"req_method":"PUT","req_path":"/v1/data/jwt_secret","subsystem":"opa","time":"2024-07-30T14:05:38Z"} authorization-1 | {"client_addr":"127.0.0.1:50058","level":"info","msg":"Sent response.","req_id":2,"req_method":"PUT","req_path":"/v1/data/jwt_secret","resp_bytes":0,"resp_duration":0.264813,"resp_status":204,"subsystem":"opa","time":"2024-07-30T14:05:38Z"} authorization-1 | {"level":"info","message":"Authorization Service started successfully"} authorization-1 | {"current_version":"0.54.0","download_opa":"https://openpolicyagent.org/downloads/v0.67.0/opa_linux_amd64","latest_version":"0.67.0","level":"info","msg":"OPA is out of date.","release_notes":"https://github.com/open-policy-agent/opa/releases/tag/v0.67.0","subsystem":"opa","time":"2024-07-30T14:05:38Z"} gateway-1 | {"time_local":"30/Jul/2024:14:05:42 +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.026","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"0048012833cf04ac0cd5b4247f4858a0"} authentication-1 | {"level":"info","message":"HEAD /auth/status 200 17ms","method":"HEAD","requestID":"0048012833cf04ac0cd5b4247f4858a0","responseTime":17,"status":200,"url":"/auth/status"} gateway-1 | {"time_local":"30/Jul/2024:14:05:42 +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.014","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"c5da9d58fc0c216ba8d3f85f3defda77"} device-1 | {"level":"info","message":"HEAD /device/status 200 9ms","method":"HEAD","requestID":"cf0c8470-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/device/status"} gateway-1 | {"time_local":"30/Jul/2024:14:05:42 +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.019","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"6951b7b32493f1ec3f5c25b10dc8e69a"} authorization-1 | {"level":"info","message":"HEAD /authorization/status 200 12ms","method":"HEAD","requestID":"6951b7b32493f1ec3f5c25b10dc8e69a","responseTime":12,"status":200,"url":"/authorization/status"} gateway-1 | {"time_local":"30/Jul/2024:14:05:42 +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.017","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"4482bde31ec0489a259e1ccb1ac386a7"} federation-1 | {"level":"info","message":"HEAD /federation/status 200 10ms","method":"HEAD","requestID":"cf142590-4e7c-11ef-8b3c-91407e08d6cc","responseTime":10,"status":200,"url":"/federation/status"} gateway-1 | {"time_local":"30/Jul/2024:14:05:42 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"HEAD /experiment/status HTTP/1.1","status": "200","body_bytes_sent":"0","request_time":"0.019","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"ac6e58d216842da8c33511eae0421742"} experiment-1 | {"level":"info","message":"HEAD /experiment/status 200 11ms","method":"HEAD","requestID":"cf17cf10-4e7c-11ef-81e2-21f2c9fbf4bc","responseTime":11,"status":200,"url":"/experiment/status"} gateway-1 | {"time_local":"30/Jul/2024:14:05:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /login HTTP/1.1","status": "201","body_bytes_sent":"88","request_time":"0.168","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dfb0fd57f77f8b129be3f64d6815e70a"} authentication-1 | {"level":"info","message":"POST /login 201 146ms","method":"POST","requestID":"dfb0fd57f77f8b129be3f64d6815e70a","responseTime":146,"status":201,"url":"/login"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0NX0.4Zd_b_-FZUEHSNopH4o344qvewMiQGxIesx7hGo7Ed8","level":"info","message":"auth send jwt","requestID":"493e4dfc41a4a0d7bf366a9ceef31be9"} authentication-1 | {"level":"info","message":"GET /auth 200 23ms","method":"GET","requestID":"493e4dfc41a4a0d7bf366a9ceef31be9","responseTime":23,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"493e4dfc41a4a0d7bf366a9ceef31be9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":3,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:46Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":3,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":2.124675,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:46Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"493e4dfc41a4a0d7bf366a9ceef31be9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348345,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0NX0.4Zd_b_-FZUEHSNopH4o344qvewMiQGxIesx7hGo7Ed8"} authorization-1 | {"level":"info","message":"POST /authorize 200 28ms","method":"POST","requestID":"493e4dfc41a4a0d7bf366a9ceef31be9","responseTime":28,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"a017b8c8-de9a-4f6e-bd89-b91c610abfd1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348346.1394649} authorization-1 | {"level":"info","message":"POST /relations/query 200 10ms","method":"POST","requestID":"493e4dfc41a4a0d7bf366a9ceef31be9","responseTime":10,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"84d4a26a-2bfa-483c-b230-12c77f46426a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348346.157369} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"493e4dfc41a4a0d7bf366a9ceef31be9","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"17ea681d-247d-42bc-9545-f45387455029","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348346.176869} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"135375ef-4917-44b2-9467-e3801a28da82","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348346.1773074} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"493e4dfc41a4a0d7bf366a9ceef31be9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:46.176843577Z"}]},"request_id":"4dd937f6-ba41-418a-a565-0a05f3a9eb5d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348346.185302} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"493e4dfc41a4a0d7bf366a9ceef31be9","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"493e4dfc41a4a0d7bf366a9ceef31be9"} gateway-1 | {"time_local":"30/Jul/2024:14:05:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.282","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"493e4dfc41a4a0d7bf366a9ceef31be9"} device-1 | {"level":"info","message":"POST /devices? 201 234ms","method":"POST","requestID":"493e4dfc41a4a0d7bf366a9ceef31be9","responseTime":234,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0Nn0.7gVB8LJYWXftd7EK9_8m9qgfKoFP6kw_5uH9qeK5Eso","level":"info","message":"auth send jwt","requestID":"cc1bd79adc3eda999327da8134533e76"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"cc1bd79adc3eda999327da8134533e76","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"cc1bd79adc3eda999327da8134533e76"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":4,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:46Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":4,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.699101,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:46Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"cc1bd79adc3eda999327da8134533e76","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348346,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0Nn0.7gVB8LJYWXftd7EK9_8m9qgfKoFP6kw_5uH9qeK5Eso"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"cc1bd79adc3eda999327da8134533e76","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c1f8ad4c-c2a1-458d-a05f-cac5a51def2d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348346.2435331} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"cc1bd79adc3eda999327da8134533e76","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d68b63f0-87e0-4198-9c4f-2fa0b446447f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348346.2573347} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"cc1bd79adc3eda999327da8134533e76","responseTime":10,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"0d7a6725-7b1d-4496-9877-6c6f3f0aae3d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348346.2753983} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"311d0f04-3862-4ebf-a5f0-4801675d958c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348346.2759066} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"cc1bd79adc3eda999327da8134533e76","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:46.275373424Z"}]},"request_id":"fc29af02-3169-46f2-8014-be3ae4ba1b41","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348346.2850742} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cc1bd79adc3eda999327da8134533e76","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"cc1bd79adc3eda999327da8134533e76"} gateway-1 | {"time_local":"30/Jul/2024:14:05:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.078","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cc1bd79adc3eda999327da8134533e76"} device-1 | {"level":"info","message":"POST /devices? 201 71ms","method":"POST","requestID":"cc1bd79adc3eda999327da8134533e76","responseTime":71,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b5255c02c552c7db481da445ed1575ca","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"b5255c02c552c7db481da445ed1575ca","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6efd40a26ccc593bdd8153e2b234792e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"6efd40a26ccc593bdd8153e2b234792e","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:05:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.009","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b5255c02c552c7db481da445ed1575ca"} device-1 | {"level":"info","message":"OPTIONS /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/websocket 200 3ms","method":"OPTIONS","requestID":"b5255c02c552c7db481da445ed1575ca","responseTime":3,"status":200,"url":"/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:05:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/9e573a67-f902-4088-94ff-5a43509c3f81/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.013","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6efd40a26ccc593bdd8153e2b234792e"} device-1 | {"level":"info","message":"OPTIONS /devices/9e573a67-f902-4088-94ff-5a43509c3f81/websocket 200 2ms","method":"OPTIONS","requestID":"6efd40a26ccc593bdd8153e2b234792e","responseTime":2,"status":200,"url":"/devices/9e573a67-f902-4088-94ff-5a43509c3f81/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ","level":"info","message":"auth send jwt","requestID":"4cba52a64c28970b38cd74a757db5a93"} authentication-1 | {"level":"info","message":"GET /auth 200 11ms","method":"GET","requestID":"4cba52a64c28970b38cd74a757db5a93","responseTime":11,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ","level":"info","message":"auth send jwt","requestID":"ebb6eba346d64f364ad54801c8c91d75"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"4cba52a64c28970b38cd74a757db5a93"} authentication-1 | {"level":"info","message":"GET /auth 200 13ms","method":"GET","requestID":"ebb6eba346d64f364ad54801c8c91d75","responseTime":13,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ebb6eba346d64f364ad54801c8c91d75"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":5,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:48Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":5,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.860501,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:48Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"4cba52a64c28970b38cd74a757db5a93","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348348,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"4cba52a64c28970b38cd74a757db5a93","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":6,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:48Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":6,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.410301,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:48Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ebb6eba346d64f364ad54801c8c91d75","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348348,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ebb6eba346d64f364ad54801c8c91d75","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ebb6eba346d64f364ad54801c8c91d75"} gateway-1 | {"time_local":"30/Jul/2024:14:05:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/9e573a67-f902-4088-94ff-5a43509c3f81/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":"ebb6eba346d64f364ad54801c8c91d75"} device-1 | {"level":"info","message":"POST /devices/9e573a67-f902-4088-94ff-5a43509c3f81/websocket 200 28ms","method":"POST","requestID":"ebb6eba346d64f364ad54801c8c91d75","responseTime":28,"status":200,"url":"/devices/9e573a67-f902-4088-94ff-5a43509c3f81/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"4cba52a64c28970b38cd74a757db5a93"} gateway-1 | {"time_local":"30/Jul/2024:14:05:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.069","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4cba52a64c28970b38cd74a757db5a93"} device-1 | {"level":"info","message":"POST /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/websocket 200 53ms","method":"POST","requestID":"4cba52a64c28970b38cd74a757db5a93","responseTime":53,"status":200,"url":"/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ","level":"info","message":"auth send jwt","requestID":"b4e00c4dc087974340634432ded448fc"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"b4e00c4dc087974340634432ded448fc","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b4e00c4dc087974340634432ded448fc"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":7,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:48Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":7,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.307277,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"b4e00c4dc087974340634432ded448fc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348348,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"b4e00c4dc087974340634432ded448fc","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:46.176843577Z"}]},"request_id":"1a1479af-bcda-41b2-b592-63726e6730ed","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348348.824048} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"b4e00c4dc087974340634432ded448fc","responseTime":8,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b4e00c4dc087974340634432ded448fc"} gateway-1 | {"time_local":"30/Jul/2024:14:05:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b4e00c4dc087974340634432ded448fc"} device-1 | {"level":"info","message":"GET /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb? 200 37ms","method":"GET","requestID":"b4e00c4dc087974340634432ded448fc","responseTime":37,"status":200,"url":"/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ","level":"info","message":"auth send jwt","requestID":"13e56a7ed48df9ee2166db1161c3356d"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"13e56a7ed48df9ee2166db1161c3356d","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"13e56a7ed48df9ee2166db1161c3356d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":8,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:48Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":8,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.255224,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"13e56a7ed48df9ee2166db1161c3356d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348348,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"13e56a7ed48df9ee2166db1161c3356d","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:46.275373424Z"}]},"request_id":"46d4cd80-c2e8-4836-b542-55618f68ca63","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348348.8747506} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"13e56a7ed48df9ee2166db1161c3356d","responseTime":9,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"13e56a7ed48df9ee2166db1161c3356d"} gateway-1 | {"time_local":"30/Jul/2024:14:05:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9e573a67-f902-4088-94ff-5a43509c3f81? 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":"13e56a7ed48df9ee2166db1161c3356d"} device-1 | {"level":"info","message":"GET /devices/9e573a67-f902-4088-94ff-5a43509c3f81? 200 31ms","method":"GET","requestID":"13e56a7ed48df9ee2166db1161c3356d","responseTime":31,"status":200,"url":"/devices/9e573a67-f902-4088-94ff-5a43509c3f81?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ","level":"info","message":"auth send jwt","requestID":"a466f3a018d29f017840289ad08f5b5d"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"a466f3a018d29f017840289ad08f5b5d","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"a466f3a018d29f017840289ad08f5b5d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":9,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":9,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.812611,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"a466f3a018d29f017840289ad08f5b5d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348348,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a466f3a018d29f017840289ad08f5b5d","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Attempting to run experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Attempting to book experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Successfully booked experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d2c87b00-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d2c8c920-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":10,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":10,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.689155,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d2c87b00-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348348,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d2c87b00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48638","level":"info","msg":"Received request.","req_id":11,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48638","level":"info","msg":"Sent response.","req_id":11,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.143689,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d2c8c920-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348348,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"d2c8c920-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:46.176843577Z"}]},"request_id":"cd6c48a8-b4b1-4e20-9fc1-c486626ba6fb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.1176965} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"d2c87b00-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:46.275373424Z"}]},"request_id":"a6292ec1-b66a-4afa-b2c3-a2f82247fd02","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.1239827} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d2c87b00-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d2c8c920-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb? 200 21ms","method":"GET","requestID":"d2c87b00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":21,"status":200,"url":"/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d2c8c920-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/9e573a67-f902-4088-94ff-5a43509c3f81? 200 25ms","method":"GET","requestID":"d2c8c920-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":25,"status":200,"url":"/devices/9e573a67-f902-4088-94ff-5a43509c3f81?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Setting up experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Successfully locked booking for experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Attempting to update booking for experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Successfully updated booking for experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Successfully set up experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d2d85980-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d2d8f5c0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":12,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":12,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.731158,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d2d85980-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348348,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d2d85980-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Successfully running experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":13,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":13,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.933169,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d2d9b910-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d2d8f5c0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348348,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"d2d8f5c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":14,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a9fa72dc-c250-4241-99a8-77c34009f55c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.2332196} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:46.275373424Z"}]},"request_id":"002b5033-63d3-440f-bb31-081702e74e47","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.2354305} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":14,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.261477,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d2d9b910-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 17ms","method":"POST","requestID":"d2d9b910-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:46.176843577Z"}]},"request_id":"c2a0af76-226b-434e-9bf5-6aa116ff8968","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.238941} authorization-1 | {"level":"info","message":"POST /relations/query 200 16ms","method":"POST","requestID":"d2d8f5c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 13ms","method":"POST","requestID":"d2d85980-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Faf8b4be3-6bc7-48ee-9a3e-a00015614867#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Faf8b4be3-6bc7-48ee-9a3e-a00015614867","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"1c352674-498e-4998-8f99-e03fd564dc74","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.2493603} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"27c86e82-7e03-4011-aa78-c034749af587","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.249731} authorization-1 | {"level":"info","message":"POST /relations/update 200 33ms","method":"POST","requestID":"a466f3a018d29f017840289ad08f5b5d","responseTime":33,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d2d9b910-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/signaling 200 41ms","method":"POST","requestID":"d2d9b910-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":41,"status":200,"url":"/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d2d8f5c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/9e573a67-f902-4088-94ff-5a43509c3f81? 200 48ms","method":"GET","requestID":"d2d8f5c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":48,"status":200,"url":"/devices/9e573a67-f902-4088-94ff-5a43509c3f81?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d2d85980-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb? 200 54ms","method":"GET","requestID":"d2d85980-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":54,"status":200,"url":"/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d2e10c10-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":15,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d400066b-14e4-4aec-a990-a80e07b09bde","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.2709434} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":15,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.518867,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d2e10c10-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d2e10c10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d2e26ba0-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"a466f3a018d29f017840289ad08f5b5d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":16,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d2e10c10-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"86018d1e-cbd7-40f9-b5f4-863beb870a92","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.2801766} device-1 | {"level":"info","message":"POST /devices/9e573a67-f902-4088-94ff-5a43509c3f81/signaling 200 15ms","method":"POST","requestID":"d2e10c10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/9e573a67-f902-4088-94ff-5a43509c3f81/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":16,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.722433,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} gateway-1 | {"time_local":"30/Jul/2024:14:05:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"807","request_time":"0.387","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a466f3a018d29f017840289ad08f5b5d"} experiment-1 | {"level":"info","message":"POST /experiments? 201 357ms","method":"POST","requestID":"a466f3a018d29f017840289ad08f5b5d","responseTime":357,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d2e26ba0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"d2e26ba0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d2e26ba0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/signaling 200 13ms","method":"POST","requestID":"d2e26ba0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OX0.Np6nfVlHm2VQtUEb92nuiCBhI71CW3BxV0UodsSFXeY","level":"info","message":"auth send jwt","requestID":"86c5d752ddb9456be1c3668c2435416c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"86c5d752ddb9456be1c3668c2435416c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d2e4dca0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"86c5d752ddb9456be1c3668c2435416c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":17,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48638","level":"info","msg":"Received request.","req_id":18,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48638","level":"info","msg":"Sent response.","req_id":18,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.796002,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"86c5d752ddb9456be1c3668c2435416c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348349,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OX0.Np6nfVlHm2VQtUEb92nuiCBhI71CW3BxV0UodsSFXeY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"86c5d752ddb9456be1c3668c2435416c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6182d79c-c811-4697-b8c4-2ea8c617d718","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.29708} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":17,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.028065,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d2e4dca0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","object_type":"device","rebac_allow":false,"scope_allow":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":"d2e4dca0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:46.176843577Z"}]},"request_id":"a1716947-1ff5-4743-8271-75adb9a366b2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.3020413} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d2e4dca0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/9e573a67-f902-4088-94ff-5a43509c3f81/signaling 200 12ms","method":"POST","requestID":"d2e4dca0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/9e573a67-f902-4088-94ff-5a43509c3f81/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"86c5d752ddb9456be1c3668c2435416c","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Building connection plan","requestID":"a466f3a018d29f017840289ad08f5b5d"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"713b34c3-9929-46c0-bcb2-9c242a96fde7"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"b899ec00-fee4-46af-ad06-119d753fa725"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"6c30fdbd-d3ba-4060-9dbc-3374183d4d50"}]},"level":"info","message":"Built pairwise service configurations","requestID":"a466f3a018d29f017840289ad08f5b5d"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"86c5d752ddb9456be1c3668c2435416c"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"a466f3a018d29f017840289ad08f5b5d"} gateway-1 | {"time_local":"30/Jul/2024:14:05:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb? 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":"86c5d752ddb9456be1c3668c2435416c"} device-1 | {"level":"info","message":"GET /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb? 200 15ms","method":"GET","requestID":"86c5d752ddb9456be1c3668c2435416c","responseTime":15,"status":200,"url":"/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OX0.Np6nfVlHm2VQtUEb92nuiCBhI71CW3BxV0UodsSFXeY","level":"info","message":"auth send jwt","requestID":"cbf28ea0814271d15e556bbe3b6678c5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"cbf28ea0814271d15e556bbe3b6678c5","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"d2e810f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cbf28ea0814271d15e556bbe3b6678c5"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":19,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":19,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.649876,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48638","level":"info","msg":"Received request.","req_id":20,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d2e810f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348348,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OH0.U3km3kC7vZlHuuGUKudyZvWstidFRXDrPpSvAeUreEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d2e810f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48638","level":"info","msg":"Sent response.","req_id":20,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.816178,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"cbf28ea0814271d15e556bbe3b6678c5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348349,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OX0.Np6nfVlHm2VQtUEb92nuiCBhI71CW3BxV0UodsSFXeY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cbf28ea0814271d15e556bbe3b6678c5","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:46.275373424Z"}]},"request_id":"21acbd21-cc29-492d-9b39-512fda2c294c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.3235912} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cbf28ea0814271d15e556bbe3b6678c5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cbf28ea0814271d15e556bbe3b6678c5"} gateway-1 | {"time_local":"30/Jul/2024:14:05:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9e573a67-f902-4088-94ff-5a43509c3f81? 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":"cbf28ea0814271d15e556bbe3b6678c5"} device-1 | {"level":"info","message":"GET /devices/9e573a67-f902-4088-94ff-5a43509c3f81? 200 14ms","method":"GET","requestID":"cbf28ea0814271d15e556bbe3b6678c5","responseTime":14,"status":200,"url":"/devices/9e573a67-f902-4088-94ff-5a43509c3f81?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"0dadc75c-305a-4fe8-a912-f8547fa24622","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.3582876} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d8293fcd-6b44-4d55-8f8f-0594d14e4074","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.3584774} authorization-1 | {"level":"info","message":"POST /relations/update 200 35ms","method":"POST","requestID":"d2e810f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":35,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"d2e810f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"d2e810f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442'","requestID":"d2e810f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442'","requestID":"d2e810f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"d2e810f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 66ms","method":"POST","requestID":"d2e810f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":66,"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":"d2e810f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442","device":"ca05fd76-bf94-4ea9-b5e8-850bae98aecb","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/25d3de2f-9b32-4259-a2a1-94ca301da442","device":"9e573a67-f902-4088-94ff-5a43509c3f81","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/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"a466f3a018d29f017840289ad08f5b5d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d2f83d90-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":21,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8e0689a1-fcc6-4467-b1a1-8539bfe1866a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.4222727} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":21,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.479026,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d2f83d90-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d2f83d90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d2f83d90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/signaling 200 10ms","method":"POST","requestID":"d2f83d90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d2fa3960-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":22,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"53cadeb8-eb47-4c8c-8c89-a72e07e821c6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.4360638} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":22,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.438656,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d2fa3960-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d2fa3960-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"device":"ca05fd76-bf94-4ea9-b5e8-850bae98aecb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"ca05fd76-bf94-4ea9-b5e8-850bae98aecb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"9e573a67-f902-4088-94ff-5a43509c3f81","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"9e573a67-f902-4088-94ff-5a43509c3f81","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d2fa3960-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/9e573a67-f902-4088-94ff-5a43509c3f81/signaling 200 16ms","method":"POST","requestID":"d2fa3960-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/9e573a67-f902-4088-94ff-5a43509c3f81/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 2829841518443714864 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:qxwT\r\na=ice-pwd:LJcTxOAqMHj3jikA0TMNQiWc\r\na=ice-options:trickle\r\na=fingerprint:sha-256 63:0F:82:D4:7D:A0:8F:A5:C0:7D:B3:A4:4F:A4:F9:49:AF:E7:F4:75:C6:1F:59:78:99:DB:E1:66:6E:7F:77:AA\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"9e573a67-f902-4088-94ff-5a43509c3f81","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 6455458364982505037 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:dc9o\r\na=ice-pwd:yaS1sYH8I5zNP0UW40UdAF63\r\na=ice-options:trickle\r\na=fingerprint:sha-256 C3:8D:0A:B1:BF:A5:CE:3D:95:80:F4:9C:42:8C:80:5A:21:79:0A:0C:50:80:CE:74:61:AD:83:F0:F4:68:B4:F6\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"ca05fd76-bf94-4ea9-b5e8-850bae98aecb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1932524070 1 udp 2113937151 c6ec87df-59b2-4df7-bbd1-075c2e9645a1.local 43874 typ host generation 0 ufrag dc9o network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ca05fd76-bf94-4ea9-b5e8-850bae98aecb","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/ca05fd76-bf94-4ea9-b5e8-850bae98aecb'"} device-1 | {"content":{"candidate":"candidate:2071441889 1 udp 1677729535 141.24.211.56 43874 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag dc9o network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ca05fd76-bf94-4ea9-b5e8-850bae98aecb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1527579684 1 udp 2113937151 a3a543c4-e653-4e63-8cd2-d4e051e9b85f.local 60644 typ host generation 0 ufrag qxwT network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9e573a67-f902-4088-94ff-5a43509c3f81","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1577388924 1 udp 1677729535 141.24.211.56 60644 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag qxwT network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9e573a67-f902-4088-94ff-5a43509c3f81","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/ca05fd76-bf94-4ea9-b5e8-850bae98aecb'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81'"} device-1 | {"device":"9e573a67-f902-4088-94ff-5a43509c3f81","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"ca05fd76-bf94-4ea9-b5e8-850bae98aecb","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/25d3de2f-9b32-4259-a2a1-94ca301da442' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"25d3de2f-9b32-4259-a2a1-94ca301da442","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"9e573a67-f902-4088-94ff-5a43509c3f81","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"9e573a67-f902-4088-94ff-5a43509c3f81","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"ca05fd76-bf94-4ea9-b5e8-850bae98aecb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"ca05fd76-bf94-4ea9-b5e8-850bae98aecb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"ca05fd76-bf94-4ea9-b5e8-850bae98aecb","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ad7504d25d042d232fb6d14c7de6c40b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ad7504d25d042d232fb6d14c7de6c40b","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/ca05fd76-bf94-4ea9-b5e8-850bae98aecb"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442"}}},"level":"info","message":"received a callback","requestID":"ad7504d25d042d232fb6d14c7de6c40b"} device-1 | {"data":{"peerconnection":"25d3de2f-9b32-4259-a2a1-94ca301da442","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 14ms","method":"POST","requestID":"ad7504d25d042d232fb6d14c7de6c40b","responseTime":14,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:05: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.018","http_referrer":"","http_user_agent":"node-fetch","requestID":"ad7504d25d042d232fb6d14c7de6c40b"} device-1 | {"data":{"peerconnection":"25d3de2f-9b32-4259-a2a1-94ca301da442","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/25d3de2f-9b32-4259-a2a1-94ca301da442' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"25d3de2f-9b32-4259-a2a1-94ca301da442","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a20da2f4eff663556075c441e2b08203","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a20da2f4eff663556075c441e2b08203","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/ca05fd76-bf94-4ea9-b5e8-850bae98aecb"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442"}}},"level":"info","message":"received a callback","requestID":"a20da2f4eff663556075c441e2b08203"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"d30de870-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":23,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F25d3de2f-9b32-4259-a2a1-94ca301da442","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"30643f73-ac70-4f0e-a325-81260c4bbe7c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.5639799} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":23,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.360952,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d30de870-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442","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":"d30de870-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"d30de870-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442 200 10ms","method":"GET","requestID":"d30de870-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 34ms","method":"POST","requestID":"a20da2f4eff663556075c441e2b08203","responseTime":34,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:05: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.037","http_referrer":"","http_user_agent":"node-fetch","requestID":"a20da2f4eff663556075c441e2b08203"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d3120720-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":24,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2235e8cb-1e52-4e38-8d17-5d410dee99d6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.5915487} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":24,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.263483,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d3120720-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d3120720-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d3120720-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/signaling 200 10ms","method":"POST","requestID":"d3120720-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OX0.Np6nfVlHm2VQtUEb92nuiCBhI71CW3BxV0UodsSFXeY","level":"info","message":"auth send jwt","requestID":"d5acccade8d083bb5d360ca23ce070a8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d5acccade8d083bb5d360ca23ce070a8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d31402f0-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867","requestID":"d5acccade8d083bb5d360ca23ce070a8"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":25,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2fbd09f6-f3cd-48ed-98d9-c935457e59b4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.604285} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":25,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.670692,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48638","level":"info","msg":"Received request.","req_id":26,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d31402f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d31402f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48638","level":"info","msg":"Sent response.","req_id":26,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.584459,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d5acccade8d083bb5d360ca23ce070a8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348349,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OX0.Np6nfVlHm2VQtUEb92nuiCBhI71CW3BxV0UodsSFXeY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d5acccade8d083bb5d360ca23ce070a8","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d31402f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/9e573a67-f902-4088-94ff-5a43509c3f81/signaling 200 12ms","method":"POST","requestID":"d31402f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/9e573a67-f902-4088-94ff-5a43509c3f81/signaling"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867","requestID":"d5acccade8d083bb5d360ca23ce070a8"} gateway-1 | {"time_local":"30/Jul/2024:14:05:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867 HTTP/1.1","status": "200","body_bytes_sent":"880","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d5acccade8d083bb5d360ca23ce070a8"} experiment-1 | {"level":"info","message":"GET /experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867 200 17ms","method":"GET","requestID":"d5acccade8d083bb5d360ca23ce070a8","responseTime":17,"status":200,"url":"/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OX0.Np6nfVlHm2VQtUEb92nuiCBhI71CW3BxV0UodsSFXeY","level":"info","message":"auth send jwt","requestID":"a458ca986e60086ce5114a54ae35665e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a458ca986e60086ce5114a54ae35665e","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867","requestID":"a458ca986e60086ce5114a54ae35665e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":27,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":27,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.691127,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"a458ca986e60086ce5114a54ae35665e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348349,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OX0.Np6nfVlHm2VQtUEb92nuiCBhI71CW3BxV0UodsSFXeY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a458ca986e60086ce5114a54ae35665e","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Attempting to finish experiment","requestID":"a458ca986e60086ce5114a54ae35665e"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"d31a4480-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":28,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":28,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.722963,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d31a4480-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348349,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OX0.Np6nfVlHm2VQtUEb92nuiCBhI71CW3BxV0UodsSFXeY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d31a4480-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442","device":"ca05fd76-bf94-4ea9-b5e8-850bae98aecb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442","device":"9e573a67-f902-4088-94ff-5a43509c3f81","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/25d3de2f-9b32-4259-a2a1-94ca301da442' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"25d3de2f-9b32-4259-a2a1-94ca301da442","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"13ac269e998672e42a94005e42916950","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"13ac269e998672e42a94005e42916950","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/ca05fd76-bf94-4ea9-b5e8-850bae98aecb"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442"}}},"level":"info","message":"received a callback","requestID":"13ac269e998672e42a94005e42916950"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"355025a900924ba1cbc344128244fae6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"355025a900924ba1cbc344128244fae6","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":"connected","url":"http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442"}}},"level":"info","message":"received a callback","requestID":"355025a900924ba1cbc344128244fae6"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F25d3de2f-9b32-4259-a2a1-94ca301da442': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F25d3de2f-9b32-4259-a2a1-94ca301da442","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"0c5a3ecc-81a4-416a-8bb3-71c2f467f61b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.66612} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"de2efe59-8066-49f8-89f7-1b5831f948fa","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.6664102} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"d31a4480-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"25d3de2f-9b32-4259-a2a1-94ca301da442","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"d31a4480-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442 204 45ms","method":"DELETE","requestID":"d31a4480-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":45,"status":204,"url":"/peerconnections/25d3de2f-9b32-4259-a2a1-94ca301da442"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"},"level":"info","message":"Successfully finished experiment","requestID":"a458ca986e60086ce5114a54ae35665e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d3240880-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":29,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fca05fd76-bf94-4ea9-b5e8-850bae98aecb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"872953d3-028a-48b8-89c2-e6d45e9a0084","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.7150128} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":29,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.818233,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d3240880-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"d3240880-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d3240880-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/signaling 200 18ms","method":"POST","requestID":"d3240880-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Faf8b4be3-6bc7-48ee-9a3e-a00015614867': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Faf8b4be3-6bc7-48ee-9a3e-a00015614867","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"f4c9df7d-c9ab-44be-a5cd-3961245f3570","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.7239332} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a5cc4e94-812f-439b-a94e-e9e5741098b6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.724761} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d3273cd0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"a458ca986e60086ce5114a54ae35665e","responseTime":24,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":30,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9e573a67-f902-4088-94ff-5a43509c3f81","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1f6d0f97-f1e7-4511-949b-833001b33ddd","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.7309327} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":30,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.458014,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d3273cd0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9e573a67-f902-4088-94ff-5a43509c3f81","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d3273cd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d3273cd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/9e573a67-f902-4088-94ff-5a43509c3f81/signaling 200 10ms","method":"POST","requestID":"d3273cd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/9e573a67-f902-4088-94ff-5a43509c3f81/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867","requestID":"a458ca986e60086ce5114a54ae35665e"} gateway-1 | {"time_local":"30/Jul/2024:14:05:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867 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":"a458ca986e60086ce5114a54ae35665e"} experiment-1 | {"level":"info","message":"DELETE /experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867 204 183ms","method":"DELETE","requestID":"a458ca986e60086ce5114a54ae35665e","responseTime":183,"status":204,"url":"/experiments/af8b4be3-6bc7-48ee-9a3e-a00015614867"} gateway-1 | {"time_local":"30/Jul/2024:14:05: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.158","http_referrer":"","http_user_agent":"node-fetch","requestID":"13ac269e998672e42a94005e42916950"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 155ms","method":"POST","requestID":"13ac269e998672e42a94005e42916950","responseTime":155,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:05: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.159","http_referrer":"","http_user_agent":"node-fetch","requestID":"355025a900924ba1cbc344128244fae6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OX0.Np6nfVlHm2VQtUEb92nuiCBhI71CW3BxV0UodsSFXeY","level":"info","message":"auth send jwt","requestID":"ad94805d1df218645da3be43a9a3b05d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 154ms","method":"POST","requestID":"355025a900924ba1cbc344128244fae6","responseTime":154,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ad94805d1df218645da3be43a9a3b05d","responseTime":4,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:05:49 +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.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":"311110d37aca5df38640ec3159be8a39"} device-1 | {"level":"info","message":"postDevices called","requestID":"ad94805d1df218645da3be43a9a3b05d"} gateway-1 | {"time_local":"30/Jul/2024:14:05:49 +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.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":"4e5503670be93c35b2adef4df64593bb"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":31,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":31,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.929978,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ad94805d1df218645da3be43a9a3b05d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348349,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OX0.Np6nfVlHm2VQtUEb92nuiCBhI71CW3BxV0UodsSFXeY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ad94805d1df218645da3be43a9a3b05d","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/9e573a67-f902-4088-94ff-5a43509c3f81' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/ca05fd76-bf94-4ea9-b5e8-850bae98aecb' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"6312970d-9820-4894-a6d4-cb10fe744ed9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.8440034} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ad94805d1df218645da3be43a9a3b05d","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5f5ec5ba-6407-4b6a-bccd-bbcfad1c80d3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.850415} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"ad94805d1df218645da3be43a9a3b05d","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"9330233f-6ab6-4fdb-80ea-ebf2f882ee54","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.8619568} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"53b93545-e591-4400-a930-827bf6eefaff","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.8622246} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"ad94805d1df218645da3be43a9a3b05d","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:49.861941393Z"}]},"request_id":"fd252cd3-e6fa-457f-997c-b69db25d8764","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.8661902} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ad94805d1df218645da3be43a9a3b05d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ad94805d1df218645da3be43a9a3b05d"} gateway-1 | {"time_local":"30/Jul/2024:14:05: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.056","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ad94805d1df218645da3be43a9a3b05d"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"ad94805d1df218645da3be43a9a3b05d","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OX0.Np6nfVlHm2VQtUEb92nuiCBhI71CW3BxV0UodsSFXeY","level":"info","message":"auth send jwt","requestID":"d704f0bbbef37550d2e7412fed579c79"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d704f0bbbef37550d2e7412fed579c79","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d704f0bbbef37550d2e7412fed579c79"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":32,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":32,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.643082,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d704f0bbbef37550d2e7412fed579c79","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348349,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM0OX0.Np6nfVlHm2VQtUEb92nuiCBhI71CW3BxV0UodsSFXeY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d704f0bbbef37550d2e7412fed579c79","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"609c6c34-385f-4a00-a6c2-fe825bd190f7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.8926902} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d704f0bbbef37550d2e7412fed579c79","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"80022ad5-4bdd-4f15-a089-e9369762a2fa","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.897171} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d704f0bbbef37550d2e7412fed579c79","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"d54072e4-79ea-4d80-bbc1-4e43b8fb193d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.9084847} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1b1c4d29-ef2d-442e-bab7-ba6b088dd891","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.908695} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"d704f0bbbef37550d2e7412fed579c79","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:49.908474462Z"}]},"request_id":"fd9b5206-18a6-4c19-8437-cfa3af52afb2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348349.9138885} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d704f0bbbef37550d2e7412fed579c79","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d704f0bbbef37550d2e7412fed579c79"} gateway-1 | {"time_local":"30/Jul/2024:14:05: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.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d704f0bbbef37550d2e7412fed579c79"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"d704f0bbbef37550d2e7412fed579c79","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1MH0.E45d54biLnF2pFbNezQqVdAtxfpwV9Vfc-uhzjOtUa0","level":"info","message":"auth send jwt","requestID":"6559d876787e0de0047696f2c79a956d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"6559d876787e0de0047696f2c79a956d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"6559d876787e0de0047696f2c79a956d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":33,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:50Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":33,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.130475,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:50Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6559d876787e0de0047696f2c79a956d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348350,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1MH0.E45d54biLnF2pFbNezQqVdAtxfpwV9Vfc-uhzjOtUa0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6559d876787e0de0047696f2c79a956d","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:49.908474462Z"}]},"request_id":"08ee5421-be1d-4b4a-a3d7-30e9943ff2f0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348350.530936} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6559d876787e0de0047696f2c79a956d","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"083f1327-cd2e-4b79-88b9-010fa9cabb0a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348350.5365243} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"6559d876787e0de0047696f2c79a956d","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:49.908474462Z"}]},"request_id":"628e4d42-3f11-448e-8f74-39fce674c26c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348350.5632796} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6559d876787e0de0047696f2c79a956d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"6559d876787e0de0047696f2c79a956d"} device-1 | {"level":"info","message":"PATCH /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a 200 70ms","method":"PATCH","requestID":"6559d876787e0de0047696f2c79a956d","responseTime":70,"status":200,"url":"/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a"} gateway-1 | {"time_local":"30/Jul/2024:14:05:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.078","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"6559d876787e0de0047696f2c79a956d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1MH0.E45d54biLnF2pFbNezQqVdAtxfpwV9Vfc-uhzjOtUa0","level":"info","message":"auth send jwt","requestID":"011ad508b0d13048097c2ba0096cdf00"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"011ad508b0d13048097c2ba0096cdf00","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"011ad508b0d13048097c2ba0096cdf00"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":34,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:50Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":34,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.126826,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:50Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"011ad508b0d13048097c2ba0096cdf00","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348350,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1MH0.E45d54biLnF2pFbNezQqVdAtxfpwV9Vfc-uhzjOtUa0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"011ad508b0d13048097c2ba0096cdf00","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"011ad508b0d13048097c2ba0096cdf00"} device-1 | {"level":"info","message":"POST /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a/websocket 200 25ms","method":"POST","requestID":"011ad508b0d13048097c2ba0096cdf00","responseTime":25,"status":200,"url":"/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:05:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.031","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"011ad508b0d13048097c2ba0096cdf00"} device-1 | {"level":"info","message":"device 'http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4f282422de2f5ac5ee125c688b6f157d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"4f282422de2f5ac5ee125c688b6f157d","responseTime":3,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:05:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/5b02969b-b884-44b5-8947-d8570b656715/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.007","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4f282422de2f5ac5ee125c688b6f157d"} device-1 | {"level":"info","message":"OPTIONS /devices/5b02969b-b884-44b5-8947-d8570b656715/websocket 200 1ms","method":"OPTIONS","requestID":"4f282422de2f5ac5ee125c688b6f157d","responseTime":1,"status":200,"url":"/devices/5b02969b-b884-44b5-8947-d8570b656715/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1MX0.dpJr4MveMp_ZM6aD1UuxYz3FShJyZWuoFIODNUzIT1Y","level":"info","message":"auth send jwt","requestID":"8914494c8148bb6763f38588e44fbf3f"} authentication-1 | {"level":"info","message":"GET /auth 200 9ms","method":"GET","requestID":"8914494c8148bb6763f38588e44fbf3f","responseTime":9,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"8914494c8148bb6763f38588e44fbf3f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":35,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:51Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":35,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.284893,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:51Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8914494c8148bb6763f38588e44fbf3f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348351,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1MX0.dpJr4MveMp_ZM6aD1UuxYz3FShJyZWuoFIODNUzIT1Y"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"8914494c8148bb6763f38588e44fbf3f","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"8914494c8148bb6763f38588e44fbf3f"} gateway-1 | {"time_local":"30/Jul/2024:14:05:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/5b02969b-b884-44b5-8947-d8570b656715/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":"8914494c8148bb6763f38588e44fbf3f"} device-1 | {"level":"info","message":"POST /devices/5b02969b-b884-44b5-8947-d8570b656715/websocket 200 29ms","method":"POST","requestID":"8914494c8148bb6763f38588e44fbf3f","responseTime":29,"status":200,"url":"/devices/5b02969b-b884-44b5-8947-d8570b656715/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1MX0.dpJr4MveMp_ZM6aD1UuxYz3FShJyZWuoFIODNUzIT1Y","level":"info","message":"auth send jwt","requestID":"e7ac574ed9e9daa3ec86c5141b12260e"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"e7ac574ed9e9daa3ec86c5141b12260e","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e7ac574ed9e9daa3ec86c5141b12260e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":36,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:51Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":36,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.705684,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e7ac574ed9e9daa3ec86c5141b12260e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348351,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1MX0.dpJr4MveMp_ZM6aD1UuxYz3FShJyZWuoFIODNUzIT1Y"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"e7ac574ed9e9daa3ec86c5141b12260e","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:49.861941393Z"}]},"request_id":"cd005cda-1e7a-48f8-a2ca-725132a843df","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348351.9966238} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"e7ac574ed9e9daa3ec86c5141b12260e","responseTime":9,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e7ac574ed9e9daa3ec86c5141b12260e"} gateway-1 | {"time_local":"30/Jul/2024:14:05:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5b02969b-b884-44b5-8947-d8570b656715? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.041","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e7ac574ed9e9daa3ec86c5141b12260e"} device-1 | {"level":"info","message":"GET /devices/5b02969b-b884-44b5-8947-d8570b656715? 200 33ms","method":"GET","requestID":"e7ac574ed9e9daa3ec86c5141b12260e","responseTime":33,"status":200,"url":"/devices/5b02969b-b884-44b5-8947-d8570b656715?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Mn0.5q20xmRp2qaU8FROm2u5hXEVB4gZxKv1THwYFNr-lHw","level":"info","message":"auth send jwt","requestID":"c17ca1449b211554181bf40468717915"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"c17ca1449b211554181bf40468717915","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c17ca1449b211554181bf40468717915"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":37,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":37,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.400456,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"c17ca1449b211554181bf40468717915","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348352,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Mn0.5q20xmRp2qaU8FROm2u5hXEVB4gZxKv1THwYFNr-lHw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c17ca1449b211554181bf40468717915","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:49.908474462Z"}]},"request_id":"0f7e3dfd-2950-455c-a8b2-18a106d33900","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.0314522} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"c17ca1449b211554181bf40468717915","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c17ca1449b211554181bf40468717915"} gateway-1 | {"time_local":"30/Jul/2024:14:05:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a? 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":"c17ca1449b211554181bf40468717915"} device-1 | {"level":"info","message":"GET /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a? 200 21ms","method":"GET","requestID":"c17ca1449b211554181bf40468717915","responseTime":21,"status":200,"url":"/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Mn0.5q20xmRp2qaU8FROm2u5hXEVB4gZxKv1THwYFNr-lHw","level":"info","message":"auth send jwt","requestID":"ad9649016b676466a654f69b5ae8f2f0"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ad9649016b676466a654f69b5ae8f2f0","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"ad9649016b676466a654f69b5ae8f2f0"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":38,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":38,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.286316,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ad9649016b676466a654f69b5ae8f2f0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348352,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Mn0.5q20xmRp2qaU8FROm2u5hXEVB4gZxKv1THwYFNr-lHw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ad9649016b676466a654f69b5ae8f2f0","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Attempting to run experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Attempting to book experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Successfully booked experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d492b3b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d49328e0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":39,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":39,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.271606,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48638","level":"info","msg":"Received request.","req_id":40,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d492b3b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348352,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Mn0.5q20xmRp2qaU8FROm2u5hXEVB4gZxKv1THwYFNr-lHw"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"d492b3b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48638","level":"info","msg":"Sent response.","req_id":40,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.322465,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d49328e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348352,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Mn0.5q20xmRp2qaU8FROm2u5hXEVB4gZxKv1THwYFNr-lHw"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"d49328e0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:49.861941393Z"}]},"request_id":"6d2961c4-5d62-47c8-b6fc-8aa0dfe44648","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.1256819} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"d492b3b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:49.908474462Z"}]},"request_id":"a5454f6c-8e02-49f3-83b9-1a330ee12af6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.1283467} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"d49328e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d492b3b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/5b02969b-b884-44b5-8947-d8570b656715? 200 32ms","method":"GET","requestID":"d492b3b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":32,"status":200,"url":"/devices/5b02969b-b884-44b5-8947-d8570b656715?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d49328e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a? 200 30ms","method":"GET","requestID":"d49328e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":30,"status":200,"url":"/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Setting up experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Successfully locked booking for experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Attempting to update booking for experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Successfully updated booking for experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Successfully set up experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d4a466f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d4a4b510-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d4a52a40-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Successfully running experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":41,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":41,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.308224,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48638","level":"info","msg":"Received request.","req_id":42,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d4a466f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348352,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Mn0.5q20xmRp2qaU8FROm2u5hXEVB4gZxKv1THwYFNr-lHw"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"d4a466f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48638","level":"info","msg":"Sent response.","req_id":42,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":3.00977,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d4a4b510-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348352,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Mn0.5q20xmRp2qaU8FROm2u5hXEVB4gZxKv1THwYFNr-lHw"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"d4a4b510-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:49.861941393Z"}]},"request_id":"cb2f5f35-d7a8-4cbe-9c71-1a7056664fb6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.2487667} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"d4a466f0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:49.908474462Z"}]},"request_id":"fbebafd0-01c0-45f0-9000-c18468ec328f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.2509208} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d4a466f0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"d4a4b510-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/5b02969b-b884-44b5-8947-d8570b656715? 200 35ms","method":"GET","requestID":"d4a466f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":35,"status":200,"url":"/devices/5b02969b-b884-44b5-8947-d8570b656715?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d4a4b510-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a? 200 38ms","method":"GET","requestID":"d4a4b510-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":38,"status":200,"url":"/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a?"} authorization-1 | {"client_addr":"127.0.0.1:44642","level":"info","msg":"Received request.","req_id":43,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"client_addr":"127.0.0.1:44642","level":"info","msg":"Sent response.","req_id":43,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.232496,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dbdda082-6f14-41ec-971d-b0db43272c5a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.2576041} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8f669d03-8348-4bce-8e4d-5a467b53b8a0#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8f669d03-8348-4bce-8e4d-5a467b53b8a0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"f5582da3-80f1-49c5-96ba-f9f5ef7a9474","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.2651656} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"59a271ec-3d68-4730-8247-f108945b25ae","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.2659097} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d4ab6bd0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d4a52a40-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 39ms","method":"POST","requestID":"d4a52a40-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":39,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 34ms","method":"POST","requestID":"ad9649016b676466a654f69b5ae8f2f0","responseTime":34,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d4a52a40-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":44,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} device-1 | {"level":"info","message":"POST /devices/5b02969b-b884-44b5-8947-d8570b656715/signaling 200 51ms","method":"POST","requestID":"d4a52a40-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":51,"status":200,"url":"/devices/5b02969b-b884-44b5-8947-d8570b656715/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"035a3eaa-5f75-4e7a-8fb1-fa8703c9d119","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.2820227} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":44,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.152091,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d4ab6bd0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","object_type":"device","rebac_allow":false,"scope_allow":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":"d4ab6bd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d4ae7910-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d4ab6bd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/5b02969b-b884-44b5-8947-d8570b656715/signaling 200 24ms","method":"POST","requestID":"d4ab6bd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":24,"status":200,"url":"/devices/5b02969b-b884-44b5-8947-d8570b656715/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":45,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cd8dd762-6792-40ef-8ef2-ffd85c3e6597","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.2976937} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":45,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.974837,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d4afd8a0-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"ad9649016b676466a654f69b5ae8f2f0"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d4ae7910-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","object_type":"device","rebac_allow":false,"scope_allow":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":"d4ae7910-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"30/Jul/2024:14:05:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"811","request_time":"0.257","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ad9649016b676466a654f69b5ae8f2f0"} experiment-1 | {"level":"info","message":"POST /experiments? 201 250ms","method":"POST","requestID":"ad9649016b676466a654f69b5ae8f2f0","responseTime":250,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":46,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d4ae7910-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a/signaling 200 14ms","method":"POST","requestID":"d4ae7910-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"75de71c3-824c-4a4e-9a59-4700f92dbade","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.3054585} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":46,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.236055,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d4afd8a0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"d4afd8a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Mn0.5q20xmRp2qaU8FROm2u5hXEVB4gZxKv1THwYFNr-lHw","level":"info","message":"auth send jwt","requestID":"21298f6666bc2244f61086f7e12b045c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"21298f6666bc2244f61086f7e12b045c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"21298f6666bc2244f61086f7e12b045c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d4afd8a0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a/signaling 200 15ms","method":"POST","requestID":"d4afd8a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":47,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":47,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.87171,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Building connection plan","requestID":"ad9649016b676466a654f69b5ae8f2f0"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"b87675b9-0416-46e3-89c9-93ec0a1d2df5"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"b5a0c55f-77e3-47d8-a13c-9ee038a240fb"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"15739c58-5b8f-4058-b09f-fd8788ff8dbd"}]},"level":"info","message":"Built pairwise service configurations","requestID":"ad9649016b676466a654f69b5ae8f2f0"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"21298f6666bc2244f61086f7e12b045c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348352,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Mn0.5q20xmRp2qaU8FROm2u5hXEVB4gZxKv1THwYFNr-lHw"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"ad9649016b676466a654f69b5ae8f2f0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"21298f6666bc2244f61086f7e12b045c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"d4b30cf0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:49.861941393Z"}]},"request_id":"e90a9385-47ae-4bab-95d9-55ee828bd75a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.321159} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"21298f6666bc2244f61086f7e12b045c","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":48,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":48,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.956751,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d4b30cf0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348352,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Mn0.5q20xmRp2qaU8FROm2u5hXEVB4gZxKv1THwYFNr-lHw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d4b30cf0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"21298f6666bc2244f61086f7e12b045c"} gateway-1 | {"time_local":"30/Jul/2024:14:05:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5b02969b-b884-44b5-8947-d8570b656715? 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":"21298f6666bc2244f61086f7e12b045c"} device-1 | {"level":"info","message":"GET /devices/5b02969b-b884-44b5-8947-d8570b656715? 200 18ms","method":"GET","requestID":"21298f6666bc2244f61086f7e12b045c","responseTime":18,"status":200,"url":"/devices/5b02969b-b884-44b5-8947-d8570b656715?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Mn0.5q20xmRp2qaU8FROm2u5hXEVB4gZxKv1THwYFNr-lHw","level":"info","message":"auth send jwt","requestID":"081d92837542dec5f1325712594e8fc8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"081d92837542dec5f1325712594e8fc8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"081d92837542dec5f1325712594e8fc8"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"c3ec9a41-0bec-46e5-a942-85e3515bf51a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.3376307} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dadcd9ab-504c-4f9c-a9b4-fc6adb8e8e24","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.3379588} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"d4b30cf0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":49,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":49,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.883521,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"081d92837542dec5f1325712594e8fc8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348352,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Mn0.5q20xmRp2qaU8FROm2u5hXEVB4gZxKv1THwYFNr-lHw"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"081d92837542dec5f1325712594e8fc8","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:49.908474462Z"}]},"request_id":"f2807f15-e239-47c6-a1ed-204f4768935e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.3515353} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"081d92837542dec5f1325712594e8fc8","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"d4b30cf0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"d4b30cf0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef'","requestID":"d4b30cf0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef'","requestID":"d4b30cf0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"d4b30cf0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 43ms","method":"POST","requestID":"d4b30cf0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":43,"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":"081d92837542dec5f1325712594e8fc8"} gateway-1 | {"time_local":"30/Jul/2024:14:05:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.033","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"081d92837542dec5f1325712594e8fc8"} device-1 | {"level":"info","message":"GET /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a? 200 27ms","method":"GET","requestID":"081d92837542dec5f1325712594e8fc8","responseTime":27,"status":200,"url":"/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"d4b30cf0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef","device":"5b02969b-b884-44b5-8947-d8570b656715","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/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"ad9649016b676466a654f69b5ae8f2f0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d4bef3d0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":50,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ecd4fec3-a35d-4ef7-bd0e-f762dc4e9b57","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.4022045} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":50,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.460433,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d4bef3d0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d4bef3d0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"device":"5b02969b-b884-44b5-8947-d8570b656715","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"5b02969b-b884-44b5-8947-d8570b656715","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d4bef3d0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/5b02969b-b884-44b5-8947-d8570b656715/signaling 200 11ms","method":"POST","requestID":"d4bef3d0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/5b02969b-b884-44b5-8947-d8570b656715/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d4c116b0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":51,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3ef8e5ed-5262-460b-ac2a-b45a9777851f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348352.4157226} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":51,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.668911,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d4c116b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d4c116b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d4c116b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a/signaling 200 11ms","method":"POST","requestID":"d4c116b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a/signaling"} device-1 | {"device":"5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","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":"3375f06c-7ed1-446e-afc0-37ce10432aef","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 7924157243040574514 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:IsYe\r\na=ice-pwd:NMxNt/BfRjd3T5V9bGkTQxrx\r\na=ice-options:trickle\r\na=fingerprint:sha-256 B9:5A:BE:1C:42:FE:02:32:57:E9:FF:3D:D1:5B:EE:EA:29:60:10:B1:C2:38:F4:05:6C:8A:40:1B:77:DE:AF:EC\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"5b02969b-b884-44b5-8947-d8570b656715","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1183021432 1 udp 2113937151 8cf8c697-0db4-4505-9eaa-28b9d2330b67.local 37239 typ host generation 0 ufrag IsYe network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"5b02969b-b884-44b5-8947-d8570b656715","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"5b02969b-b884-44b5-8947-d8570b656715","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:1133213216 1 udp 1677729535 141.24.211.56 37239 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag IsYe network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"5b02969b-b884-44b5-8947-d8570b656715","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/5b02969b-b884-44b5-8947-d8570b656715'"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3375f06c-7ed1-446e-afc0-37ce10432aef","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"5b02969b-b884-44b5-8947-d8570b656715","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715'"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d4684c3e2e32ae939cd320bf4d58823c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"d4684c3e2e32ae939cd320bf4d58823c","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef"}}},"level":"info","message":"received a callback","requestID":"d4684c3e2e32ae939cd320bf4d58823c"} device-1 | {"device":"5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","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":"5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","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":"5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","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 7ms","method":"POST","requestID":"d4684c3e2e32ae939cd320bf4d58823c","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:05:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"d4684c3e2e32ae939cd320bf4d58823c"} device-1 | {"data":{"peerconnection":"3375f06c-7ed1-446e-afc0-37ce10432aef","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","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":"5b02969b-b884-44b5-8947-d8570b656715","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","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":"3375f06c-7ed1-446e-afc0-37ce10432aef","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"5b02969b-b884-44b5-8947-d8570b656715","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3375f06c-7ed1-446e-afc0-37ce10432aef","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"64dcf82f419f81834989cf75ad8c4f93","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"64dcf82f419f81834989cf75ad8c4f93","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/5b02969b-b884-44b5-8947-d8570b656715"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef"}}},"level":"info","message":"received a callback","requestID":"64dcf82f419f81834989cf75ad8c4f93"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"d5ffb130-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":52,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3375f06c-7ed1-446e-afc0-37ce10432aef","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d6e65512-9ac5-4602-a1c2-cfbc8265dc5f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.5058954} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":52,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.177252,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d5ffb130-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef","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":"d5ffb130-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"d5ffb130-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef 200 12ms","method":"GET","requestID":"d5ffb130-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 36ms","method":"POST","requestID":"64dcf82f419f81834989cf75ad8c4f93","responseTime":36,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:05: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.041","http_referrer":"","http_user_agent":"node-fetch","requestID":"64dcf82f419f81834989cf75ad8c4f93"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d6049330-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":53,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cad54919-5ae5-42b8-9f25-6f264b52c110","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.5375268} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":53,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.474154,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d6049330-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","object_type":"device","rebac_allow":false,"scope_allow":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":"d6049330-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d6049330-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/5b02969b-b884-44b5-8947-d8570b656715/signaling 200 12ms","method":"POST","requestID":"d6049330-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/5b02969b-b884-44b5-8947-d8570b656715/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d606dd20-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":54,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"83ffee5f-a27f-4c9c-b785-6c145d8f901f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.551091} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":54,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.794136,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d606dd20-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d606dd20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d606dd20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a/signaling 200 12ms","method":"POST","requestID":"d606dd20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1NH0.2VTKV9Gv7fQlkpHsanx8TpTU4rzawvDYGeOiti_SvGY","level":"info","message":"auth send jwt","requestID":"dd99bcbd820cc22decdf19a21b4832ee"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"dd99bcbd820cc22decdf19a21b4832ee","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0","requestID":"dd99bcbd820cc22decdf19a21b4832ee"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":55,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":55,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.291464,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dd99bcbd820cc22decdf19a21b4832ee","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348354,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1NH0.2VTKV9Gv7fQlkpHsanx8TpTU4rzawvDYGeOiti_SvGY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dd99bcbd820cc22decdf19a21b4832ee","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0","requestID":"dd99bcbd820cc22decdf19a21b4832ee"} gateway-1 | {"time_local":"30/Jul/2024:14:05:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0 HTTP/1.1","status": "200","body_bytes_sent":"884","request_time":"0.027","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dd99bcbd820cc22decdf19a21b4832ee"} experiment-1 | {"level":"info","message":"GET /experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0 200 21ms","method":"GET","requestID":"dd99bcbd820cc22decdf19a21b4832ee","responseTime":21,"status":200,"url":"/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1NH0.2VTKV9Gv7fQlkpHsanx8TpTU4rzawvDYGeOiti_SvGY","level":"info","message":"auth send jwt","requestID":"836c50609977be5fddd10fbc18bd8540"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"836c50609977be5fddd10fbc18bd8540","responseTime":7,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0","requestID":"836c50609977be5fddd10fbc18bd8540"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":56,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":56,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.141557,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"836c50609977be5fddd10fbc18bd8540","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348354,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1NH0.2VTKV9Gv7fQlkpHsanx8TpTU4rzawvDYGeOiti_SvGY"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"836c50609977be5fddd10fbc18bd8540","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Attempting to finish experiment","requestID":"836c50609977be5fddd10fbc18bd8540"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"d6155c10-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":57,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":57,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.241002,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d6155c10-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348354,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1NH0.2VTKV9Gv7fQlkpHsanx8TpTU4rzawvDYGeOiti_SvGY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d6155c10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef","device":"5b02969b-b884-44b5-8947-d8570b656715","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","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":"5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","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":"5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","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/3375f06c-7ed1-446e-afc0-37ce10432aef' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3375f06c-7ed1-446e-afc0-37ce10432aef","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"48c9f1a1e2a51f7401168ff03a25cbbb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"48c9f1a1e2a51f7401168ff03a25cbbb","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3375f06c-7ed1-446e-afc0-37ce10432aef': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3375f06c-7ed1-446e-afc0-37ce10432aef","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"0a5139bf-ca76-4d99-b5a4-9068cd0f3f84","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.67587} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"91e001e258305db591babcebb884a68f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/5b02969b-b884-44b5-8947-d8570b656715"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef"}}},"level":"info","message":"received a callback","requestID":"48c9f1a1e2a51f7401168ff03a25cbbb"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"955e5a69-dd5d-43d6-9f83-5e1cb1b49c0c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.676509} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"91e001e258305db591babcebb884a68f","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"d6155c10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef"}}},"level":"info","message":"received a callback","requestID":"91e001e258305db591babcebb884a68f"} device-1 | {"data":{"peerconnection":"3375f06c-7ed1-446e-afc0-37ce10432aef","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"d6155c10-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef 204 57ms","method":"DELETE","requestID":"d6155c10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":57,"status":204,"url":"/peerconnections/3375f06c-7ed1-446e-afc0-37ce10432aef"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"},"level":"info","message":"Successfully finished experiment","requestID":"836c50609977be5fddd10fbc18bd8540"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d6225460-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":58,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5b02969b-b884-44b5-8947-d8570b656715","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"762beacd-acbc-4c85-adb2-ffd8265e3e11","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.7323718} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":58,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.92384,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d6225460-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"d6225460-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d6225460-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/5b02969b-b884-44b5-8947-d8570b656715/signaling 200 13ms","method":"POST","requestID":"d6225460-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/5b02969b-b884-44b5-8947-d8570b656715/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8f669d03-8348-4bce-8e4d-5a467b53b8a0': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8f669d03-8348-4bce-8e4d-5a467b53b8a0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"c6e11984-4c93-467c-9f17-35c3007d23a0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.7405534} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3ef4695c-bfdf-4924-8388-47ad3df447ff","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.7410765} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d624ec70-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"836c50609977be5fddd10fbc18bd8540","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":59,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"841ac399-9ab3-4214-b9e8-f1c35d227b6f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.74863} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":59,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.75592,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d624ec70-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"d624ec70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d624ec70-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a/signaling 200 13ms","method":"POST","requestID":"d624ec70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0","requestID":"836c50609977be5fddd10fbc18bd8540"} gateway-1 | {"time_local":"30/Jul/2024:14:05:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.213","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"836c50609977be5fddd10fbc18bd8540"} gateway-1 | {"time_local":"30/Jul/2024:14:05:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2598","request_time":"4.211","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"616fd61d008bf49b0c80c390fd37977d"} experiment-1 | {"level":"info","message":"DELETE /experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0 204 206ms","method":"DELETE","requestID":"836c50609977be5fddd10fbc18bd8540","responseTime":206,"status":204,"url":"/experiments/8f669d03-8348-4bce-8e4d-5a467b53b8a0"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 151ms","method":"POST","requestID":"48c9f1a1e2a51f7401168ff03a25cbbb","responseTime":151,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:05: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.156","http_referrer":"","http_user_agent":"node-fetch","requestID":"48c9f1a1e2a51f7401168ff03a25cbbb"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 149ms","method":"POST","requestID":"91e001e258305db591babcebb884a68f","responseTime":149,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:05: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.156","http_referrer":"","http_user_agent":"node-fetch","requestID":"91e001e258305db591babcebb884a68f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1NH0.2VTKV9Gv7fQlkpHsanx8TpTU4rzawvDYGeOiti_SvGY","level":"info","message":"auth send jwt","requestID":"ce0c0f3e8432ac526e539859b7a5d374"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ce0c0f3e8432ac526e539859b7a5d374","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ce0c0f3e8432ac526e539859b7a5d374"} gateway-1 | {"time_local":"30/Jul/2024:14:05:54 +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.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":"c0ffa839be5485993c320d22e1feff94"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":60,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:54Z"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/5c3bc3e2-d3ab-4d97-b299-d6db67ae677a' closed"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":60,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.084213,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ce0c0f3e8432ac526e539859b7a5d374","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348354,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1NH0.2VTKV9Gv7fQlkpHsanx8TpTU4rzawvDYGeOiti_SvGY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ce0c0f3e8432ac526e539859b7a5d374","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/5b02969b-b884-44b5-8947-d8570b656715' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"6815fdbe-8b47-4d67-9cd6-7a52a7cd1dc5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.861295} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ce0c0f3e8432ac526e539859b7a5d374","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a06153a8-8ed2-469d-9485-ff6dfff89020","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.868528} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"ce0c0f3e8432ac526e539859b7a5d374","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"bbc88e7e-4f5b-4dc6-ac86-cd68baf18ad1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.8858523} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4a744091-276b-4474-94a1-77fe104e7f2d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.8859737} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"ce0c0f3e8432ac526e539859b7a5d374","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:54.885835638Z"}]},"request_id":"f2064764-70f8-4c04-bdf1-690a82b15d4a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.8922064} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ce0c0f3e8432ac526e539859b7a5d374","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ce0c0f3e8432ac526e539859b7a5d374"} gateway-1 | {"time_local":"30/Jul/2024:14:05: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.070","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ce0c0f3e8432ac526e539859b7a5d374"} device-1 | {"level":"info","message":"POST /devices? 201 62ms","method":"POST","requestID":"ce0c0f3e8432ac526e539859b7a5d374","responseTime":62,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1NH0.2VTKV9Gv7fQlkpHsanx8TpTU4rzawvDYGeOiti_SvGY","level":"info","message":"auth send jwt","requestID":"df800e97a7dcb71f8b3372696710e971"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"df800e97a7dcb71f8b3372696710e971","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"df800e97a7dcb71f8b3372696710e971"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":61,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":61,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.782736,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:54Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"df800e97a7dcb71f8b3372696710e971","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348354,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1NH0.2VTKV9Gv7fQlkpHsanx8TpTU4rzawvDYGeOiti_SvGY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"df800e97a7dcb71f8b3372696710e971","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"d8bf0050-f7da-4950-8a79-888b8e39914f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.9195118} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"df800e97a7dcb71f8b3372696710e971","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cafc751c-1bc4-48e7-8e50-53e726f8be4e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.9246302} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"df800e97a7dcb71f8b3372696710e971","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"e74a3eb8-52e3-48d9-8e53-79273fa3188a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.9382198} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3daa3c6e-2ecf-4a85-b5a7-bd25eb55345a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.9386368} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"df800e97a7dcb71f8b3372696710e971","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:54.938205609Z"}]},"request_id":"55b07ec8-b6bb-4933-bf5b-172502554c25","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348354.9467967} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"df800e97a7dcb71f8b3372696710e971","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"df800e97a7dcb71f8b3372696710e971"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"df800e97a7dcb71f8b3372696710e971","responseTime":49,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:05:54 +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":"df800e97a7dcb71f8b3372696710e971"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1NX0.7jYtL7W-1SFokAXQvYkiR0ypcoITXbJXfTeMobV0grE","level":"info","message":"auth send jwt","requestID":"6ff930c1d4c2a8dd951e1cc3bf6e88da"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"6ff930c1d4c2a8dd951e1cc3bf6e88da","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"6ff930c1d4c2a8dd951e1cc3bf6e88da"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":62,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:55Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":62,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.647196,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:55Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6ff930c1d4c2a8dd951e1cc3bf6e88da","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348355,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1NX0.7jYtL7W-1SFokAXQvYkiR0ypcoITXbJXfTeMobV0grE"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6ff930c1d4c2a8dd951e1cc3bf6e88da","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:54.885835638Z"}]},"request_id":"9c0e7529-9fd3-4a07-97ae-d524c7e41f2f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348355.4572775} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6ff930c1d4c2a8dd951e1cc3bf6e88da","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8fd10681-77ab-4cd8-b754-822843c3d41d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348355.4666526} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"6ff930c1d4c2a8dd951e1cc3bf6e88da","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:54.885835638Z"}]},"request_id":"7a8c0f79-52ea-43fe-83cd-2d3ef87be324","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348355.4815025} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6ff930c1d4c2a8dd951e1cc3bf6e88da","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"6ff930c1d4c2a8dd951e1cc3bf6e88da"} gateway-1 | {"time_local":"30/Jul/2024:14:05:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.053","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"6ff930c1d4c2a8dd951e1cc3bf6e88da"} device-1 | {"level":"info","message":"PATCH /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2 200 45ms","method":"PATCH","requestID":"6ff930c1d4c2a8dd951e1cc3bf6e88da","responseTime":45,"status":200,"url":"/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1NX0.7jYtL7W-1SFokAXQvYkiR0ypcoITXbJXfTeMobV0grE","level":"info","message":"auth send jwt","requestID":"1b99b82edc7b2af78f732b5d660cec31"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"1b99b82edc7b2af78f732b5d660cec31","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"1b99b82edc7b2af78f732b5d660cec31"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":63,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:55Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":63,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.219308,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:55Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"1b99b82edc7b2af78f732b5d660cec31","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348355,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1NX0.7jYtL7W-1SFokAXQvYkiR0ypcoITXbJXfTeMobV0grE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1b99b82edc7b2af78f732b5d660cec31","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"1b99b82edc7b2af78f732b5d660cec31"} gateway-1 | {"time_local":"30/Jul/2024:14:05:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.032","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"1b99b82edc7b2af78f732b5d660cec31"} device-1 | {"level":"info","message":"POST /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2/websocket 200 24ms","method":"POST","requestID":"1b99b82edc7b2af78f732b5d660cec31","responseTime":24,"status":200,"url":"/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cf74f1b7c407f0130f209ef537536f80","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"cf74f1b7c407f0130f209ef537536f80","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:05:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/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":"cf74f1b7c407f0130f209ef537536f80"} device-1 | {"level":"info","message":"OPTIONS /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/websocket 200 2ms","method":"OPTIONS","requestID":"cf74f1b7c407f0130f209ef537536f80","responseTime":2,"status":200,"url":"/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Nn0.tpTAxYtB9W9SHwHlFh_sXL4GXKucauGf3j865gNnsHI","level":"info","message":"auth send jwt","requestID":"a563d0aa35d581fa5fb7ff313278e90c"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"a563d0aa35d581fa5fb7ff313278e90c","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"a563d0aa35d581fa5fb7ff313278e90c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":64,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":64,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.150142,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:56Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"a563d0aa35d581fa5fb7ff313278e90c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348356,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1Nn0.tpTAxYtB9W9SHwHlFh_sXL4GXKucauGf3j865gNnsHI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a563d0aa35d581fa5fb7ff313278e90c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"a563d0aa35d581fa5fb7ff313278e90c"} device-1 | {"level":"info","message":"POST /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/websocket 200 24ms","method":"POST","requestID":"a563d0aa35d581fa5fb7ff313278e90c","responseTime":24,"status":200,"url":"/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:05:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/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":"a563d0aa35d581fa5fb7ff313278e90c"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o","level":"info","message":"auth send jwt","requestID":"3a2254bc74e7d95228fbaeb1568f9e60"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"3a2254bc74e7d95228fbaeb1568f9e60","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3a2254bc74e7d95228fbaeb1568f9e60"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":65,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":65,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.350054,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"3a2254bc74e7d95228fbaeb1568f9e60","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348357,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3a2254bc74e7d95228fbaeb1568f9e60","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:54.885835638Z"}]},"request_id":"e8482aa3-56f0-4d6c-8408-90b9efd5930c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.0208206} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3a2254bc74e7d95228fbaeb1568f9e60","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3a2254bc74e7d95228fbaeb1568f9e60"} gateway-1 | {"time_local":"30/Jul/2024:14:05:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2? 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":"3a2254bc74e7d95228fbaeb1568f9e60"} device-1 | {"level":"info","message":"GET /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2? 200 21ms","method":"GET","requestID":"3a2254bc74e7d95228fbaeb1568f9e60","responseTime":21,"status":200,"url":"/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o","level":"info","message":"auth send jwt","requestID":"35155eb3c619152dcff12196ff59fffc"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"35155eb3c619152dcff12196ff59fffc","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"35155eb3c619152dcff12196ff59fffc"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":66,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":66,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.269641,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"35155eb3c619152dcff12196ff59fffc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348357,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"35155eb3c619152dcff12196ff59fffc","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:54.938205609Z"}]},"request_id":"99075921-6494-475f-a375-0c875681fbf8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.0528226} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"35155eb3c619152dcff12196ff59fffc","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"35155eb3c619152dcff12196ff59fffc"} gateway-1 | {"time_local":"30/Jul/2024:14:05:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a? 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":"35155eb3c619152dcff12196ff59fffc"} device-1 | {"level":"info","message":"GET /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a? 200 22ms","method":"GET","requestID":"35155eb3c619152dcff12196ff59fffc","responseTime":22,"status":200,"url":"/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o","level":"info","message":"auth send jwt","requestID":"6152932de470843b09b14d4ad45d1eaf"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6152932de470843b09b14d4ad45d1eaf","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"6152932de470843b09b14d4ad45d1eaf"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":67,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":67,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.191403,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6152932de470843b09b14d4ad45d1eaf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348357,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6152932de470843b09b14d4ad45d1eaf","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Attempting to run experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Attempting to book experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Successfully booked experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d7906350-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d790b170-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":68,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":68,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.77709,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d7906350-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348357,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d7906350-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44652","level":"info","msg":"Received request.","req_id":69,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"client_addr":"127.0.0.1:44652","level":"info","msg":"Sent response.","req_id":69,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.928069,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d790b170-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348357,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d790b170-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:54.885835638Z"}]},"request_id":"ee544588-fa10-48df-89da-6fb206a7e17c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.1372983} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d7906350-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:54.938205609Z"}]},"request_id":"c364d73c-bf53-4199-b9a1-dcce5a005fb7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.1384091} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d790b170-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d7906350-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2? 200 21ms","method":"GET","requestID":"d7906350-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":21,"status":200,"url":"/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d790b170-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a? 200 20ms","method":"GET","requestID":"d790b170-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":20,"status":200,"url":"/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Setting up experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Successfully locked booking for experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Attempting to update booking for experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Successfully updated booking for experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Successfully set up experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d79e6d10-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d79ebb30-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Successfully running experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d79f3060-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":70,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":70,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.706614,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"client_addr":"127.0.0.1:44652","level":"info","msg":"Received request.","req_id":71,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d79e6d10-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348357,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d79e6d10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44652","level":"info","msg":"Sent response.","req_id":71,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.691961,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d79ebb30-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348357,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"d79ebb30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":72,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":72,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.189573,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7e8414b2-b946-4906-b7f9-2485f261369c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.2289662} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d79f3060-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"d79f3060-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d79f3060-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2/signaling 200 14ms","method":"POST","requestID":"d79f3060-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2/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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:54.938205609Z"}]},"request_id":"915bba43-2922-4d01-8f66-349387d42a90","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.2349193} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d79ebb30-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:54.885835638Z"}]},"request_id":"4ff4bf88-05c2-4cdc-bf97-5fd96aac8066","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.2369246} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"d79e6d10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d7a1ef80-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":73,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d79ebb30-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a? 200 27ms","method":"GET","requestID":"d79ebb30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":27,"status":200,"url":"/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"88469602-4be5-46ae-a89d-46143a0f7405","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.246554} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d79e6d10-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":73,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.250822,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} device-1 | {"level":"info","message":"GET /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2? 200 32ms","method":"GET","requestID":"d79e6d10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":32,"status":200,"url":"/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d7a1ef80-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","object_type":"device","rebac_allow":false,"scope_allow":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":"d7a1ef80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F143cfb7c-b60d-44aa-bd0a-7af0b119fdbe#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F143cfb7c-b60d-44aa-bd0a-7af0b119fdbe","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"085b6be4-4697-42f0-a40c-55e5cfc366c6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.248154} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1d553cd1-f5db-4454-86eb-3d1ebcd73c11","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.2487636} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"6152932de470843b09b14d4ad45d1eaf","responseTime":27,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d7a43970-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d7a1ef80-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/signaling 200 18ms","method":"POST","requestID":"d7a1ef80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":74,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"01794e35-a01f-4a75-9727-f73a01cf27b7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.2615592} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":74,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.891934,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d7a43970-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","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/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"6152932de470843b09b14d4ad45d1eaf"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"d7a43970-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"30/Jul/2024:14:05:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"811","request_time":"0.201","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6152932de470843b09b14d4ad45d1eaf"} experiment-1 | {"level":"info","message":"POST /experiments? 201 194ms","method":"POST","requestID":"6152932de470843b09b14d4ad45d1eaf","responseTime":194,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d7a43970-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2/signaling 200 12ms","method":"POST","requestID":"d7a43970-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o","level":"info","message":"auth send jwt","requestID":"410f5d5d97a1470d68affa5ae9051a2c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d7a6aa70-4e7c-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"410f5d5d97a1470d68affa5ae9051a2c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"410f5d5d97a1470d68affa5ae9051a2c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":75,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"client_addr":"127.0.0.1:44652","level":"info","msg":"Received request.","req_id":76,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9196eba6-9b1d-4ae1-b93a-3faf9d3c3930","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.2772892} authorization-1 | {"client_addr":"127.0.0.1:44652","level":"info","msg":"Sent response.","req_id":76,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.496187,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"410f5d5d97a1470d68affa5ae9051a2c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348357,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"410f5d5d97a1470d68affa5ae9051a2c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":75,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.912843,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d7a6aa70-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","object_type":"device","rebac_allow":false,"scope_allow":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":"d7a6aa70-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:54.885835638Z"}]},"request_id":"ce75e355-8950-4ad6-ad7e-38f7160f337e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.2835138} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"410f5d5d97a1470d68affa5ae9051a2c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d7a6aa70-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/signaling 200 14ms","method":"POST","requestID":"d7a6aa70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Building connection plan","requestID":"6152932de470843b09b14d4ad45d1eaf"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"eb42983d-7b6b-4420-81cf-091d48beadb2"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"cb0ea36a-4b13-4d4f-a7f4-cfb30644c6fc"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"eaa8e274-cae5-44f2-9daf-3c952d955e62"}]},"level":"info","message":"Built pairwise service configurations","requestID":"6152932de470843b09b14d4ad45d1eaf"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"6152932de470843b09b14d4ad45d1eaf"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"d7a96990-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"410f5d5d97a1470d68affa5ae9051a2c"} gateway-1 | {"time_local":"30/Jul/2024:14:05:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2? 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":"410f5d5d97a1470d68affa5ae9051a2c"} device-1 | {"level":"info","message":"GET /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2? 200 18ms","method":"GET","requestID":"410f5d5d97a1470d68affa5ae9051a2c","responseTime":18,"status":200,"url":"/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":77,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":77,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.698334,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d7a96990-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348357,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d7a96990-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o","level":"info","message":"auth send jwt","requestID":"69e9890ed41096118932571cb5c154ca"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"69e9890ed41096118932571cb5c154ca","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"69e9890ed41096118932571cb5c154ca"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":78,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":78,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.942141,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"69e9890ed41096118932571cb5c154ca","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348357,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1N30.-Xo11B_Ch4_0rLEiiDv3RdK228de_W5pYYlBDPesB9o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"69e9890ed41096118932571cb5c154ca","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"4fd02c6c-5c58-484c-bf62-aceaccd2e9bc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.3065295} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7971b1e1-04fa-433e-9c1a-dcfa8eebff14","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.3069239} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"d7a96990-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:05:54.938205609Z"}]},"request_id":"0db2de44-29d6-43b4-90e5-ef1b01c337bf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.3078592} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"69e9890ed41096118932571cb5c154ca","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"69e9890ed41096118932571cb5c154ca"} gateway-1 | {"time_local":"30/Jul/2024:14:05:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a? 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":"69e9890ed41096118932571cb5c154ca"} device-1 | {"level":"info","message":"GET /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a? 200 23ms","method":"GET","requestID":"69e9890ed41096118932571cb5c154ca","responseTime":23,"status":200,"url":"/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"d7a96990-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"d7a96990-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638'","requestID":"d7a96990-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638'","requestID":"d7a96990-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"d7a96990-4e7c-11ef-b6a3-8dff1d026ae9"} 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":"d7a96990-4e7c-11ef-b6a3-8dff1d026ae9","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":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"d7a96990-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638","device":"d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","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/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"6152932de470843b09b14d4ad45d1eaf"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d7b43f00-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":79,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b9c821f2-2214-4522-9f97-5e2dd1cc7b57","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.3651526} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":79,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.255009,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d7b43f00-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d7b43f00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d7b43f00-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2/signaling 200 9ms","method":"POST","requestID":"d7b43f00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d7b613c0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":80,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:57Z"} device-1 | {"device":"d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"619f474f-17cd-422b-ac50-03e152d76797","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348357.3782167} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":80,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.687524,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d7b613c0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d7b613c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"content":{"sdp":"v=0\r\no=- 3022344546741540089 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:lRBe\r\na=ice-pwd:mRXJl+ANELNCz+R0QU5PeTQB\r\na=ice-options:trickle\r\na=fingerprint:sha-256 09:5D:F9:4D:FE:BD:37:C8:AA:4C:1B:6B:35:19:02:CD:3E:5E:25:76:D7:90:2F:87:9B:34:EA:0F:DE:94:3A:2C\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","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/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a'"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d7b613c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/signaling 200 13ms","method":"POST","requestID":"d7b613c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/signaling"} device-1 | {"device":"d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"99b0448d-cbf2-49be-8e2a-f096751be9c2","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":"a7f97863-f8e1-46fe-baf5-1c0b3aee2638","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"99b0448d-cbf2-49be-8e2a-f096751be9c2","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":"99b0448d-cbf2-49be-8e2a-f096751be9c2","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":"99b0448d-cbf2-49be-8e2a-f096751be9c2","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":"99b0448d-cbf2-49be-8e2a-f096751be9c2","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/a7f97863-f8e1-46fe-baf5-1c0b3aee2638' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a7f97863-f8e1-46fe-baf5-1c0b3aee2638","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f8ee60a5a8313a2a3c8ee450a7a1df22","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f8ee60a5a8313a2a3c8ee450a7a1df22","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/99b0448d-cbf2-49be-8e2a-f096751be9c2"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638"}}},"level":"info","message":"received a callback","requestID":"f8ee60a5a8313a2a3c8ee450a7a1df22"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"f8ee60a5a8313a2a3c8ee450a7a1df22","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:05:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"f8ee60a5a8313a2a3c8ee450a7a1df22"} device-1 | {"content":{"candidate":"candidate:2986367117 1 udp 2113937151 c1b1495d-fbf1-4333-9178-5ca1f262478d.local 43612 typ host generation 0 ufrag lRBe network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3126334282 1 udp 1677729535 141.24.211.56 43612 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag lRBe network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:74754232 1 udp 33562623 141.24.210.113 53499 typ relay raddr 141.24.211.56 rport 43612 generation 0 ufrag lRBe network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","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/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a'"} device-1 | {"device":"d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"data":{"peerconnection":"a7f97863-f8e1-46fe-baf5-1c0b3aee2638","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"99b0448d-cbf2-49be-8e2a-f096751be9c2","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":"d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"99b0448d-cbf2-49be-8e2a-f096751be9c2","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":"a7f97863-f8e1-46fe-baf5-1c0b3aee2638","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/a7f97863-f8e1-46fe-baf5-1c0b3aee2638' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a7f97863-f8e1-46fe-baf5-1c0b3aee2638","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"35cc95d45fe4e3d92994295ba66a2c04","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"35cc95d45fe4e3d92994295ba66a2c04","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/99b0448d-cbf2-49be-8e2a-f096751be9c2"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638"}}},"level":"info","message":"received a callback","requestID":"35cc95d45fe4e3d92994295ba66a2c04"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"d8f6d120-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":81,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:59Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa7f97863-f8e1-46fe-baf5-1c0b3aee2638","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"31818493-9093-4f03-8c16-47c4f570aa42","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348359.48168} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":81,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.726488,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d8f6d120-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638","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":"d8f6d120-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"d8f6d120-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638 200 14ms","method":"GET","requestID":"d8f6d120-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 56ms","method":"POST","requestID":"35cc95d45fe4e3d92994295ba66a2c04","responseTime":56,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:05:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.061","http_referrer":"","http_user_agent":"node-fetch","requestID":"35cc95d45fe4e3d92994295ba66a2c04"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d8fe7240-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":82,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:59Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5fd5e990-a743-4363-b21d-1c7a9ac3fb9b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348359.5319417} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":82,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.802383,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d8fe7240-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","object_type":"device","rebac_allow":false,"scope_allow":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":"d8fe7240-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d8fe7240-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2/signaling 200 17ms","method":"POST","requestID":"d8fe7240-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d9017f80-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":83,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:59Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"29677a6c-51d1-4a06-83aa-1c764050ab79","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348359.5527527} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":83,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.012909,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:59Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1OX0.R8NJaxztLY0vXIrjt8JUFoRRLt3Go4vWoxiiAkQBrzg","level":"info","message":"auth send jwt","requestID":"87bfbab63a16c2cd6fe0578f368276a3"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"87bfbab63a16c2cd6fe0578f368276a3","responseTime":6,"status":200,"url":"/auth"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d9017f80-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","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/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe","requestID":"87bfbab63a16c2cd6fe0578f368276a3"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"d9017f80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d9017f80-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/signaling 200 18ms","method":"POST","requestID":"d9017f80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":84,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":84,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.978967,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"87bfbab63a16c2cd6fe0578f368276a3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348359,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1OX0.R8NJaxztLY0vXIrjt8JUFoRRLt3Go4vWoxiiAkQBrzg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"87bfbab63a16c2cd6fe0578f368276a3","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe","requestID":"87bfbab63a16c2cd6fe0578f368276a3"} gateway-1 | {"time_local":"30/Jul/2024:14:05:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe HTTP/1.1","status": "200","body_bytes_sent":"884","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"87bfbab63a16c2cd6fe0578f368276a3"} experiment-1 | {"level":"info","message":"GET /experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe 200 20ms","method":"GET","requestID":"87bfbab63a16c2cd6fe0578f368276a3","responseTime":20,"status":200,"url":"/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1OX0.R8NJaxztLY0vXIrjt8JUFoRRLt3Go4vWoxiiAkQBrzg","level":"info","message":"auth send jwt","requestID":"c8398499ca376e0d3009ce5c31287f6f"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c8398499ca376e0d3009ce5c31287f6f","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe","requestID":"c8398499ca376e0d3009ce5c31287f6f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":85,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":85,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.678253,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:59Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"c8398499ca376e0d3009ce5c31287f6f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348359,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1OX0.R8NJaxztLY0vXIrjt8JUFoRRLt3Go4vWoxiiAkQBrzg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c8398499ca376e0d3009ce5c31287f6f","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Attempting to finish experiment","requestID":"c8398499ca376e0d3009ce5c31287f6f"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"d90af560-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":86,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":86,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":3.379363,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:59Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d90af560-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348359,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM1OX0.R8NJaxztLY0vXIrjt8JUFoRRLt3Go4vWoxiiAkQBrzg"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"d90af560-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638","device":"d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"99b0448d-cbf2-49be-8e2a-f096751be9c2","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":"99b0448d-cbf2-49be-8e2a-f096751be9c2","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":"99b0448d-cbf2-49be-8e2a-f096751be9c2","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/a7f97863-f8e1-46fe-baf5-1c0b3aee2638' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a7f97863-f8e1-46fe-baf5-1c0b3aee2638","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f373f9c26c57e72a703fdadec5e0d51b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"f373f9c26c57e72a703fdadec5e0d51b","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa7f97863-f8e1-46fe-baf5-1c0b3aee2638': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa7f97863-f8e1-46fe-baf5-1c0b3aee2638","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"34293efe-2262-45f4-be97-63e1ad19d67a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348359.633839} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1ae951d7-000c-4a65-8c07-560a9ed1c01d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348359.6344516} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b4359aa9241fea0fb9dbb466ac21561c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b4359aa9241fea0fb9dbb466ac21561c","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638"}}},"level":"info","message":"received a callback","requestID":"f373f9c26c57e72a703fdadec5e0d51b"} 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/99b0448d-cbf2-49be-8e2a-f096751be9c2"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638"}}},"level":"info","message":"received a callback","requestID":"b4359aa9241fea0fb9dbb466ac21561c"} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"d90af560-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"a7f97863-f8e1-46fe-baf5-1c0b3aee2638","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"d90af560-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638 204 199ms","method":"DELETE","requestID":"d90af560-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":199,"status":204,"url":"/peerconnections/a7f97863-f8e1-46fe-baf5-1c0b3aee2638"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"},"level":"info","message":"Successfully finished experiment","requestID":"c8398499ca376e0d3009ce5c31287f6f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d943b8a0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":87,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:05:59Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F99b0448d-cbf2-49be-8e2a-f096751be9c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9f42b06e-46ac-49f0-8c41-9eab10e22d40","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348359.9877915} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":87,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.815441,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:05:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d943b8a0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2","object_type":"device","rebac_allow":false,"scope_allow":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":"d943b8a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d943b8a0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/99b0448d-cbf2-49be-8e2a-f096751be9c2/signaling 200 19ms","method":"POST","requestID":"d943b8a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/devices/99b0448d-cbf2-49be-8e2a-f096751be9c2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"d9471400-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":88,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:00Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e2921ce9-9a52-41cb-aaf0-c28f7a098d84","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348360.0073817} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":88,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.697193,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d9471400-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a","object_type":"device","rebac_allow":false,"scope_allow":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":"d9471400-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"d9471400-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/signaling 200 15ms","method":"POST","requestID":"d9471400-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F143cfb7c-b60d-44aa-bd0a-7af0b119fdbe': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F143cfb7c-b60d-44aa-bd0a-7af0b119fdbe","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"8c9c7225-382f-4999-9b09-61ea43d8d0ae","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348360.117748} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aedd31b9-3874-4e5c-b1a4-a5b323383cb6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348360.1182034} authorization-1 | {"level":"info","message":"POST /relations/update 200 145ms","method":"POST","requestID":"c8398499ca376e0d3009ce5c31287f6f","responseTime":145,"status":200,"url":"/relations/update"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe","requestID":"c8398499ca376e0d3009ce5c31287f6f"} gateway-1 | {"time_local":"30/Jul/2024:14:06:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"1.265","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c8398499ca376e0d3009ce5c31287f6f"} experiment-1 | {"level":"info","message":"DELETE /experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe 204 1260ms","method":"DELETE","requestID":"c8398499ca376e0d3009ce5c31287f6f","responseTime":1260,"status":204,"url":"/experiments/143cfb7c-b60d-44aa-bd0a-7af0b119fdbe"} gateway-1 | {"time_local":"30/Jul/2024:14:06:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2989","request_time":"5.326","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"bb08e5ff9ae160829ebb99f8260d3067"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 1213ms","method":"POST","requestID":"f373f9c26c57e72a703fdadec5e0d51b","responseTime":1213,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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":"1.217","http_referrer":"","http_user_agent":"node-fetch","requestID":"f373f9c26c57e72a703fdadec5e0d51b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 1212ms","method":"POST","requestID":"b4359aa9241fea0fb9dbb466ac21561c","responseTime":1212,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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":"1.217","http_referrer":"","http_user_agent":"node-fetch","requestID":"b4359aa9241fea0fb9dbb466ac21561c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2MH0.QjaW_gUx3zr89DNnXi1FWKTfU_wKtN3EnUrpRZk2fdE","level":"info","message":"auth send jwt","requestID":"bf89eed7a52c5f22113137b310bb3449"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"bf89eed7a52c5f22113137b310bb3449","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"bf89eed7a52c5f22113137b310bb3449"} gateway-1 | {"time_local":"30/Jul/2024:14:06:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2501","request_time":"3.876","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"98d55c2c4b6858ae9b2980d5218c7704"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":89,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:00Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":89,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.946264,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bf89eed7a52c5f22113137b310bb3449","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348360,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2MH0.QjaW_gUx3zr89DNnXi1FWKTfU_wKtN3EnUrpRZk2fdE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bf89eed7a52c5f22113137b310bb3449","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/99b0448d-cbf2-49be-8e2a-f096751be9c2' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"19c6b9bd-a55b-494a-b027-50297e8fbc60","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348361.2439234} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"bf89eed7a52c5f22113137b310bb3449","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8ca0be83-40ee-4ab4-9a2f-e2cadf856bf6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348361.2537742} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"bf89eed7a52c5f22113137b310bb3449","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/d4e8d77f-3626-4ae8-81a4-aadc1f7adc2a' closed"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"ce69e864-3804-4fc5-9721-c760b484cc73","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348361.425145} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e8ea2add-c3f3-430d-aff1-08e5e39807b9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348361.4252567} authorization-1 | {"level":"info","message":"POST /relations/update 200 175ms","method":"POST","requestID":"bf89eed7a52c5f22113137b310bb3449","responseTime":175,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.425122441Z"}]},"request_id":"df04dc7c-df90-4563-82d5-eaf8adceca35","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348361.4331498} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"bf89eed7a52c5f22113137b310bb3449","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"bf89eed7a52c5f22113137b310bb3449"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.587","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bf89eed7a52c5f22113137b310bb3449"} device-1 | {"level":"info","message":"POST /devices? 201 579ms","method":"POST","requestID":"bf89eed7a52c5f22113137b310bb3449","responseTime":579,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2MX0.ZlNOKfGEJZaDGUe2t-hgSoCvlcfZUUDo1iNIQpk6xVk","level":"info","message":"auth send jwt","requestID":"13893b0f8ffca772f899f64e7a3ffc1b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"13893b0f8ffca772f899f64e7a3ffc1b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"13893b0f8ffca772f899f64e7a3ffc1b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":90,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:01Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":90,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.631192,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"13893b0f8ffca772f899f64e7a3ffc1b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348361,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2MX0.ZlNOKfGEJZaDGUe2t-hgSoCvlcfZUUDo1iNIQpk6xVk"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"13893b0f8ffca772f899f64e7a3ffc1b","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"aedd36dd-3ac3-4480-bfd7-c17c465ba02e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348361.5630763} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"13893b0f8ffca772f899f64e7a3ffc1b","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"31396842-dbd5-4931-a708-343768ec8c66","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348361.5726767} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"13893b0f8ffca772f899f64e7a3ffc1b","responseTime":8,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"b59b24c7-9cd9-425d-b8c6-3de0218fd750","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348361.7074642} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"49b12e5c-f9ed-4220-9baa-ff12f9c58efd","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348361.7079895} authorization-1 | {"level":"info","message":"POST /relations/update 200 140ms","method":"POST","requestID":"13893b0f8ffca772f899f64e7a3ffc1b","responseTime":140,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.707430976Z"}]},"request_id":"c14a86a5-c704-4d06-b9a3-5f9b56d3af7f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348361.7166378} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"13893b0f8ffca772f899f64e7a3ffc1b","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"13893b0f8ffca772f899f64e7a3ffc1b"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.281","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"13893b0f8ffca772f899f64e7a3ffc1b"} device-1 | {"level":"info","message":"POST /devices? 201 274ms","method":"POST","requestID":"13893b0f8ffca772f899f64e7a3ffc1b","responseTime":274,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU","level":"info","message":"auth send jwt","requestID":"fc789626e6fba2630913c4e935030e3c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fc789626e6fba2630913c4e935030e3c","responseTime":4,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU","level":"info","message":"auth send jwt","requestID":"940773ee8ec8f3456fd6caf9889b400b"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"fc789626e6fba2630913c4e935030e3c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"940773ee8ec8f3456fd6caf9889b400b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"940773ee8ec8f3456fd6caf9889b400b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":91,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":91,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.909254,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fc789626e6fba2630913c4e935030e3c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fc789626e6fba2630913c4e935030e3c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":92,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":92,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.827769,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"940773ee8ec8f3456fd6caf9889b400b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"940773ee8ec8f3456fd6caf9889b400b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.425122441Z"}]},"request_id":"0dbbeb40-528b-4121-93be-9f7a1ee64f8a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.2318358} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"fc789626e6fba2630913c4e935030e3c","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.707430976Z"}]},"request_id":"b80d3563-c4dc-4174-b906-e24d5ccced5c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.2351458} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"940773ee8ec8f3456fd6caf9889b400b","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cd5ab908-7c10-418f-8775-5fa3b20e5164","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.2389767} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"fc789626e6fba2630913c4e935030e3c","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"92f3c0a8-4956-4637-ac2a-44c17bee8680","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.2411466} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"940773ee8ec8f3456fd6caf9889b400b","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.707430976Z"}]},"request_id":"2b644376-b563-41c7-acea-8b14c9b54b6e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.2456677} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"940773ee8ec8f3456fd6caf9889b400b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"940773ee8ec8f3456fd6caf9889b400b"} gateway-1 | {"time_local":"30/Jul/2024:14:06:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f0246e74-710a-4f80-be0f-eb4336316fc4 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.032","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"940773ee8ec8f3456fd6caf9889b400b"} device-1 | {"level":"info","message":"PATCH /devices/f0246e74-710a-4f80-be0f-eb4336316fc4 200 26ms","method":"PATCH","requestID":"940773ee8ec8f3456fd6caf9889b400b","responseTime":26,"status":200,"url":"/devices/f0246e74-710a-4f80-be0f-eb4336316fc4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU","level":"info","message":"auth send jwt","requestID":"757849ee0adff49904eecad0f3b41c43"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"757849ee0adff49904eecad0f3b41c43","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"757849ee0adff49904eecad0f3b41c43"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":93,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":93,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.71072,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"757849ee0adff49904eecad0f3b41c43","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"757849ee0adff49904eecad0f3b41c43","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.425122441Z"}]},"request_id":"0ee5ef6c-1db3-4fcd-baca-74e4ad0f973f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.274019} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fc789626e6fba2630913c4e935030e3c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"fc789626e6fba2630913c4e935030e3c"} gateway-1 | {"time_local":"30/Jul/2024:14:06:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/790e435a-8169-4ec1-9937-5b8b8c26c166 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.062","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"fc789626e6fba2630913c4e935030e3c"} device-1 | {"level":"info","message":"PATCH /devices/790e435a-8169-4ec1-9937-5b8b8c26c166 200 56ms","method":"PATCH","requestID":"fc789626e6fba2630913c4e935030e3c","responseTime":56,"status":200,"url":"/devices/790e435a-8169-4ec1-9937-5b8b8c26c166"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU","level":"info","message":"auth send jwt","requestID":"e687a35007a15006349d67c2bebebf68"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e687a35007a15006349d67c2bebebf68","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e687a35007a15006349d67c2bebebf68"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"757849ee0adff49904eecad0f3b41c43"} gateway-1 | {"time_local":"30/Jul/2024:14:06:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f0246e74-710a-4f80-be0f-eb4336316fc4/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.035","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"757849ee0adff49904eecad0f3b41c43"} device-1 | {"level":"info","message":"POST /devices/f0246e74-710a-4f80-be0f-eb4336316fc4/websocket 200 31ms","method":"POST","requestID":"757849ee0adff49904eecad0f3b41c43","responseTime":31,"status":200,"url":"/devices/f0246e74-710a-4f80-be0f-eb4336316fc4/websocket"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":94,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":94,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.713801,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e687a35007a15006349d67c2bebebf68","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e687a35007a15006349d67c2bebebf68","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e687a35007a15006349d67c2bebebf68"} gateway-1 | {"time_local":"30/Jul/2024:14:06:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/790e435a-8169-4ec1-9937-5b8b8c26c166/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.017","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"e687a35007a15006349d67c2bebebf68"} device-1 | {"level":"info","message":"POST /devices/790e435a-8169-4ec1-9937-5b8b8c26c166/websocket 200 13ms","method":"POST","requestID":"e687a35007a15006349d67c2bebebf68","responseTime":13,"status":200,"url":"/devices/790e435a-8169-4ec1-9937-5b8b8c26c166/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU","level":"info","message":"auth send jwt","requestID":"68e95cab9e1bb9af6900a6891ff5cd5c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"68e95cab9e1bb9af6900a6891ff5cd5c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"68e95cab9e1bb9af6900a6891ff5cd5c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":95,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":95,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.052141,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"68e95cab9e1bb9af6900a6891ff5cd5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"68e95cab9e1bb9af6900a6891ff5cd5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.425122441Z"}]},"request_id":"ec718b89-df66-4cc0-9d0f-586bbb3dd7cd","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.3278873} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"68e95cab9e1bb9af6900a6891ff5cd5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"68e95cab9e1bb9af6900a6891ff5cd5c"} device-1 | {"level":"info","message":"GET /devices/790e435a-8169-4ec1-9937-5b8b8c26c166? 200 14ms","method":"GET","requestID":"68e95cab9e1bb9af6900a6891ff5cd5c","responseTime":14,"status":200,"url":"/devices/790e435a-8169-4ec1-9937-5b8b8c26c166?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/790e435a-8169-4ec1-9937-5b8b8c26c166? 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":"68e95cab9e1bb9af6900a6891ff5cd5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU","level":"info","message":"auth send jwt","requestID":"dee2d6d318e433ae78b8d89386a13f2d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"dee2d6d318e433ae78b8d89386a13f2d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dee2d6d318e433ae78b8d89386a13f2d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":96,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":96,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.053426,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dee2d6d318e433ae78b8d89386a13f2d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dee2d6d318e433ae78b8d89386a13f2d","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.707430976Z"}]},"request_id":"235dbc01-a29e-4ccb-8358-186cf2bf7468","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.3516028} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"dee2d6d318e433ae78b8d89386a13f2d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dee2d6d318e433ae78b8d89386a13f2d"} gateway-1 | {"time_local":"30/Jul/2024:14:06:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f0246e74-710a-4f80-be0f-eb4336316fc4? 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":"dee2d6d318e433ae78b8d89386a13f2d"} device-1 | {"level":"info","message":"GET /devices/f0246e74-710a-4f80-be0f-eb4336316fc4? 200 17ms","method":"GET","requestID":"dee2d6d318e433ae78b8d89386a13f2d","responseTime":17,"status":200,"url":"/devices/f0246e74-710a-4f80-be0f-eb4336316fc4?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU","level":"info","message":"auth send jwt","requestID":"bad13b203931b2f7248b09b0eae1c12e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"bad13b203931b2f7248b09b0eae1c12e","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"bad13b203931b2f7248b09b0eae1c12e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":97,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":97,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.790181,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bad13b203931b2f7248b09b0eae1c12e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bad13b203931b2f7248b09b0eae1c12e","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Attempting to run experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Attempting to book experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Successfully booked experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dab793f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dab83030-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":98,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":98,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.472105,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":99,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dab793f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"dab793f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":99,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.369331,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dab83030-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"dab83030-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.425122441Z"}]},"request_id":"a908c575-d657-49b5-a17e-356527b6c0e9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.4311566} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"dab793f0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.707430976Z"}]},"request_id":"8698912b-314e-4ad9-9862-736620b354c4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.4326549} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"dab83030-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dab793f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/790e435a-8169-4ec1-9937-5b8b8c26c166? 200 28ms","method":"GET","requestID":"dab793f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":28,"status":200,"url":"/devices/790e435a-8169-4ec1-9937-5b8b8c26c166?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dab83030-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/f0246e74-710a-4f80-be0f-eb4336316fc4? 200 25ms","method":"GET","requestID":"dab83030-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":25,"status":200,"url":"/devices/f0246e74-710a-4f80-be0f-eb4336316fc4?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Setting up experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Successfully locked booking for experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Attempting to update booking for experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Successfully updated booking for experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Successfully set up experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dac5ebd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dac639f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dac68810-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Successfully running experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":100,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":100,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.788037,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":101,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dac5ebd0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"dac5ebd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":101,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.037866,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dac639f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"dac639f0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.707430976Z"}]},"request_id":"7f80da8f-ca32-4805-8899-c5e9e1842179","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.531611} authorization-1 | {"client_addr":"127.0.0.1:60324","level":"info","msg":"Received request.","req_id":102,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"dac639f0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.425122441Z"}]},"request_id":"8faf0276-db52-4a78-a4d1-ab9bafde83d2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.5330958} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fb3f84f3-6f35-4d86-a7b8-dea9fad24477","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.5336127} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"dac5ebd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:60324","level":"info","msg":"Sent response.","req_id":102,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.775908,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dac68810-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 17ms","method":"POST","requestID":"dac68810-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dac639f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/f0246e74-710a-4f80-be0f-eb4336316fc4? 200 29ms","method":"GET","requestID":"dac639f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":29,"status":200,"url":"/devices/f0246e74-710a-4f80-be0f-eb4336316fc4?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dac5ebd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/790e435a-8169-4ec1-9937-5b8b8c26c166? 200 31ms","method":"GET","requestID":"dac5ebd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":31,"status":200,"url":"/devices/790e435a-8169-4ec1-9937-5b8b8c26c166?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dac68810-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/790e435a-8169-4ec1-9937-5b8b8c26c166/signaling 200 28ms","method":"POST","requestID":"dac68810-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":28,"status":200,"url":"/devices/790e435a-8169-4ec1-9937-5b8b8c26c166/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dacb4300-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F54da1230-7cdf-4bc8-b671-e68e5bb49b8e#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F54da1230-7cdf-4bc8-b671-e68e5bb49b8e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"ab793093-879b-4fe6-be11-875e50c1073d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.5455718} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"502bd3a5-191d-41aa-8edb-f5f5085e8f18","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.5457406} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dacbb830-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"bad13b203931b2f7248b09b0eae1c12e","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":103,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":104,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f53ef9c7-e809-4f13-addb-298acb570a60","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.5537617} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":103,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.633197,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dacb4300-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","object_type":"device","rebac_allow":false,"scope_allow":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":"dacb4300-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ee49855a-c574-4340-816e-970dde6fe305","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.5557556} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":104,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.562751,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dacbb830-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","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/54da1230-7cdf-4bc8-b671-e68e5bb49b8e","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"bad13b203931b2f7248b09b0eae1c12e"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"dacbb830-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"30/Jul/2024:14:06:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"815","request_time":"0.200","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bad13b203931b2f7248b09b0eae1c12e"} experiment-1 | {"level":"info","message":"POST /experiments? 201 195ms","method":"POST","requestID":"bad13b203931b2f7248b09b0eae1c12e","responseTime":195,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dacb4300-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/790e435a-8169-4ec1-9937-5b8b8c26c166/signaling 200 17ms","method":"POST","requestID":"dacb4300-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/790e435a-8169-4ec1-9937-5b8b8c26c166/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dacbb830-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f0246e74-710a-4f80-be0f-eb4336316fc4/signaling 200 17ms","method":"POST","requestID":"dacbb830-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/f0246e74-710a-4f80-be0f-eb4336316fc4/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU","level":"info","message":"auth send jwt","requestID":"64d20dabc4f223d7dd2959023961c5f5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dace7750-4e7c-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"64d20dabc4f223d7dd2959023961c5f5","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"64d20dabc4f223d7dd2959023961c5f5"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":105,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e96eab92-dfeb-4b91-9a18-722b0180e5d6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.5709217} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":106,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":105,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.790377,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dace7750-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"dace7750-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":106,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.943907,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"64d20dabc4f223d7dd2959023961c5f5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"64d20dabc4f223d7dd2959023961c5f5","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dace7750-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f0246e74-710a-4f80-be0f-eb4336316fc4/signaling 200 13ms","method":"POST","requestID":"dace7750-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/f0246e74-710a-4f80-be0f-eb4336316fc4/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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.425122441Z"}]},"request_id":"5b8f876e-85eb-4ac5-8285-495041f4e5a5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.5783184} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Building connection plan","requestID":"bad13b203931b2f7248b09b0eae1c12e"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"7b40be7c-6fe5-42b7-bc55-c24900e7ca7d"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"24306815-f22e-4272-81c8-c16be13ab4d9"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"3c6b7b70-a3d2-485b-a914-a8e3938beb8b"}]},"level":"info","message":"Built pairwise service configurations","requestID":"bad13b203931b2f7248b09b0eae1c12e"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"64d20dabc4f223d7dd2959023961c5f5","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"bad13b203931b2f7248b09b0eae1c12e"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"dad10f60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"64d20dabc4f223d7dd2959023961c5f5"} gateway-1 | {"time_local":"30/Jul/2024:14:06:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/790e435a-8169-4ec1-9937-5b8b8c26c166? 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":"64d20dabc4f223d7dd2959023961c5f5"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":107,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} device-1 | {"level":"info","message":"GET /devices/790e435a-8169-4ec1-9937-5b8b8c26c166? 200 16ms","method":"GET","requestID":"64d20dabc4f223d7dd2959023961c5f5","responseTime":17,"status":200,"url":"/devices/790e435a-8169-4ec1-9937-5b8b8c26c166?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":107,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.200874,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dad10f60-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"dad10f60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU","level":"info","message":"auth send jwt","requestID":"67ac1505e96eb79a4af3bc5d1a3621d7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"67ac1505e96eb79a4af3bc5d1a3621d7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"67ac1505e96eb79a4af3bc5d1a3621d7"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":108,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":108,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.740016,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"67ac1505e96eb79a4af3bc5d1a3621d7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348362,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Mn0.2tmNiB6NJjxk1CBD7K952pdSnILKgtAOdkdg1akoCxU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"67ac1505e96eb79a4af3bc5d1a3621d7","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"ec9dfd31-e99a-4eed-bf38-5b694ab886f0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.6005054} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"18c9a343-c389-4749-b7c5-e8b53988a6cf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.6007092} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:01.707430976Z"}]},"request_id":"a91ae7a7-72ca-4f8d-971d-9e11d5b201a5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.601939} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"dad10f60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"67ac1505e96eb79a4af3bc5d1a3621d7","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"67ac1505e96eb79a4af3bc5d1a3621d7"} device-1 | {"level":"info","message":"GET /devices/f0246e74-710a-4f80-be0f-eb4336316fc4? 200 15ms","method":"GET","requestID":"67ac1505e96eb79a4af3bc5d1a3621d7","responseTime":15,"status":200,"url":"/devices/f0246e74-710a-4f80-be0f-eb4336316fc4?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f0246e74-710a-4f80-be0f-eb4336316fc4? 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":"67ac1505e96eb79a4af3bc5d1a3621d7"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"dad10f60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"dad10f60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a'","requestID":"dad10f60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a'","requestID":"dad10f60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"dad10f60-4e7c-11ef-b6a3-8dff1d026ae9"} 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":"dad10f60-4e7c-11ef-b6a3-8dff1d026ae9","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":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"dad10f60-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"bad13b203931b2f7248b09b0eae1c12e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dadb96b0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":109,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c5012fbe-3e38-4755-8b27-062d1eef4377","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.657945} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":109,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.775693,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dadb96b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"dadb96b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dadb96b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/790e435a-8169-4ec1-9937-5b8b8c26c166/signaling 200 12ms","method":"POST","requestID":"dadb96b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/790e435a-8169-4ec1-9937-5b8b8c26c166/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"daddb990-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":110,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"376a2f6e-af21-499f-ac35-9603e87586d8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348362.6707914} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":110,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.586016,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"daddb990-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"daddb990-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"daddb990-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f0246e74-710a-4f80-be0f-eb4336316fc4/signaling 200 10ms","method":"POST","requestID":"daddb990-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/f0246e74-710a-4f80-be0f-eb4336316fc4/signaling"} device-1 | {"device":"f0246e74-710a-4f80-be0f-eb4336316fc4","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":"b78ade16-cbb6-4343-9f75-b8ee3eb3c53a","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"790e435a-8169-4ec1-9937-5b8b8c26c166","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":"b78ade16-cbb6-4343-9f75-b8ee3eb3c53a","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"790e435a-8169-4ec1-9937-5b8b8c26c166","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":"790e435a-8169-4ec1-9937-5b8b8c26c166","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":"790e435a-8169-4ec1-9937-5b8b8c26c166","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":"790e435a-8169-4ec1-9937-5b8b8c26c166","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/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b78ade16-cbb6-4343-9f75-b8ee3eb3c53a","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4dcc5f9b613d3a90f2a64602d5043cf7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4dcc5f9b613d3a90f2a64602d5043cf7","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/790e435a-8169-4ec1-9937-5b8b8c26c166"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a"}}},"level":"info","message":"received a callback","requestID":"4dcc5f9b613d3a90f2a64602d5043cf7"} device-1 | {"device":"f0246e74-710a-4f80-be0f-eb4336316fc4","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":"f0246e74-710a-4f80-be0f-eb4336316fc4","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":"f0246e74-710a-4f80-be0f-eb4336316fc4","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 10ms","method":"POST","requestID":"4dcc5f9b613d3a90f2a64602d5043cf7","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"4dcc5f9b613d3a90f2a64602d5043cf7"} device-1 | {"data":{"peerconnection":"b78ade16-cbb6-4343-9f75-b8ee3eb3c53a","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"790e435a-8169-4ec1-9937-5b8b8c26c166","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":"f0246e74-710a-4f80-be0f-eb4336316fc4","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":"f0246e74-710a-4f80-be0f-eb4336316fc4","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":"790e435a-8169-4ec1-9937-5b8b8c26c166","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":"b78ade16-cbb6-4343-9f75-b8ee3eb3c53a","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/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b78ade16-cbb6-4343-9f75-b8ee3eb3c53a","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7a37ad9fd74d58efbfca9637d5c9eeb6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"7a37ad9fd74d58efbfca9637d5c9eeb6","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/790e435a-8169-4ec1-9937-5b8b8c26c166"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a"}}},"level":"info","message":"received a callback","requestID":"7a37ad9fd74d58efbfca9637d5c9eeb6"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"dc1b1b90-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":111,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb78ade16-cbb6-4343-9f75-b8ee3eb3c53a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dbe72483-4ed6-45cf-90f2-be70d5bdd5a3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348364.752087} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":111,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.198306,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dc1b1b90-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"dc1b1b90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"dc1b1b90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a 200 14ms","method":"GET","requestID":"dc1b1b90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 55ms","method":"POST","requestID":"7a37ad9fd74d58efbfca9637d5c9eeb6","responseTime":55,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.060","http_referrer":"","http_user_agent":"node-fetch","requestID":"7a37ad9fd74d58efbfca9637d5c9eeb6"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dc226e90-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":112,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3bbde841-0ffe-4bda-bdd5-04fed5a52b8a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348364.8003132} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":112,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.952292,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dc226e90-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","object_type":"device","rebac_allow":false,"scope_allow":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":"dc226e90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dc226e90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/790e435a-8169-4ec1-9937-5b8b8c26c166/signaling 200 15ms","method":"POST","requestID":"dc226e90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/790e435a-8169-4ec1-9937-5b8b8c26c166/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dc2506a0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":113,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"750fcb58-a6ba-4480-97a6-dd69a5787514","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348364.8153396} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":113,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.243919,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dc2506a0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","object_type":"device","rebac_allow":false,"scope_allow":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":"dc2506a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NH0.5pdLI2Qqn-JB2xzPejDERGTmJNE5-u6jSCzN7UTwikQ","level":"info","message":"auth send jwt","requestID":"9255454f6d19036ce587924b2b76aa48"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9255454f6d19036ce587924b2b76aa48","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e","requestID":"9255454f6d19036ce587924b2b76aa48"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dc2506a0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f0246e74-710a-4f80-be0f-eb4336316fc4/signaling 200 13ms","method":"POST","requestID":"dc2506a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/f0246e74-710a-4f80-be0f-eb4336316fc4/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":114,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":114,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.911003,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"9255454f6d19036ce587924b2b76aa48","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348364,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NH0.5pdLI2Qqn-JB2xzPejDERGTmJNE5-u6jSCzN7UTwikQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9255454f6d19036ce587924b2b76aa48","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e","requestID":"9255454f6d19036ce587924b2b76aa48"} gateway-1 | {"time_local":"30/Jul/2024:14:06:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e HTTP/1.1","status": "200","body_bytes_sent":"888","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9255454f6d19036ce587924b2b76aa48"} experiment-1 | {"level":"info","message":"GET /experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e 200 15ms","method":"GET","requestID":"9255454f6d19036ce587924b2b76aa48","responseTime":15,"status":200,"url":"/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NH0.5pdLI2Qqn-JB2xzPejDERGTmJNE5-u6jSCzN7UTwikQ","level":"info","message":"auth send jwt","requestID":"0b72c9b673e378f5dfc85362ede5616c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0b72c9b673e378f5dfc85362ede5616c","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e","requestID":"0b72c9b673e378f5dfc85362ede5616c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":115,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":115,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.000658,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0b72c9b673e378f5dfc85362ede5616c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348364,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NH0.5pdLI2Qqn-JB2xzPejDERGTmJNE5-u6jSCzN7UTwikQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0b72c9b673e378f5dfc85362ede5616c","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Attempting to finish experiment","requestID":"0b72c9b673e378f5dfc85362ede5616c"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"dc2c0b80-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":116,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":116,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.838605,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dc2c0b80-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348364,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NH0.5pdLI2Qqn-JB2xzPejDERGTmJNE5-u6jSCzN7UTwikQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"dc2c0b80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"device":"790e435a-8169-4ec1-9937-5b8b8c26c166","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":"790e435a-8169-4ec1-9937-5b8b8c26c166","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":"790e435a-8169-4ec1-9937-5b8b8c26c166","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":"f0246e74-710a-4f80-be0f-eb4336316fc4","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":"f0246e74-710a-4f80-be0f-eb4336316fc4","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":"f0246e74-710a-4f80-be0f-eb4336316fc4","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/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b78ade16-cbb6-4343-9f75-b8ee3eb3c53a","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8e1a05b499e2656b3c688069b45b00c9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"8e1a05b499e2656b3c688069b45b00c9","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7c6d4ffb14f537970eb709c1bf1cf467","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a"}}},"level":"info","message":"received a callback","requestID":"8e1a05b499e2656b3c688069b45b00c9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7c6d4ffb14f537970eb709c1bf1cf467","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/790e435a-8169-4ec1-9937-5b8b8c26c166"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a"}}},"level":"info","message":"received a callback","requestID":"7c6d4ffb14f537970eb709c1bf1cf467"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ebd1108a-8c62-4c47-b9cc-8544f1172128","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348364.8853984} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb78ade16-cbb6-4343-9f75-b8ee3eb3c53a': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb78ade16-cbb6-4343-9f75-b8ee3eb3c53a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"e3f7e5f6-3173-484a-be99-f764e27b2d12","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348364.8858085} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"dc2c0b80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"b78ade16-cbb6-4343-9f75-b8ee3eb3c53a","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"dc2c0b80-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a 204 49ms","method":"DELETE","requestID":"dc2c0b80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":49,"status":204,"url":"/peerconnections/b78ade16-cbb6-4343-9f75-b8ee3eb3c53a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"},"level":"info","message":"Successfully finished experiment","requestID":"0b72c9b673e378f5dfc85362ede5616c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dc3644b0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":117,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F790e435a-8169-4ec1-9937-5b8b8c26c166","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7f1d75b4-7f88-4d69-9c6b-5862bff589c5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348364.928453} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":117,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.690653,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dc3644b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/790e435a-8169-4ec1-9937-5b8b8c26c166","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"dc3644b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dc3644b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/790e435a-8169-4ec1-9937-5b8b8c26c166/signaling 200 11ms","method":"POST","requestID":"dc3644b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/790e435a-8169-4ec1-9937-5b8b8c26c166/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F54da1230-7cdf-4bc8-b671-e68e5bb49b8e': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F54da1230-7cdf-4bc8-b671-e68e5bb49b8e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"a557c5e1-f9b0-4130-98d5-eead7b4f055d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348364.9350774} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"447f5e61-ed75-42ad-a42a-ae5827c42b0a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348364.9360874} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dc386790-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"0b72c9b673e378f5dfc85362ede5616c","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":118,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff0246e74-710a-4f80-be0f-eb4336316fc4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fd69f6c4-a7c3-45d9-982d-f0243c59c362","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348364.941621} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":118,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.31497,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dc386790-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dc386790-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dc386790-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f0246e74-710a-4f80-be0f-eb4336316fc4/signaling 200 9ms","method":"POST","requestID":"dc386790-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/f0246e74-710a-4f80-be0f-eb4336316fc4/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e","requestID":"0b72c9b673e378f5dfc85362ede5616c"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.164","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0b72c9b673e378f5dfc85362ede5616c"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +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.717","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"03d3eb0b5e821b3127c916118d1fad0d"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +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.706","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"d83041229b54dd799d632b19e62acd67"} experiment-1 | {"level":"info","message":"DELETE /experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e 204 161ms","method":"DELETE","requestID":"0b72c9b673e378f5dfc85362ede5616c","responseTime":161,"status":204,"url":"/experiments/54da1230-7cdf-4bc8-b671-e68e5bb49b8e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 122ms","method":"POST","requestID":"8e1a05b499e2656b3c688069b45b00c9","responseTime":122,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.126","http_referrer":"","http_user_agent":"node-fetch","requestID":"8e1a05b499e2656b3c688069b45b00c9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"7c6d4ffb14f537970eb709c1bf1cf467","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.127","http_referrer":"","http_user_agent":"node-fetch","requestID":"7c6d4ffb14f537970eb709c1bf1cf467"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"45d843b0a7b1b1baab0e3ff454a95aff"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"45d843b0a7b1b1baab0e3ff454a95aff","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/790e435a-8169-4ec1-9937-5b8b8c26c166' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"45d843b0a7b1b1baab0e3ff454a95aff"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":119,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":119,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.324915,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"45d843b0a7b1b1baab0e3ff454a95aff","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/f0246e74-710a-4f80-be0f-eb4336316fc4' closed"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"45d843b0a7b1b1baab0e3ff454a95aff","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F844aa146-66e8-40da-9bed-dba2e3394f91","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f725103e-7a61-44e7-91fc-bee52f0003d4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.038605} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"45d843b0a7b1b1baab0e3ff454a95aff","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6eeafb96-bdd3-495f-9bf4-31e5044e4ae5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.0461419} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"45d843b0a7b1b1baab0e3ff454a95aff","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F844aa146-66e8-40da-9bed-dba2e3394f91","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"327b2008-0470-4134-9c8a-17ed989cc55e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.0570521} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"51ec460d-075b-4c02-91d5-b0126281aa4a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.057378} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"45d843b0a7b1b1baab0e3ff454a95aff","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F844aa146-66e8-40da-9bed-dba2e3394f91","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F844aa146-66e8-40da-9bed-dba2e3394f91","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.057039650Z"}]},"request_id":"d06446e1-9940-4d6e-b0db-d92a3d07df06","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.062611} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"45d843b0a7b1b1baab0e3ff454a95aff","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"45d843b0a7b1b1baab0e3ff454a95aff"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.061","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"45d843b0a7b1b1baab0e3ff454a95aff"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"45d843b0a7b1b1baab0e3ff454a95aff","responseTime":49,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"4560ea5cead795549d985653a15ba9aa"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4560ea5cead795549d985653a15ba9aa","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"4560ea5cead795549d985653a15ba9aa"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":120,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":120,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.052896,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"4560ea5cead795549d985653a15ba9aa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4560ea5cead795549d985653a15ba9aa","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F333fdf3e-b301-4445-9d95-92d5d6a50cbc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"97824d8a-8b16-46ae-a588-dffacd31865c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.0915554} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4560ea5cead795549d985653a15ba9aa","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1d4d73b1-fad3-4cdf-852a-5239501d1108","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.0969214} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"4560ea5cead795549d985653a15ba9aa","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F333fdf3e-b301-4445-9d95-92d5d6a50cbc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"32062988-ebd8-44a9-aa1a-4f3c38a6cc6b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.1135406} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4a29a369-58b8-437f-bf17-09893db5d6c2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.1138053} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"4560ea5cead795549d985653a15ba9aa","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F333fdf3e-b301-4445-9d95-92d5d6a50cbc","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F333fdf3e-b301-4445-9d95-92d5d6a50cbc","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.113528585Z"}]},"request_id":"60387795-0cc5-47c3-a3db-f80940ef8c18","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.1182828} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4560ea5cead795549d985653a15ba9aa","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"4560ea5cead795549d985653a15ba9aa"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4560ea5cead795549d985653a15ba9aa"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"4560ea5cead795549d985653a15ba9aa","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"2bb569063a48753823ff38713baab066"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2bb569063a48753823ff38713baab066","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"2bb569063a48753823ff38713baab066"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":121,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":121,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.76138,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"2bb569063a48753823ff38713baab066","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2bb569063a48753823ff38713baab066","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F56b41d23-9e6c-4477-868c-dd61eda9281c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"a909855c-fcca-4e8f-9176-621177647a59","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.1449986} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2bb569063a48753823ff38713baab066","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d8983e3f-16d1-479a-b1e3-ec197488c04d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.1504154} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"2bb569063a48753823ff38713baab066","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F56b41d23-9e6c-4477-868c-dd61eda9281c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"1d9702cc-0b99-4488-8862-d2e62a48464f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.1604393} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"292e5400-64ae-4b57-8d3b-b2780869d4fb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.1605613} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"2bb569063a48753823ff38713baab066","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F56b41d23-9e6c-4477-868c-dd61eda9281c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F56b41d23-9e6c-4477-868c-dd61eda9281c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.160426093Z"}]},"request_id":"1e870d04-969e-4a1d-8e13-a29fcef29e63","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.1666548} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2bb569063a48753823ff38713baab066","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"2bb569063a48753823ff38713baab066"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2bb569063a48753823ff38713baab066"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"2bb569063a48753823ff38713baab066","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"ec81e6367f8d94079a7b4cd9fa267bed"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ec81e6367f8d94079a7b4cd9fa267bed","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ec81e6367f8d94079a7b4cd9fa267bed"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":122,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":122,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.202124,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ec81e6367f8d94079a7b4cd9fa267bed","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ec81e6367f8d94079a7b4cd9fa267bed","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5a4141bf-e318-47c1-8ffd-8de6dc3108f4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2c417e50-b5b0-41c8-bca8-de3ff4e4452b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.1972857} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ec81e6367f8d94079a7b4cd9fa267bed","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2640eddb-552d-4f68-a027-16e7d86e0cb3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.2035282} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"ec81e6367f8d94079a7b4cd9fa267bed","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5a4141bf-e318-47c1-8ffd-8de6dc3108f4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"189f685f-7c6c-4ad0-bd71-d0d6823a1d4a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.2212148} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"76f76fa3-ba21-4564-844d-5f427ac13077","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.221394} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"ec81e6367f8d94079a7b4cd9fa267bed","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5a4141bf-e318-47c1-8ffd-8de6dc3108f4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5a4141bf-e318-47c1-8ffd-8de6dc3108f4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.221201063Z"}]},"request_id":"beaafb73-a2e6-4f96-a94a-a1d681ccbc1c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.2278674} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ec81e6367f8d94079a7b4cd9fa267bed","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ec81e6367f8d94079a7b4cd9fa267bed"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.061","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ec81e6367f8d94079a7b4cd9fa267bed"} device-1 | {"level":"info","message":"POST /devices? 201 54ms","method":"POST","requestID":"ec81e6367f8d94079a7b4cd9fa267bed","responseTime":54,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"faa70cd44d855c78fe78db16bc8f2bc9"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"faa70cd44d855c78fe78db16bc8f2bc9","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"faa70cd44d855c78fe78db16bc8f2bc9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":123,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":123,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.77514,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"faa70cd44d855c78fe78db16bc8f2bc9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"faa70cd44d855c78fe78db16bc8f2bc9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2de54cb1-f22a-4052-a09c-aa99b09e6257","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"718363b5-ab50-4994-ac3b-3261a1930b9b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.2615974} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"faa70cd44d855c78fe78db16bc8f2bc9","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"570da50c-9767-4418-8c77-6ffa65d06f9a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.268645} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"faa70cd44d855c78fe78db16bc8f2bc9","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2de54cb1-f22a-4052-a09c-aa99b09e6257","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"3320fbca-4c35-45d6-adb4-0abdb0fc0619","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.2824762} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"06ac1479-54c1-4cc2-be89-d1ef0027205b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.2831297} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"faa70cd44d855c78fe78db16bc8f2bc9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2de54cb1-f22a-4052-a09c-aa99b09e6257","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2de54cb1-f22a-4052-a09c-aa99b09e6257","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.282435685Z"}]},"request_id":"a73472fb-22e8-4e22-ba37-8c5925ff995b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.2921581} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"faa70cd44d855c78fe78db16bc8f2bc9","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"faa70cd44d855c78fe78db16bc8f2bc9"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.063","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"faa70cd44d855c78fe78db16bc8f2bc9"} device-1 | {"level":"info","message":"POST /devices? 201 57ms","method":"POST","requestID":"faa70cd44d855c78fe78db16bc8f2bc9","responseTime":57,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"cb22d84cd015a07c248b86d020789de3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"cb22d84cd015a07c248b86d020789de3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"cb22d84cd015a07c248b86d020789de3"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":124,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":124,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.264787,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"cb22d84cd015a07c248b86d020789de3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"cb22d84cd015a07c248b86d020789de3","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dcf186f-2d53-4e70-b399-0dd30998eb14","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8ff089f1-5b27-4960-b867-14134c540338","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.3315296} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"cb22d84cd015a07c248b86d020789de3","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c535be09-519f-465b-8e88-44a56186096b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.3399227} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"cb22d84cd015a07c248b86d020789de3","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dcf186f-2d53-4e70-b399-0dd30998eb14","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"f25ac4bc-f27b-4b6c-8119-5a8c4f3ecdad","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.359525} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1561cf49-cdc5-487b-9813-cd11a44a6e9f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.3598835} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"cb22d84cd015a07c248b86d020789de3","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dcf186f-2d53-4e70-b399-0dd30998eb14","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dcf186f-2d53-4e70-b399-0dd30998eb14","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.359503923Z"}]},"request_id":"1e6e1102-aa72-4489-9d07-753bedf9dea9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.3670933} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cb22d84cd015a07c248b86d020789de3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"cb22d84cd015a07c248b86d020789de3"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.071","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cb22d84cd015a07c248b86d020789de3"} device-1 | {"level":"info","message":"POST /devices? 201 65ms","method":"POST","requestID":"cb22d84cd015a07c248b86d020789de3","responseTime":65,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"268196569f61eb437fef2bdefed5fb28"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"268196569f61eb437fef2bdefed5fb28","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"268196569f61eb437fef2bdefed5fb28"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":125,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":125,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.246927,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"268196569f61eb437fef2bdefed5fb28","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"268196569f61eb437fef2bdefed5fb28","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fbb97-d602-49de-98e7-6ada5eea7f97","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f09effd5-6109-4d97-9a3a-fe315ac86936","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.4059274} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"268196569f61eb437fef2bdefed5fb28","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"04ee519b-98b5-4a49-8f7c-e4f6bf65dd25","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.414221} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"268196569f61eb437fef2bdefed5fb28","responseTime":7,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fbb97-d602-49de-98e7-6ada5eea7f97","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"aaed1b15-3a75-4c33-acbc-9a7060a9b265","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.428591} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3e7a6fed-14a4-4c9b-992b-b454204c54c2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.4287074} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"268196569f61eb437fef2bdefed5fb28","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fbb97-d602-49de-98e7-6ada5eea7f97","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff18fbb97-d602-49de-98e7-6ada5eea7f97","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.428563385Z"}]},"request_id":"d0dc58af-6788-4d41-99c6-4a58c3458ffc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.4383743} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"268196569f61eb437fef2bdefed5fb28","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"268196569f61eb437fef2bdefed5fb28"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.069","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"268196569f61eb437fef2bdefed5fb28"} device-1 | {"level":"info","message":"POST /devices? 201 62ms","method":"POST","requestID":"268196569f61eb437fef2bdefed5fb28","responseTime":62,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"cf41e63114de53d6150f9c60c483d1c5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"cf41e63114de53d6150f9c60c483d1c5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"cf41e63114de53d6150f9c60c483d1c5"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":126,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":126,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.359345,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"cf41e63114de53d6150f9c60c483d1c5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cf41e63114de53d6150f9c60c483d1c5","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcc34b92a-d102-4e4d-aef8-4a34a2326a60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"660f8ade-8d5b-4c39-b2b5-1749cd4f5b0c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.4733734} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cf41e63114de53d6150f9c60c483d1c5","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5c21230a-5430-4543-8538-707b78130af8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.4817884} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"cf41e63114de53d6150f9c60c483d1c5","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcc34b92a-d102-4e4d-aef8-4a34a2326a60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"6a785733-e5e1-4054-8a37-d14ad32b4748","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.499641} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d77fefd1-4c7b-4d47-9ca9-abca8ff2e3ef","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.5009837} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"cf41e63114de53d6150f9c60c483d1c5","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcc34b92a-d102-4e4d-aef8-4a34a2326a60","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcc34b92a-d102-4e4d-aef8-4a34a2326a60","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.499486369Z"}]},"request_id":"e206eae9-908d-4eed-b862-2e96e32d224c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.5091093} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"cf41e63114de53d6150f9c60c483d1c5","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"cf41e63114de53d6150f9c60c483d1c5"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.069","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cf41e63114de53d6150f9c60c483d1c5"} device-1 | {"level":"info","message":"POST /devices? 201 63ms","method":"POST","requestID":"cf41e63114de53d6150f9c60c483d1c5","responseTime":63,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"6b5fac32ba2f557e572ddd8d0ff8448f"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"6b5fac32ba2f557e572ddd8d0ff8448f","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6b5fac32ba2f557e572ddd8d0ff8448f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":127,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":127,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.139075,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6b5fac32ba2f557e572ddd8d0ff8448f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6b5fac32ba2f557e572ddd8d0ff8448f","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b0ef295-0047-4588-abc5-076f143dffc1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"beb4d402-93cb-4ebd-b170-770f4b8a41ac","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.546412} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6b5fac32ba2f557e572ddd8d0ff8448f","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2ddf321d-f536-4b33-94d1-99f3b2c57d62","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.5543358} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"6b5fac32ba2f557e572ddd8d0ff8448f","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b0ef295-0047-4588-abc5-076f143dffc1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"a9aab650-76cd-41f4-a20d-efa6cd8c3ce0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.5675669} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9a32e2d5-b80f-4a53-95b7-984ad20df6eb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.5679448} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"6b5fac32ba2f557e572ddd8d0ff8448f","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b0ef295-0047-4588-abc5-076f143dffc1","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b0ef295-0047-4588-abc5-076f143dffc1","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.567544366Z"}]},"request_id":"bfd5882f-a5f3-4651-bc77-21fae90dfc8e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.5751886} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6b5fac32ba2f557e572ddd8d0ff8448f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6b5fac32ba2f557e572ddd8d0ff8448f"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.062","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6b5fac32ba2f557e572ddd8d0ff8448f"} device-1 | {"level":"info","message":"POST /devices? 201 56ms","method":"POST","requestID":"6b5fac32ba2f557e572ddd8d0ff8448f","responseTime":56,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"27be89aa99a5f7de05950317f1230505"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"27be89aa99a5f7de05950317f1230505","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"27be89aa99a5f7de05950317f1230505"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":128,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":128,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.234217,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"27be89aa99a5f7de05950317f1230505","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"27be89aa99a5f7de05950317f1230505","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8942a3f2-bd4b-4cd3-9b8c-1d0a0f4e1742","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"cdf7c301-083c-490d-afdf-f3ff5ae44e33","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.613111} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"27be89aa99a5f7de05950317f1230505","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8d3aaf11-d635-479d-af41-d8cbf44ed182","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.6211371} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"27be89aa99a5f7de05950317f1230505","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8942a3f2-bd4b-4cd3-9b8c-1d0a0f4e1742","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"8b5dae9b-e77a-42fa-bbfc-5dd416329503","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.639577} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"861a3457-a736-4c7c-8995-b3cffb1e4fa6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.6398184} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"27be89aa99a5f7de05950317f1230505","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8942a3f2-bd4b-4cd3-9b8c-1d0a0f4e1742","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8942a3f2-bd4b-4cd3-9b8c-1d0a0f4e1742","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.639551184Z"}]},"request_id":"7e79a801-9a0c-4d3e-9100-b4bbffb32f7e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.6474519} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"27be89aa99a5f7de05950317f1230505","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"27be89aa99a5f7de05950317f1230505"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"278","request_time":"0.070","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"27be89aa99a5f7de05950317f1230505"} device-1 | {"level":"info","message":"POST /devices? 201 63ms","method":"POST","requestID":"27be89aa99a5f7de05950317f1230505","responseTime":63,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"c8f3afde9794d3b6c6e2bf62c2ab943e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c8f3afde9794d3b6c6e2bf62c2ab943e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c8f3afde9794d3b6c6e2bf62c2ab943e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":129,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":129,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.24246,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"c8f3afde9794d3b6c6e2bf62c2ab943e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c8f3afde9794d3b6c6e2bf62c2ab943e","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F80b37bf7-8cc1-4e9a-8add-dc354323415f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"017c4365-eb4b-4abc-8d21-236a3af231ee","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.6866207} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c8f3afde9794d3b6c6e2bf62c2ab943e","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c6c0ed0d-edab-4285-b6e5-31c4224b18f6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.6956158} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"c8f3afde9794d3b6c6e2bf62c2ab943e","responseTime":8,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F80b37bf7-8cc1-4e9a-8add-dc354323415f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"4d092e4e-8224-483a-8008-c7107aebc623","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.710392} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"253fbc2e-1eb0-48ff-b68e-5bedeb03324c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.7105947} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"c8f3afde9794d3b6c6e2bf62c2ab943e","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F80b37bf7-8cc1-4e9a-8add-dc354323415f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F80b37bf7-8cc1-4e9a-8add-dc354323415f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.710360790Z"}]},"request_id":"73d0cf5a-274c-4622-a649-f7b9e4b2fdd1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.718097} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c8f3afde9794d3b6c6e2bf62c2ab943e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c8f3afde9794d3b6c6e2bf62c2ab943e"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1069","request_time":"0.067","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c8f3afde9794d3b6c6e2bf62c2ab943e"} device-1 | {"level":"info","message":"POST /devices? 201 62ms","method":"POST","requestID":"c8f3afde9794d3b6c6e2bf62c2ab943e","responseTime":62,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"b376320ae338a4a6678510408eb465f7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b376320ae338a4a6678510408eb465f7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b376320ae338a4a6678510408eb465f7"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":130,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":130,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.259818,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"b376320ae338a4a6678510408eb465f7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b376320ae338a4a6678510408eb465f7","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc0ea4038-da17-4f70-8df8-a658f74ffd24","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2dba630a-469d-4530-977c-554958624e60","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.7580752} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b376320ae338a4a6678510408eb465f7","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e30b0a08-cffb-4b14-a643-b6bf569284f2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.7676826} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"b376320ae338a4a6678510408eb465f7","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc0ea4038-da17-4f70-8df8-a658f74ffd24","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"c5a4c6db-daa4-4711-9948-4ce5f680926a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.7801008} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a55a5410-dddc-4ca2-baac-6d893e7d8b35","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.7802448} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"b376320ae338a4a6678510408eb465f7","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc0ea4038-da17-4f70-8df8-a658f74ffd24","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc0ea4038-da17-4f70-8df8-a658f74ffd24","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.780070947Z"}]},"request_id":"b9370138-08ed-4e60-8a75-644c2d6dfdeb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.7874303} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b376320ae338a4a6678510408eb465f7","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b376320ae338a4a6678510408eb465f7"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1347","request_time":"0.064","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b376320ae338a4a6678510408eb465f7"} device-1 | {"level":"info","message":"POST /devices? 201 57ms","method":"POST","requestID":"b376320ae338a4a6678510408eb465f7","responseTime":57,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"70b06bbfc3c991f5b5597cab7dd13abf"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"70b06bbfc3c991f5b5597cab7dd13abf","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"70b06bbfc3c991f5b5597cab7dd13abf"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":131,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":131,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.276133,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"70b06bbfc3c991f5b5597cab7dd13abf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"70b06bbfc3c991f5b5597cab7dd13abf","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c15ee97-31ea-47dd-94df-e6561ca35d2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2034ec2b-5b22-4a7f-ae16-68463ae359d3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.8299882} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"70b06bbfc3c991f5b5597cab7dd13abf","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"77a392a3-d562-4e99-ad52-c84d6a2511f7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.8385193} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"70b06bbfc3c991f5b5597cab7dd13abf","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c15ee97-31ea-47dd-94df-e6561ca35d2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"4aacfc5d-cc0c-4672-b2bc-2046da126e92","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.8529193} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"668b9f6f-cb22-4fbd-8ae3-d2136c8bcc78","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.8531778} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"70b06bbfc3c991f5b5597cab7dd13abf","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c15ee97-31ea-47dd-94df-e6561ca35d2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c15ee97-31ea-47dd-94df-e6561ca35d2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.852840301Z"}]},"request_id":"82570099-4fbd-4a7d-a9dd-b7b33eed2a1f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.8596885} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"70b06bbfc3c991f5b5597cab7dd13abf","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"70b06bbfc3c991f5b5597cab7dd13abf"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1070","request_time":"0.070","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"70b06bbfc3c991f5b5597cab7dd13abf"} device-1 | {"level":"info","message":"POST /devices? 201 63ms","method":"POST","requestID":"70b06bbfc3c991f5b5597cab7dd13abf","responseTime":63,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"0be8d572193bc2ba17dbf6b4ddffc379"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0be8d572193bc2ba17dbf6b4ddffc379","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"0be8d572193bc2ba17dbf6b4ddffc379"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":132,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":132,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.227355,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/80b37bf7-8cc1-4e9a-8add-dc354323415f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0be8d572193bc2ba17dbf6b4ddffc379","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/80b37bf7-8cc1-4e9a-8add-dc354323415f","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"0be8d572193bc2ba17dbf6b4ddffc379","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F80b37bf7-8cc1-4e9a-8add-dc354323415f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F80b37bf7-8cc1-4e9a-8add-dc354323415f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.710360790Z"}]},"request_id":"93cebbe1-f325-4576-b950-2e3dab80947a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.8955686} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"0be8d572193bc2ba17dbf6b4ddffc379","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ef1f4575-ad37-41df-a6e3-23bb776f5781","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.9045238} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"0be8d572193bc2ba17dbf6b4ddffc379","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F80b37bf7-8cc1-4e9a-8add-dc354323415f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F80b37bf7-8cc1-4e9a-8add-dc354323415f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.710360790Z"}]},"request_id":"18df2f6b-4152-4b9e-a6bb-3a3731400742","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.9184813} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"0be8d572193bc2ba17dbf6b4ddffc379","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"0be8d572193bc2ba17dbf6b4ddffc379"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/80b37bf7-8cc1-4e9a-8add-dc354323415f? HTTP/1.1","status": "200","body_bytes_sent":"1141","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0be8d572193bc2ba17dbf6b4ddffc379"} device-1 | {"level":"info","message":"PATCH /devices/80b37bf7-8cc1-4e9a-8add-dc354323415f? 200 46ms","method":"PATCH","requestID":"0be8d572193bc2ba17dbf6b4ddffc379","responseTime":46,"status":200,"url":"/devices/80b37bf7-8cc1-4e9a-8add-dc354323415f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"3f436c18788bab1880082be6b4bf3b0e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3f436c18788bab1880082be6b4bf3b0e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"3f436c18788bab1880082be6b4bf3b0e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":133,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":133,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.372326,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c0ea4038-da17-4f70-8df8-a658f74ffd24","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"3f436c18788bab1880082be6b4bf3b0e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c0ea4038-da17-4f70-8df8-a658f74ffd24","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3f436c18788bab1880082be6b4bf3b0e","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc0ea4038-da17-4f70-8df8-a658f74ffd24","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc0ea4038-da17-4f70-8df8-a658f74ffd24","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.780070947Z"}]},"request_id":"a6e66a78-3c9b-4bc5-b254-0046e034e103","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.9478452} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3f436c18788bab1880082be6b4bf3b0e","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"648c6c9e-9c52-4cc7-a5ab-865e631e63ff","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.9562902} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"3f436c18788bab1880082be6b4bf3b0e","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc0ea4038-da17-4f70-8df8-a658f74ffd24","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc0ea4038-da17-4f70-8df8-a658f74ffd24","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.780070947Z"}]},"request_id":"e85f2c72-4a51-4d47-85c9-068f9089cf21","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.9694674} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"3f436c18788bab1880082be6b4bf3b0e","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"3f436c18788bab1880082be6b4bf3b0e"} gateway-1 | {"time_local":"30/Jul/2024:14:06:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c0ea4038-da17-4f70-8df8-a658f74ffd24? HTTP/1.1","status": "200","body_bytes_sent":"1491","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3f436c18788bab1880082be6b4bf3b0e"} device-1 | {"level":"info","message":"PATCH /devices/c0ea4038-da17-4f70-8df8-a658f74ffd24? 200 42ms","method":"PATCH","requestID":"3f436c18788bab1880082be6b4bf3b0e","responseTime":42,"status":200,"url":"/devices/c0ea4038-da17-4f70-8df8-a658f74ffd24?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY","level":"info","message":"auth send jwt","requestID":"e10308d3193559221866111f2ef7e338"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e10308d3193559221866111f2ef7e338","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e10308d3193559221866111f2ef7e338"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":134,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":134,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.132756,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:05Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c15ee97-31ea-47dd-94df-e6561ca35d2f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e10308d3193559221866111f2ef7e338","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/4c15ee97-31ea-47dd-94df-e6561ca35d2f","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348365,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2NX0.6VchSIEIhJIfl-lJwvru-6cx9v4GUszbWqV204NisuY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e10308d3193559221866111f2ef7e338","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c15ee97-31ea-47dd-94df-e6561ca35d2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c15ee97-31ea-47dd-94df-e6561ca35d2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.852840301Z"}]},"request_id":"cf2fe398-9596-4dd0-9b6f-bc5e7885b3b5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348365.999921} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e10308d3193559221866111f2ef7e338","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5c6fd11f-5b23-4dea-94ec-b6c6d0bf6d90","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.0080636} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"e10308d3193559221866111f2ef7e338","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c15ee97-31ea-47dd-94df-e6561ca35d2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c15ee97-31ea-47dd-94df-e6561ca35d2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.852840301Z"}]},"request_id":"ebdeb0b3-dae5-4ad8-8ca7-604395c61ce1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.0176773} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e10308d3193559221866111f2ef7e338","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e10308d3193559221866111f2ef7e338"} gateway-1 | {"time_local":"30/Jul/2024:14:06:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/4c15ee97-31ea-47dd-94df-e6561ca35d2f? HTTP/1.1","status": "200","body_bytes_sent":"1142","request_time":"0.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e10308d3193559221866111f2ef7e338"} device-1 | {"level":"info","message":"PATCH /devices/4c15ee97-31ea-47dd-94df-e6561ca35d2f? 200 38ms","method":"PATCH","requestID":"e10308d3193559221866111f2ef7e338","responseTime":38,"status":200,"url":"/devices/4c15ee97-31ea-47dd-94df-e6561ca35d2f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70","level":"info","message":"auth send jwt","requestID":"eecb4a872dd6a5bab34d296ecbd4144d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"eecb4a872dd6a5bab34d296ecbd4144d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"eecb4a872dd6a5bab34d296ecbd4144d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":135,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":135,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.219948,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/80b37bf7-8cc1-4e9a-8add-dc354323415f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eecb4a872dd6a5bab34d296ecbd4144d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/80b37bf7-8cc1-4e9a-8add-dc354323415f","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"eecb4a872dd6a5bab34d296ecbd4144d","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F80b37bf7-8cc1-4e9a-8add-dc354323415f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F80b37bf7-8cc1-4e9a-8add-dc354323415f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.710360790Z"}]},"request_id":"09306348-dbe7-44bd-ad51-5fc64536ac70","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.04347} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"eecb4a872dd6a5bab34d296ecbd4144d","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":136,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":137,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":136,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.491929,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":137,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.130484,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60324","level":"info","msg":"Received request.","req_id":138,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/844aa146-66e8-40da-9bed-dba2e3394f91","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eecb4a872dd6a5bab34d296ecbd4144d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/844aa146-66e8-40da-9bed-dba2e3394f91","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"eecb4a872dd6a5bab34d296ecbd4144d","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/333fdf3e-b301-4445-9d95-92d5d6a50cbc","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eecb4a872dd6a5bab34d296ecbd4144d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/333fdf3e-b301-4445-9d95-92d5d6a50cbc","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"eecb4a872dd6a5bab34d296ecbd4144d","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60324","level":"info","msg":"Sent response.","req_id":138,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.296427,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/56b41d23-9e6c-4477-868c-dd61eda9281c","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eecb4a872dd6a5bab34d296ecbd4144d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/56b41d23-9e6c-4477-868c-dd61eda9281c","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 13ms","method":"POST","requestID":"eecb4a872dd6a5bab34d296ecbd4144d","responseTime":13,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60338","level":"info","msg":"Received request.","req_id":139,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60338","level":"info","msg":"Sent response.","req_id":139,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.48189,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c0ea4038-da17-4f70-8df8-a658f74ffd24","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eecb4a872dd6a5bab34d296ecbd4144d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c0ea4038-da17-4f70-8df8-a658f74ffd24","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"eecb4a872dd6a5bab34d296ecbd4144d","responseTime":12,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"eecb4a872dd6a5bab34d296ecbd4144d"} gateway-1 | {"time_local":"30/Jul/2024:14:06:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/80b37bf7-8cc1-4e9a-8add-dc354323415f? HTTP/1.1","status": "200","body_bytes_sent":"1141","request_time":"0.055","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"eecb4a872dd6a5bab34d296ecbd4144d"} device-1 | {"level":"info","message":"GET /devices/80b37bf7-8cc1-4e9a-8add-dc354323415f? 200 49ms","method":"GET","requestID":"eecb4a872dd6a5bab34d296ecbd4144d","responseTime":49,"status":200,"url":"/devices/80b37bf7-8cc1-4e9a-8add-dc354323415f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70","level":"info","message":"auth send jwt","requestID":"bad3fd873b1ef22d5ed0113a1557596d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bad3fd873b1ef22d5ed0113a1557596d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bad3fd873b1ef22d5ed0113a1557596d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":140,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":140,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.265571,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c0ea4038-da17-4f70-8df8-a658f74ffd24","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bad3fd873b1ef22d5ed0113a1557596d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c0ea4038-da17-4f70-8df8-a658f74ffd24","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bad3fd873b1ef22d5ed0113a1557596d","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc0ea4038-da17-4f70-8df8-a658f74ffd24","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc0ea4038-da17-4f70-8df8-a658f74ffd24","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.780070947Z"}]},"request_id":"caa5be8d-e298-47c0-a77e-ceb3e09e9585","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.1008658} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bad3fd873b1ef22d5ed0113a1557596d","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":141,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":141,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.232174,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":142,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":142,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.029447,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60324","level":"info","msg":"Received request.","req_id":143,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60324","level":"info","msg":"Sent response.","req_id":143,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.985892,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60338","level":"info","msg":"Received request.","req_id":144,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5a4141bf-e318-47c1-8ffd-8de6dc3108f4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bad3fd873b1ef22d5ed0113a1557596d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5a4141bf-e318-47c1-8ffd-8de6dc3108f4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"bad3fd873b1ef22d5ed0113a1557596d","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2de54cb1-f22a-4052-a09c-aa99b09e6257","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bad3fd873b1ef22d5ed0113a1557596d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/2de54cb1-f22a-4052-a09c-aa99b09e6257","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"bad3fd873b1ef22d5ed0113a1557596d","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4dcf186f-2d53-4e70-b399-0dd30998eb14","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bad3fd873b1ef22d5ed0113a1557596d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/4dcf186f-2d53-4e70-b399-0dd30998eb14","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"bad3fd873b1ef22d5ed0113a1557596d","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60338","level":"info","msg":"Sent response.","req_id":144,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.228115,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f18fbb97-d602-49de-98e7-6ada5eea7f97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bad3fd873b1ef22d5ed0113a1557596d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f18fbb97-d602-49de-98e7-6ada5eea7f97","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"bad3fd873b1ef22d5ed0113a1557596d","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":145,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60340","level":"info","msg":"Received request.","req_id":146,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":145,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.80108,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c15ee97-31ea-47dd-94df-e6561ca35d2f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bad3fd873b1ef22d5ed0113a1557596d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/4c15ee97-31ea-47dd-94df-e6561ca35d2f","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"bad3fd873b1ef22d5ed0113a1557596d","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60340","level":"info","msg":"Sent response.","req_id":146,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.661481,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/80b37bf7-8cc1-4e9a-8add-dc354323415f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bad3fd873b1ef22d5ed0113a1557596d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/80b37bf7-8cc1-4e9a-8add-dc354323415f","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"bad3fd873b1ef22d5ed0113a1557596d","responseTime":12,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bad3fd873b1ef22d5ed0113a1557596d"} gateway-1 | {"time_local":"30/Jul/2024:14:06:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c0ea4038-da17-4f70-8df8-a658f74ffd24? HTTP/1.1","status": "200","body_bytes_sent":"1491","request_time":"0.059","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bad3fd873b1ef22d5ed0113a1557596d"} device-1 | {"level":"info","message":"GET /devices/c0ea4038-da17-4f70-8df8-a658f74ffd24? 200 53ms","method":"GET","requestID":"bad3fd873b1ef22d5ed0113a1557596d","responseTime":53,"status":200,"url":"/devices/c0ea4038-da17-4f70-8df8-a658f74ffd24?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70","level":"info","message":"auth send jwt","requestID":"35c16934567f559c198aee7566ab827d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"35c16934567f559c198aee7566ab827d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"35c16934567f559c198aee7566ab827d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":147,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":147,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.270277,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4c15ee97-31ea-47dd-94df-e6561ca35d2f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"35c16934567f559c198aee7566ab827d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/4c15ee97-31ea-47dd-94df-e6561ca35d2f","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"35c16934567f559c198aee7566ab827d","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c15ee97-31ea-47dd-94df-e6561ca35d2f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4c15ee97-31ea-47dd-94df-e6561ca35d2f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:05.852840301Z"}]},"request_id":"cc91aef9-ef89-473e-a42d-7ebf904deb8a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.164608} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"35c16934567f559c198aee7566ab827d","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":148,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":149,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":148,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.801184,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":149,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.988344,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60324","level":"info","msg":"Received request.","req_id":150,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60324","level":"info","msg":"Sent response.","req_id":150,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.074193,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:60338","level":"info","msg":"Received request.","req_id":151,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cc34b92a-d102-4e4d-aef8-4a34a2326a60","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"35c16934567f559c198aee7566ab827d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/cc34b92a-d102-4e4d-aef8-4a34a2326a60","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"35c16934567f559c198aee7566ab827d","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0b0ef295-0047-4588-abc5-076f143dffc1","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"35c16934567f559c198aee7566ab827d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/0b0ef295-0047-4588-abc5-076f143dffc1","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"35c16934567f559c198aee7566ab827d","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8942a3f2-bd4b-4cd3-9b8c-1d0a0f4e1742","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"35c16934567f559c198aee7566ab827d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8942a3f2-bd4b-4cd3-9b8c-1d0a0f4e1742","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"35c16934567f559c198aee7566ab827d","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60338","level":"info","msg":"Sent response.","req_id":151,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.45903,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/80b37bf7-8cc1-4e9a-8add-dc354323415f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"35c16934567f559c198aee7566ab827d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/80b37bf7-8cc1-4e9a-8add-dc354323415f","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"35c16934567f559c198aee7566ab827d","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"35c16934567f559c198aee7566ab827d"} gateway-1 | {"time_local":"30/Jul/2024:14:06:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4c15ee97-31ea-47dd-94df-e6561ca35d2f? HTTP/1.1","status": "200","body_bytes_sent":"1142","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"35c16934567f559c198aee7566ab827d"} device-1 | {"level":"info","message":"GET /devices/4c15ee97-31ea-47dd-94df-e6561ca35d2f? 200 44ms","method":"GET","requestID":"35c16934567f559c198aee7566ab827d","responseTime":44,"status":200,"url":"/devices/4c15ee97-31ea-47dd-94df-e6561ca35d2f?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70","level":"info","message":"auth send jwt","requestID":"cdb9a3edd2fb3fe9634c73e63760646a"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"cdb9a3edd2fb3fe9634c73e63760646a","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"cdb9a3edd2fb3fe9634c73e63760646a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":152,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":152,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":2.333406,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"cdb9a3edd2fb3fe9634c73e63760646a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"cdb9a3edd2fb3fe9634c73e63760646a","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd416508c-a4eb-410b-b849-d02d26c03d6e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2334c2f3-1f02-414b-aff7-01e4336758d3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.2313058} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"cdb9a3edd2fb3fe9634c73e63760646a","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2c9572e9-c3db-4839-9677-336d372941e0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.2388794} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"cdb9a3edd2fb3fe9634c73e63760646a","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd416508c-a4eb-410b-b849-d02d26c03d6e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"4b919cca-d94a-45f5-8f30-e6697fa48b39","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.2517145} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4448256b-ffeb-4c4a-9f03-dbd538fedd66","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.2519758} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"cdb9a3edd2fb3fe9634c73e63760646a","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd416508c-a4eb-410b-b849-d02d26c03d6e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd416508c-a4eb-410b-b849-d02d26c03d6e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:06.251688459Z"}]},"request_id":"762386a3-1edc-44dc-a5e1-f09601789513","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.258923} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cdb9a3edd2fb3fe9634c73e63760646a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"cdb9a3edd2fb3fe9634c73e63760646a"} gateway-1 | {"time_local":"30/Jul/2024:14:06:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"284","request_time":"0.065","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cdb9a3edd2fb3fe9634c73e63760646a"} device-1 | {"level":"info","message":"POST /devices? 201 58ms","method":"POST","requestID":"cdb9a3edd2fb3fe9634c73e63760646a","responseTime":58,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70","level":"info","message":"auth send jwt","requestID":"284835f7ce02bd49faf889e6f038358e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"284835f7ce02bd49faf889e6f038358e","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"284835f7ce02bd49faf889e6f038358e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":153,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":153,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.286562,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"284835f7ce02bd49faf889e6f038358e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"284835f7ce02bd49faf889e6f038358e","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdc0766a-76bb-488e-b98a-2cf0636a2565","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b356c5e3-690c-4e4f-a112-bff6f296a35f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.2940366} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"284835f7ce02bd49faf889e6f038358e","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"959e9e1e-2c73-48c2-ad9b-1b487b99a117","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.3022752} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"284835f7ce02bd49faf889e6f038358e","responseTime":9,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdc0766a-76bb-488e-b98a-2cf0636a2565","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"feff895d-557b-42fb-904f-8fc6a987c496","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.3125546} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"198990d7-a10e-4b83-9359-b00f3e487f4f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.3132675} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"284835f7ce02bd49faf889e6f038358e","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdc0766a-76bb-488e-b98a-2cf0636a2565","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdc0766a-76bb-488e-b98a-2cf0636a2565","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:06.312527925Z"}]},"request_id":"def41a5e-2fd3-4939-9840-36a5598eae6a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.3200083} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"284835f7ce02bd49faf889e6f038358e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"284835f7ce02bd49faf889e6f038358e"} gateway-1 | {"time_local":"30/Jul/2024:14:06:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"545","request_time":"0.059","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"284835f7ce02bd49faf889e6f038358e"} device-1 | {"level":"info","message":"POST /devices? 201 52ms","method":"POST","requestID":"284835f7ce02bd49faf889e6f038358e","responseTime":52,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70","level":"info","message":"auth send jwt","requestID":"bebd3a5c91794f66a237030e026e4413"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bebd3a5c91794f66a237030e026e4413","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"bebd3a5c91794f66a237030e026e4413"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":154,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":154,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.312925,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bebd3a5c91794f66a237030e026e4413","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348366,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2Nn0.IdStlCSB4ji9n5PIdqpi1lb7xFDsbhXud6MCCTKIA70"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bebd3a5c91794f66a237030e026e4413","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c5814170-8493-46d5-a0b3-23a2b5bc35d0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.359218} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bebd3a5c91794f66a237030e026e4413","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bde97241-3352-4244-93bc-58835f21dbae","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.3674786} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"bebd3a5c91794f66a237030e026e4413","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"54432934-799a-430f-91f6-238b4076eb48","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.3799455} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ff17110c-3577-47af-8ec8-7632457f8a23","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.3800366} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"bebd3a5c91794f66a237030e026e4413","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:06.379930866Z"}]},"request_id":"f3ca1e79-00fb-4691-a829-a15abb3f6b89","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348366.3870072} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bebd3a5c91794f66a237030e026e4413","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"bebd3a5c91794f66a237030e026e4413"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.065","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bebd3a5c91794f66a237030e026e4413"} device-1 | {"level":"info","message":"POST /devices? 201 58ms","method":"POST","requestID":"bebd3a5c91794f66a237030e026e4413","responseTime":58,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8689ec93b4e00de52b20ad114bdca6ac","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"8689ec93b4e00de52b20ad114bdca6ac","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/519c3010-fa16-4343-8a50-32638dfc04bd/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":"8689ec93b4e00de52b20ad114bdca6ac"} device-1 | {"level":"info","message":"OPTIONS /devices/519c3010-fa16-4343-8a50-32638dfc04bd/websocket 200 2ms","method":"OPTIONS","requestID":"8689ec93b4e00de52b20ad114bdca6ac","responseTime":2,"status":200,"url":"/devices/519c3010-fa16-4343-8a50-32638dfc04bd/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo","level":"info","message":"auth send jwt","requestID":"2349f036c19b4771b27c03ca9578be65"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"2349f036c19b4771b27c03ca9578be65","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"2349f036c19b4771b27c03ca9578be65"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":155,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":155,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.305645,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"2349f036c19b4771b27c03ca9578be65","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2349f036c19b4771b27c03ca9578be65","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5d77ef3f988f7c68d1f0bc8a0cace28e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"5d77ef3f988f7c68d1f0bc8a0cace28e","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/d416508c-a4eb-410b-b849-d02d26c03d6e/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":"5d77ef3f988f7c68d1f0bc8a0cace28e"} device-1 | {"level":"info","message":"OPTIONS /devices/d416508c-a4eb-410b-b849-d02d26c03d6e/websocket 200 2ms","method":"OPTIONS","requestID":"5d77ef3f988f7c68d1f0bc8a0cace28e","responseTime":2,"status":200,"url":"/devices/d416508c-a4eb-410b-b849-d02d26c03d6e/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo","level":"info","message":"auth send jwt","requestID":"4c7386d516c8c04d501c8508b9be3e64"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4c7386d516c8c04d501c8508b9be3e64","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"4c7386d516c8c04d501c8508b9be3e64"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":156,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"2349f036c19b4771b27c03ca9578be65"} gateway-1 | {"time_local":"30/Jul/2024:14:06:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/519c3010-fa16-4343-8a50-32638dfc04bd/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":"2349f036c19b4771b27c03ca9578be65"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":156,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.37349,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} device-1 | {"level":"info","message":"POST /devices/519c3010-fa16-4343-8a50-32638dfc04bd/websocket 200 42ms","method":"POST","requestID":"2349f036c19b4771b27c03ca9578be65","responseTime":42,"status":200,"url":"/devices/519c3010-fa16-4343-8a50-32638dfc04bd/websocket"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"4c7386d516c8c04d501c8508b9be3e64","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4c7386d516c8c04d501c8508b9be3e64","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"4c7386d516c8c04d501c8508b9be3e64"} gateway-1 | {"time_local":"30/Jul/2024:14:06:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d416508c-a4eb-410b-b849-d02d26c03d6e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.036","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4c7386d516c8c04d501c8508b9be3e64"} device-1 | {"level":"info","message":"POST /devices/d416508c-a4eb-410b-b849-d02d26c03d6e/websocket 200 28ms","method":"POST","requestID":"4c7386d516c8c04d501c8508b9be3e64","responseTime":28,"status":200,"url":"/devices/d416508c-a4eb-410b-b849-d02d26c03d6e/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo","level":"info","message":"auth send jwt","requestID":"c83b90922d23a30d75dee6c5c7c7c9b8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c83b90922d23a30d75dee6c5c7c7c9b8","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c83b90922d23a30d75dee6c5c7c7c9b8"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":157,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":157,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.387584,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"c83b90922d23a30d75dee6c5c7c7c9b8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"c83b90922d23a30d75dee6c5c7c7c9b8","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:06.379930866Z"}]},"request_id":"b3d48d92-df24-4be8-9ad3-c024c468008a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.459092} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c83b90922d23a30d75dee6c5c7c7c9b8","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c83b90922d23a30d75dee6c5c7c7c9b8"} gateway-1 | {"time_local":"30/Jul/2024:14:06:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/519c3010-fa16-4343-8a50-32638dfc04bd? 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":"c83b90922d23a30d75dee6c5c7c7c9b8"} device-1 | {"level":"info","message":"GET /devices/519c3010-fa16-4343-8a50-32638dfc04bd? 200 20ms","method":"GET","requestID":"c83b90922d23a30d75dee6c5c7c7c9b8","responseTime":20,"status":200,"url":"/devices/519c3010-fa16-4343-8a50-32638dfc04bd?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo","level":"info","message":"auth send jwt","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":158,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":158,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.680118,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"98cc5413af5bdd0d1a6aef50e92e59b7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Attempting to run experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Attempting to book experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Successfully booked experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"de5c5900-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"de5cce30-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":159,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":159,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.621676,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":160,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdc0766a-76bb-488e-b98a-2cf0636a2565","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de5c5900-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/cdc0766a-76bb-488e-b98a-2cf0636a2565","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"de5c5900-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":160,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.292439,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de5cce30-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"de5cce30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdc0766a-76bb-488e-b98a-2cf0636a2565","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdc0766a-76bb-488e-b98a-2cf0636a2565","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:06.312527925Z"}]},"request_id":"63947f18-f80b-4a8d-a6ba-12573d68c23c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.543588} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"de5c5900-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:06.379930866Z"}]},"request_id":"3686916d-54f4-453e-aa44-59aabc99d893","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.545516} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"de5cce30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"de5cce30-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/519c3010-fa16-4343-8a50-32638dfc04bd? 200 25ms","method":"GET","requestID":"de5cce30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":25,"status":200,"url":"/devices/519c3010-fa16-4343-8a50-32638dfc04bd?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":161,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":161,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.081485,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de5c5900-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"de5c5900-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"de5c5900-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/cdc0766a-76bb-488e-b98a-2cf0636a2565? 200 35ms","method":"GET","requestID":"de5c5900-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":35,"status":200,"url":"/devices/cdc0766a-76bb-488e-b98a-2cf0636a2565?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Setting up experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Successfully locked booking for experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Attempting to update booking for experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Successfully updated booking for experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Successfully set up experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"de6d48f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"de6dbe20-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Successfully running experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"de6e5a60-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":162,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":162,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.100346,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":163,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de6d48f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"de6d48f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":163,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.16913,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de6dbe20-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"de6dbe20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":164,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":164,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.296453,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd416508c-a4eb-410b-b849-d02d26c03d6e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"20eea977-3c79-4d71-9d79-eb50203b7783","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.6588001} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de6e5a60-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","object_type":"device","rebac_allow":false,"scope_allow":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":"de6e5a60-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd416508c-a4eb-410b-b849-d02d26c03d6e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd416508c-a4eb-410b-b849-d02d26c03d6e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:06.251688459Z"}]},"request_id":"187a8aef-54f9-4b5c-8e4b-363eb86b855d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.661509} authorization-1 | {"level":"info","message":"POST /relations/query 200 10ms","method":"POST","requestID":"de6d48f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"de6e5a60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d416508c-a4eb-410b-b849-d02d26c03d6e/signaling 200 23ms","method":"POST","requestID":"de6e5a60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":23,"status":200,"url":"/devices/d416508c-a4eb-410b-b849-d02d26c03d6e/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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:06.379930866Z"}]},"request_id":"b92226f6-8722-42a8-be87-2391bf9706d5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.6670673} authorization-1 | {"level":"info","message":"POST /relations/query 200 10ms","method":"POST","requestID":"de6dbe20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0aa88fd5-bfb3-4615-9342-1a7d88cf1378#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0aa88fd5-bfb3-4615-9342-1a7d88cf1378","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"5281ea11-3b18-447d-81b3-5151435d3287","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.6724195} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4a4691ba-a9db-49d7-8f6b-e4977d7a8284","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.6726477} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7","responseTime":24,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"de72c730-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"de6d48f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/d416508c-a4eb-410b-b849-d02d26c03d6e? 200 38ms","method":"GET","requestID":"de6d48f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":38,"status":200,"url":"/devices/d416508c-a4eb-410b-b849-d02d26c03d6e?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":165,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"de6dbe20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/519c3010-fa16-4343-8a50-32638dfc04bd? 200 38ms","method":"GET","requestID":"de6dbe20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":38,"status":200,"url":"/devices/519c3010-fa16-4343-8a50-32638dfc04bd?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"737f8ff4-6a16-438f-98fe-c0bb9ee9e7f9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.6799607} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":165,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.419687,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de72c730-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"de72c730-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"de73ffb0-4e7c-11ef-b6a3-8dff1d026ae9"} gateway-1 | {"time_local":"30/Jul/2024:14:06:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"807","request_time":"0.215","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} experiment-1 | {"level":"info","message":"POST /experiments? 201 206ms","method":"POST","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7","responseTime":206,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"de72c730-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/519c3010-fa16-4343-8a50-32638dfc04bd/signaling 200 11ms","method":"POST","requestID":"de72c730-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/519c3010-fa16-4343-8a50-32638dfc04bd/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":166,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd416508c-a4eb-410b-b849-d02d26c03d6e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4cef91f1-45f8-4148-955d-befade6a049d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.688282} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":166,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.459781,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo","level":"info","message":"auth send jwt","requestID":"cb6e29140588840c5cc5d72d904dc5ed"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"cb6e29140588840c5cc5d72d904dc5ed","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de73ffb0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"de73ffb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cb6e29140588840c5cc5d72d904dc5ed"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":167,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":167,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.524709,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"de73ffb0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d416508c-a4eb-410b-b849-d02d26c03d6e/signaling 200 12ms","method":"POST","requestID":"de73ffb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/d416508c-a4eb-410b-b849-d02d26c03d6e/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"cb6e29140588840c5cc5d72d904dc5ed","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cb6e29140588840c5cc5d72d904dc5ed","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"de762290-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd416508c-a4eb-410b-b849-d02d26c03d6e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd416508c-a4eb-410b-b849-d02d26c03d6e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:06.251688459Z"}]},"request_id":"e6c15088-3242-4301-a73d-8792c8fd8cc2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.699529} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cb6e29140588840c5cc5d72d904dc5ed","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":168,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a7ee602a-ca75-4ba2-8dd5-0d26615fce2b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.7027123} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":168,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.200688,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de762290-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cb6e29140588840c5cc5d72d904dc5ed"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"de762290-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/d416508c-a4eb-410b-b849-d02d26c03d6e? 200 15ms","method":"GET","requestID":"cb6e29140588840c5cc5d72d904dc5ed","responseTime":15,"status":200,"url":"/devices/d416508c-a4eb-410b-b849-d02d26c03d6e?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d416508c-a4eb-410b-b849-d02d26c03d6e? HTTP/1.1","status": "200","body_bytes_sent":"283","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cb6e29140588840c5cc5d72d904dc5ed"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"de762290-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/519c3010-fa16-4343-8a50-32638dfc04bd/signaling 200 10ms","method":"POST","requestID":"de762290-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/519c3010-fa16-4343-8a50-32638dfc04bd/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Building connection plan","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"bb7ae692-8c32-4301-9ca9-3cbb7a223faf"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"5b01cb36-f1e4-4492-822a-068623a67f3b"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"45a9bf2d-5606-4f3c-8721-080d59c08ce8"}]},"level":"info","message":"Built pairwise service configurations","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo","level":"info","message":"auth send jwt","requestID":"5309eb260f1502ae52b9a4fc46cb171f"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5309eb260f1502ae52b9a4fc46cb171f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5309eb260f1502ae52b9a4fc46cb171f"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"de789390-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":169,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":169,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.678641,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":170,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"5309eb260f1502ae52b9a4fc46cb171f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5309eb260f1502ae52b9a4fc46cb171f","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":170,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.603797,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de789390-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"de789390-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:06.379930866Z"}]},"request_id":"40b9ce16-3f2d-4e58-893d-78a2c12d150e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.7196066} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5309eb260f1502ae52b9a4fc46cb171f","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5309eb260f1502ae52b9a4fc46cb171f"} gateway-1 | {"time_local":"30/Jul/2024:14:06:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/519c3010-fa16-4343-8a50-32638dfc04bd? 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":"5309eb260f1502ae52b9a4fc46cb171f"} device-1 | {"level":"info","message":"GET /devices/519c3010-fa16-4343-8a50-32638dfc04bd? 200 14ms","method":"GET","requestID":"5309eb260f1502ae52b9a4fc46cb171f","responseTime":14,"status":200,"url":"/devices/519c3010-fa16-4343-8a50-32638dfc04bd?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"d4a9c2f0-fa72-40fb-a0e5-780cf951eee4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.7261667} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"06ed2b26-2488-42ae-8b2e-5655fe221428","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.7263327} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"de789390-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"de789390-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"de789390-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3'","requestID":"de789390-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3'","requestID":"de789390-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"de789390-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 28ms","method":"POST","requestID":"de789390-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":28,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"de789390-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3","device":"519c3010-fa16-4343-8a50-32638dfc04bd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3","device":"d416508c-a4eb-410b-b849-d02d26c03d6e","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":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"98cc5413af5bdd0d1a6aef50e92e59b7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"de814620-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":171,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd416508c-a4eb-410b-b849-d02d26c03d6e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b445310d-148c-47d5-b81c-1291edb1628e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.7739854} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":171,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":1.947248,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de814620-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","object_type":"device","rebac_allow":false,"scope_allow":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":"de814620-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"de814620-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d416508c-a4eb-410b-b849-d02d26c03d6e/signaling 200 8ms","method":"POST","requestID":"de814620-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/d416508c-a4eb-410b-b849-d02d26c03d6e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"de82ccc0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":172,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e4020fde-5065-4dc5-b0ac-99c67bf2c983","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.7856548} device-1 | {"device":"519c3010-fa16-4343-8a50-32638dfc04bd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"519c3010-fa16-4343-8a50-32638dfc04bd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":172,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.681251,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de82ccc0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"device":"d416508c-a4eb-410b-b849-d02d26c03d6e","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"de82ccc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"content":{"canTrickle":true},"device":"d416508c-a4eb-410b-b849-d02d26c03d6e","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"de82ccc0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/519c3010-fa16-4343-8a50-32638dfc04bd/signaling 200 13ms","method":"POST","requestID":"de82ccc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/519c3010-fa16-4343-8a50-32638dfc04bd/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 3335997158888009251 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:MbRl\r\na=ice-pwd:onsfuLOFjpqFgsapChRahDhg\r\na=ice-options:trickle\r\na=fingerprint:sha-256 E5:ED:08:DA:63:C7:80:70:3B:4F:C0:69:1C:53:EF:A9:A6:CA:CE:03:BC:BC:83:1A:CF:0F:C0:06:A4:C5:C9:60\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"d416508c-a4eb-410b-b849-d02d26c03d6e","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 2742824444382615056 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:l1is\r\na=ice-pwd:uId7A2X9KzJlM/IUqYMpk7XQ\r\na=ice-options:trickle\r\na=fingerprint:sha-256 26:39:6C:01:70:05:4B:ED:88:23:9A:CD:48:4B:25:DB:F2:94:0A:D2:7B:F3:57:01:A2:DB:DE:FB:BD:C0:CB:A2\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"519c3010-fa16-4343-8a50-32638dfc04bd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1280562115 1 udp 2113937151 9fefe520-7fab-4a5a-80cd-2ac84c99812f.local 42703 typ host generation 0 ufrag l1is network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"519c3010-fa16-4343-8a50-32638dfc04bd","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/519c3010-fa16-4343-8a50-32638dfc04bd'"} device-1 | {"content":{"candidate":"candidate:1230757019 1 udp 1677729535 141.24.211.56 42703 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag l1is network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"519c3010-fa16-4343-8a50-32638dfc04bd","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/519c3010-fa16-4343-8a50-32638dfc04bd'"} device-1 | {"content":{"candidate":"candidate:1455565486 1 udp 2113937151 78fcb750-13ed-4275-acdc-279067ee6ec3.local 44622 typ host generation 0 ufrag MbRl network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d416508c-a4eb-410b-b849-d02d26c03d6e","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1405756918 1 udp 1677729535 141.24.211.56 44622 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag MbRl network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d416508c-a4eb-410b-b849-d02d26c03d6e","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/d416508c-a4eb-410b-b849-d02d26c03d6e'"} device-1 | {"device":"d416508c-a4eb-410b-b849-d02d26c03d6e","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"d416508c-a4eb-410b-b849-d02d26c03d6e","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"519c3010-fa16-4343-8a50-32638dfc04bd","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"519c3010-fa16-4343-8a50-32638dfc04bd","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/b9abf689-2d21-4ffe-9f23-998f2570e9f3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b9abf689-2d21-4ffe-9f23-998f2570e9f3","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d416508c-a4eb-410b-b849-d02d26c03d6e","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0fd111f53327148a35cd060ec206c53b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0fd111f53327148a35cd060ec206c53b","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"519c3010-fa16-4343-8a50-32638dfc04bd","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/519c3010-fa16-4343-8a50-32638dfc04bd"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3"}}},"level":"info","message":"received a callback","requestID":"0fd111f53327148a35cd060ec206c53b"} device-1 | {"device":"519c3010-fa16-4343-8a50-32638dfc04bd","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"0fd111f53327148a35cd060ec206c53b","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.010","http_referrer":"","http_user_agent":"node-fetch","requestID":"0fd111f53327148a35cd060ec206c53b"} device-1 | {"data":{"peerconnection":"b9abf689-2d21-4ffe-9f23-998f2570e9f3","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"b9abf689-2d21-4ffe-9f23-998f2570e9f3","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/b9abf689-2d21-4ffe-9f23-998f2570e9f3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b9abf689-2d21-4ffe-9f23-998f2570e9f3","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4c7d149ddd8d51fca28d992b30f6b1b7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4c7d149ddd8d51fca28d992b30f6b1b7","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/519c3010-fa16-4343-8a50-32638dfc04bd"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3"}}},"level":"info","message":"received a callback","requestID":"4c7d149ddd8d51fca28d992b30f6b1b7"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"de8f01c0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":173,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb9abf689-2d21-4ffe-9f23-998f2570e9f3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f1cd1986-2e70-43c9-824d-5bdbf8f98dd8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.8650713} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":173,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":1.989468,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de8f01c0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3","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":"de8f01c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"de8f01c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3 200 8ms","method":"GET","requestID":"de8f01c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 25ms","method":"POST","requestID":"4c7d149ddd8d51fca28d992b30f6b1b7","responseTime":25,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.028","http_referrer":"","http_user_agent":"node-fetch","requestID":"4c7d149ddd8d51fca28d992b30f6b1b7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"de925d20-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":174,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"53efc010-7848-4577-b0c7-99699c9e6038","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.8869913} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":174,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.089504,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de925d20-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","object_type":"device","rebac_allow":false,"scope_allow":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":"de925d20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"de925d20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/519c3010-fa16-4343-8a50-32638dfc04bd/signaling 200 9ms","method":"POST","requestID":"de925d20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/519c3010-fa16-4343-8a50-32638dfc04bd/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"de93e3c0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":175,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd416508c-a4eb-410b-b849-d02d26c03d6e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"aca05f15-6b26-475d-bd17-3b25cdab234e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.897042} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":175,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.08699,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de93e3c0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","object_type":"device","rebac_allow":false,"scope_allow":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":"de93e3c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"de93e3c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d416508c-a4eb-410b-b849-d02d26c03d6e/signaling 200 9ms","method":"POST","requestID":"de93e3c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/d416508c-a4eb-410b-b849-d02d26c03d6e/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo","level":"info","message":"auth send jwt","requestID":"9119fd4c744744eb4f449074eec3e1a4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9119fd4c744744eb4f449074eec3e1a4","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378","requestID":"9119fd4c744744eb4f449074eec3e1a4"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":176,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":176,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.676356,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"9119fd4c744744eb4f449074eec3e1a4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9119fd4c744744eb4f449074eec3e1a4","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378","requestID":"9119fd4c744744eb4f449074eec3e1a4"} gateway-1 | {"time_local":"30/Jul/2024:14:06:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378 HTTP/1.1","status": "200","body_bytes_sent":"880","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9119fd4c744744eb4f449074eec3e1a4"} experiment-1 | {"level":"info","message":"GET /experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378 200 11ms","method":"GET","requestID":"9119fd4c744744eb4f449074eec3e1a4","responseTime":11,"status":200,"url":"/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo","level":"info","message":"auth send jwt","requestID":"f4268d98b140df4d2198a9a6bd1e592f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f4268d98b140df4d2198a9a6bd1e592f","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378","requestID":"f4268d98b140df4d2198a9a6bd1e592f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":177,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":177,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.170463,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f4268d98b140df4d2198a9a6bd1e592f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"f4268d98b140df4d2198a9a6bd1e592f","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Attempting to finish experiment","requestID":"f4268d98b140df4d2198a9a6bd1e592f"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"de9eb930-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":178,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":178,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.080835,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:08Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"de9eb930-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348368,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OH0.YoVHtZG7lH484aeVgMt3SHBrkfhaXXkiGG2AXKhiYSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"de9eb930-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3","device":"d416508c-a4eb-410b-b849-d02d26c03d6e","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3","device":"519c3010-fa16-4343-8a50-32638dfc04bd","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/b9abf689-2d21-4ffe-9f23-998f2570e9f3' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b9abf689-2d21-4ffe-9f23-998f2570e9f3","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a9dd8fb8-495e-43a7-bdbd-ba596b3f6ddf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.9873934} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb9abf689-2d21-4ffe-9f23-998f2570e9f3': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb9abf689-2d21-4ffe-9f23-998f2570e9f3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"307fbb3f-2c69-4e7f-b152-88a39448bab6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348368.9882312} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"09f27ae89fa180df6cd8d5cdc80c5e89","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"09f27ae89fa180df6cd8d5cdc80c5e89","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"33bc9917fdd533216fd6860bc13310cd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3"}}},"level":"info","message":"received a callback","requestID":"09f27ae89fa180df6cd8d5cdc80c5e89"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"33bc9917fdd533216fd6860bc13310cd","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"de9eb930-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3"}}},"level":"info","message":"received a callback","requestID":"33bc9917fdd533216fd6860bc13310cd"} device-1 | {"data":{"peerconnection":"b9abf689-2d21-4ffe-9f23-998f2570e9f3","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"de9eb930-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3 204 43ms","method":"DELETE","requestID":"de9eb930-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":43,"status":204,"url":"/peerconnections/b9abf689-2d21-4ffe-9f23-998f2570e9f3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"},"level":"info","message":"Successfully finished experiment","requestID":"f4268d98b140df4d2198a9a6bd1e592f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dea7b9e0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":179,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:09Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F519c3010-fa16-4343-8a50-32638dfc04bd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5c8c4ad7-a3cf-40fc-95d3-6759826e7c86","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.0292058} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":179,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.059567,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dea7b9e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"dea7b9e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dea7b9e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/519c3010-fa16-4343-8a50-32638dfc04bd/signaling 200 12ms","method":"POST","requestID":"dea7b9e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/519c3010-fa16-4343-8a50-32638dfc04bd/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"dea9dcc0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0aa88fd5-bfb3-4615-9342-1a7d88cf1378': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F0aa88fd5-bfb3-4615-9342-1a7d88cf1378","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"9f8294c8-97e2-44ad-b15c-577aeefca855","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.0368366} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fb457d31-65cc-411c-9c0f-cdd9c23c7a1a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.037208} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"f4268d98b140df4d2198a9a6bd1e592f","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":180,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:09Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd416508c-a4eb-410b-b849-d02d26c03d6e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"139f95f2-ab65-429f-a430-4ef7a5e5e32a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.0411239} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":180,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.220221,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dea9dcc0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d416508c-a4eb-410b-b849-d02d26c03d6e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dea9dcc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"dea9dcc0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d416508c-a4eb-410b-b849-d02d26c03d6e/signaling 200 9ms","method":"POST","requestID":"dea9dcc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/d416508c-a4eb-410b-b849-d02d26c03d6e/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378","requestID":"f4268d98b140df4d2198a9a6bd1e592f"} gateway-1 | {"time_local":"30/Jul/2024:14:06:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.156","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f4268d98b140df4d2198a9a6bd1e592f"} experiment-1 | {"level":"info","message":"DELETE /experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378 204 153ms","method":"DELETE","requestID":"f4268d98b140df4d2198a9a6bd1e592f","responseTime":153,"status":204,"url":"/experiments/0aa88fd5-bfb3-4615-9342-1a7d88cf1378"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 117ms","method":"POST","requestID":"09f27ae89fa180df6cd8d5cdc80c5e89","responseTime":117,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.121","http_referrer":"","http_user_agent":"node-fetch","requestID":"09f27ae89fa180df6cd8d5cdc80c5e89"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 117ms","method":"POST","requestID":"33bc9917fdd533216fd6860bc13310cd","responseTime":117,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.121","http_referrer":"","http_user_agent":"node-fetch","requestID":"33bc9917fdd533216fd6860bc13310cd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OX0.Gd7uJU9MrUJtUgGc6TJcJwu-icMJ6CTAUu6FAoEwZdg","level":"info","message":"auth send jwt","requestID":"b720df1801beae8caa4fe510f734a2ad"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b720df1801beae8caa4fe510f734a2ad","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b720df1801beae8caa4fe510f734a2ad"} gateway-1 | {"time_local":"30/Jul/2024:14:06:09 +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.718","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"bceb19d3fc4a6e38c565ef60f3c044a4"} gateway-1 | {"time_local":"30/Jul/2024:14:06:09 +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.696","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"60c285a588a95fc13b7dcead2ce53b91"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":181,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:09Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":181,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.860218,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:09Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"b720df1801beae8caa4fe510f734a2ad","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348369,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OX0.Gd7uJU9MrUJtUgGc6TJcJwu-icMJ6CTAUu6FAoEwZdg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b720df1801beae8caa4fe510f734a2ad","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/d416508c-a4eb-410b-b849-d02d26c03d6e' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/519c3010-fa16-4343-8a50-32638dfc04bd' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"d438f558-a8fe-42f7-a43f-e791487f4045","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.132334} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b720df1801beae8caa4fe510f734a2ad","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"18c1476f-8471-4a40-ad41-30155ca0be88","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.137259} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b720df1801beae8caa4fe510f734a2ad","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"9cab7d68-f5f1-44a2-ba8c-d7687f8d0493","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.148167} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9efb270a-4041-4202-b4e2-b15e1897c018","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.148365} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"b720df1801beae8caa4fe510f734a2ad","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:09.148151986Z"}]},"request_id":"dae06c7e-dbde-4b66-a3d0-31c2ae4d64ce","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.1523485} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b720df1801beae8caa4fe510f734a2ad","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b720df1801beae8caa4fe510f734a2ad"} gateway-1 | {"time_local":"30/Jul/2024:14:06:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b720df1801beae8caa4fe510f734a2ad"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"b720df1801beae8caa4fe510f734a2ad","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OX0.Gd7uJU9MrUJtUgGc6TJcJwu-icMJ6CTAUu6FAoEwZdg","level":"info","message":"auth send jwt","requestID":"69c73df252398df717d0af78357d25e5"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"69c73df252398df717d0af78357d25e5","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"69c73df252398df717d0af78357d25e5"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":182,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:09Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":182,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.640863,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:09Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"69c73df252398df717d0af78357d25e5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348369,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OX0.Gd7uJU9MrUJtUgGc6TJcJwu-icMJ6CTAUu6FAoEwZdg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"69c73df252398df717d0af78357d25e5","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"130bfedd-1ec7-448f-b691-b60b8fb8cb67","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.175874} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"69c73df252398df717d0af78357d25e5","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"21c3e19a-e675-4e12-b672-66a8081e8e81","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.1808057} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"69c73df252398df717d0af78357d25e5","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"e40c46d4-f4fb-4d32-b325-428cbe4a092a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.1893644} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4fa76318-6f8d-4ed6-b3d7-f41077ce6435","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.1895318} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"69c73df252398df717d0af78357d25e5","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:09.189347890Z"}]},"request_id":"a2374b86-d35f-4bb2-b01b-3d26b23131f9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.1931474} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"69c73df252398df717d0af78357d25e5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"69c73df252398df717d0af78357d25e5"} gateway-1 | {"time_local":"30/Jul/2024:14:06:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.039","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"69c73df252398df717d0af78357d25e5"} device-1 | {"level":"info","message":"POST /devices? 201 35ms","method":"POST","requestID":"69c73df252398df717d0af78357d25e5","responseTime":35,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OX0.Gd7uJU9MrUJtUgGc6TJcJwu-icMJ6CTAUu6FAoEwZdg","level":"info","message":"auth send jwt","requestID":"7cffb76911f5cbb9955d5f7ee6b92314"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7cffb76911f5cbb9955d5f7ee6b92314","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"7cffb76911f5cbb9955d5f7ee6b92314"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":183,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:09Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":183,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.277877,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:09Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"7cffb76911f5cbb9955d5f7ee6b92314","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348369,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OX0.Gd7uJU9MrUJtUgGc6TJcJwu-icMJ6CTAUu6FAoEwZdg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7cffb76911f5cbb9955d5f7ee6b92314","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:09.148151986Z"}]},"request_id":"e6c84f68-5d49-4a1a-9972-281267187a18","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.697279} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7cffb76911f5cbb9955d5f7ee6b92314","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a1e97333-9afd-4cfc-b910-a003d642c892","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.7047284} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"7cffb76911f5cbb9955d5f7ee6b92314","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:09.148151986Z"}]},"request_id":"a838f947-53b9-43e5-9e2d-5c1a8a55de42","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348369.717729} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7cffb76911f5cbb9955d5f7ee6b92314","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"7cffb76911f5cbb9955d5f7ee6b92314"} gateway-1 | {"time_local":"30/Jul/2024:14:06:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.045","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"7cffb76911f5cbb9955d5f7ee6b92314"} device-1 | {"level":"info","message":"PATCH /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad 200 40ms","method":"PATCH","requestID":"7cffb76911f5cbb9955d5f7ee6b92314","responseTime":40,"status":200,"url":"/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OX0.Gd7uJU9MrUJtUgGc6TJcJwu-icMJ6CTAUu6FAoEwZdg","level":"info","message":"auth send jwt","requestID":"3242cbcc29c861e07f3c06da1106b593"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3242cbcc29c861e07f3c06da1106b593","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"3242cbcc29c861e07f3c06da1106b593"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":184,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:09Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":184,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.140528,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:09Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"3242cbcc29c861e07f3c06da1106b593","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348369,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM2OX0.Gd7uJU9MrUJtUgGc6TJcJwu-icMJ6CTAUu6FAoEwZdg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3242cbcc29c861e07f3c06da1106b593","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"3242cbcc29c861e07f3c06da1106b593"} gateway-1 | {"time_local":"30/Jul/2024:14:06:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.028","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"3242cbcc29c861e07f3c06da1106b593"} device-1 | {"level":"info","message":"POST /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad/websocket 200 22ms","method":"POST","requestID":"3242cbcc29c861e07f3c06da1106b593","responseTime":22,"status":200,"url":"/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6facbf7703319f6ce68a80f23dcbe43a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6facbf7703319f6ce68a80f23dcbe43a","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/98236804-a84e-40ba-9e2c-cffe27a668c6/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":"6facbf7703319f6ce68a80f23dcbe43a"} device-1 | {"level":"info","message":"OPTIONS /devices/98236804-a84e-40ba-9e2c-cffe27a668c6/websocket 200 1ms","method":"OPTIONS","requestID":"6facbf7703319f6ce68a80f23dcbe43a","responseTime":1,"status":200,"url":"/devices/98236804-a84e-40ba-9e2c-cffe27a668c6/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA","level":"info","message":"auth send jwt","requestID":"d7ed508eae24ebd12e6b89a7f2986fc2"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"d7ed508eae24ebd12e6b89a7f2986fc2","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d7ed508eae24ebd12e6b89a7f2986fc2"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":185,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":185,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.287685,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d7ed508eae24ebd12e6b89a7f2986fc2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348371,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d7ed508eae24ebd12e6b89a7f2986fc2","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d7ed508eae24ebd12e6b89a7f2986fc2"} device-1 | {"level":"info","message":"POST /devices/98236804-a84e-40ba-9e2c-cffe27a668c6/websocket 200 21ms","method":"POST","requestID":"d7ed508eae24ebd12e6b89a7f2986fc2","responseTime":21,"status":200,"url":"/devices/98236804-a84e-40ba-9e2c-cffe27a668c6/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:06:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/98236804-a84e-40ba-9e2c-cffe27a668c6/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":"d7ed508eae24ebd12e6b89a7f2986fc2"} device-1 | {"level":"info","message":"device 'http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA","level":"info","message":"auth send jwt","requestID":"80f30c1bba170eab4cd559f49653ec45"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"80f30c1bba170eab4cd559f49653ec45","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"80f30c1bba170eab4cd559f49653ec45"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":186,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":186,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.291742,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"80f30c1bba170eab4cd559f49653ec45","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348371,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"80f30c1bba170eab4cd559f49653ec45","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:09.148151986Z"}]},"request_id":"1dec0e84-663c-45cb-985e-c54f3dcc6bb9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.243255} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"80f30c1bba170eab4cd559f49653ec45","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"80f30c1bba170eab4cd559f49653ec45"} device-1 | {"level":"info","message":"GET /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad? 200 20ms","method":"GET","requestID":"80f30c1bba170eab4cd559f49653ec45","responseTime":20,"status":200,"url":"/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"80f30c1bba170eab4cd559f49653ec45"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA","level":"info","message":"auth send jwt","requestID":"20c3ba52604246bcf3c79d75643fcb1e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"20c3ba52604246bcf3c79d75643fcb1e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"20c3ba52604246bcf3c79d75643fcb1e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":187,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":187,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.096903,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"20c3ba52604246bcf3c79d75643fcb1e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348371,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"20c3ba52604246bcf3c79d75643fcb1e","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:09.189347890Z"}]},"request_id":"da83dc26-38f8-4424-8f8b-97846b22f165","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.2708716} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"20c3ba52604246bcf3c79d75643fcb1e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"20c3ba52604246bcf3c79d75643fcb1e"} device-1 | {"level":"info","message":"GET /devices/98236804-a84e-40ba-9e2c-cffe27a668c6? 200 19ms","method":"GET","requestID":"20c3ba52604246bcf3c79d75643fcb1e","responseTime":19,"status":200,"url":"/devices/98236804-a84e-40ba-9e2c-cffe27a668c6?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/98236804-a84e-40ba-9e2c-cffe27a668c6? 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":"20c3ba52604246bcf3c79d75643fcb1e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA","level":"info","message":"auth send jwt","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":188,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":188,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.195423,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348371,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Attempting to run experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Attempting to book experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Successfully booked experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e0096cc0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e009bae0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":189,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":189,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.271458,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":190,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e0096cc0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348371,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e0096cc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":190,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.343895,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e009bae0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348371,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e009bae0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:09.148151986Z"}]},"request_id":"9d4f4869-37ec-4314-9deb-4f635ffd2b2d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.3531742} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e0096cc0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:09.189347890Z"}]},"request_id":"e7ccbd19-1d33-4c26-89f7-27235abae1b9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.3545535} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e009bae0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e0096cc0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad? 200 25ms","method":"GET","requestID":"e0096cc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":25,"status":200,"url":"/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e009bae0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/98236804-a84e-40ba-9e2c-cffe27a668c6? 200 25ms","method":"GET","requestID":"e009bae0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":25,"status":200,"url":"/devices/98236804-a84e-40ba-9e2c-cffe27a668c6?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Setting up experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Successfully locked booking for experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Attempting to update booking for experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Successfully updated booking for experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Successfully set up experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e01616f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e0168c20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e016da40-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Successfully running experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":191,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":191,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.44425,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":192,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e01616f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348371,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"e01616f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":192,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.197639,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e0168c20-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348371,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"e0168c20-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:09.148151986Z"}]},"request_id":"162cc2f9-a2d1-40f0-bc0a-453014235d40","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.4423604} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:09.189347890Z"}]},"request_id":"fb1991d7-9f25-4db9-890d-86667d880045","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.444849} authorization-1 | {"level":"info","message":"POST /relations/query 200 10ms","method":"POST","requestID":"e01616f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"e0168c20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:52546","level":"info","msg":"Received request.","req_id":193,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"client_addr":"127.0.0.1:52546","level":"info","msg":"Sent response.","req_id":193,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.840148,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0092c654-e184-4846-bc29-50cd1288d061","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.4499965} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e016da40-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e01616f0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /authorize 200 19ms","method":"POST","requestID":"e016da40-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad? 200 31ms","method":"GET","requestID":"e01616f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":31,"status":200,"url":"/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e0168c20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/98236804-a84e-40ba-9e2c-cffe27a668c6? 200 34ms","method":"GET","requestID":"e0168c20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":34,"status":200,"url":"/devices/98236804-a84e-40ba-9e2c-cffe27a668c6?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e016da40-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad/signaling 200 34ms","method":"POST","requestID":"e016da40-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":34,"status":200,"url":"/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fad6b719d-9075-48f1-9f03-8b3a1624b3f6#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fad6b719d-9075-48f1-9f03-8b3a1624b3f6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"d20aff1d-fe40-4028-be86-c43b0957202b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.4567707} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c557860c-40b8-462b-8199-1b3084e3f2a0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.4571724} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e01c5880-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 30ms","method":"POST","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad","responseTime":30,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e01ccdb0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":194,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3369f742-4252-4913-b7f4-be1e24be89b2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.474748} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":195,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":194,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.206245,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e01c5880-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","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/ad6b719d-9075-48f1-9f03-8b3a1624b3f6","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"e01c5880-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"30/Jul/2024:14:06:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"811","request_time":"0.199","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} experiment-1 | {"level":"info","message":"POST /experiments? 201 192ms","method":"POST","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad","responseTime":192,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"935a6eec-543d-4d5c-b88a-89d050c96fc7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.4802568} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e01c5880-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad/signaling 200 21ms","method":"POST","requestID":"e01c5880-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":21,"status":200,"url":"/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad/signaling"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":195,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":9.513035,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e01ccdb0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","object_type":"device","rebac_allow":false,"scope_allow":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":"e01ccdb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e0200200-4e7c-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA","level":"info","message":"auth send jwt","requestID":"aa2836b3cb1c352fb5aa6cd8e090e779"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"aa2836b3cb1c352fb5aa6cd8e090e779","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"aa2836b3cb1c352fb5aa6cd8e090e779"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e01ccdb0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/98236804-a84e-40ba-9e2c-cffe27a668c6/signaling 200 28ms","method":"POST","requestID":"e01ccdb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":28,"status":200,"url":"/devices/98236804-a84e-40ba-9e2c-cffe27a668c6/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":196,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Received request.","req_id":197,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"92365b0a-6f9f-4a4a-ae49-3cbf186ed580","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.4978342} authorization-1 | {"client_addr":"127.0.0.1:60316","level":"info","msg":"Sent response.","req_id":197,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.163464,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"aa2836b3cb1c352fb5aa6cd8e090e779","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348371,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"aa2836b3cb1c352fb5aa6cd8e090e779","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":196,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.463047,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e0200200-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","object_type":"device","rebac_allow":false,"scope_allow":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":"e0200200-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:09.148151986Z"}]},"request_id":"99a321b4-1de7-4d58-9e54-5f2415364d11","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.5057375} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e0200200-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/98236804-a84e-40ba-9e2c-cffe27a668c6/signaling 200 19ms","method":"POST","requestID":"e0200200-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/devices/98236804-a84e-40ba-9e2c-cffe27a668c6/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"aa2836b3cb1c352fb5aa6cd8e090e779","responseTime":5,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Building connection plan","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"d39a3fc7-c05a-41fc-a261-bfcadeb8d25d"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"4bb0930c-7d76-41d3-9886-7fd91ef13d4c"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"cef636a9-7792-4088-ba85-4eee9918f2ef"}]},"level":"info","message":"Built pairwise service configurations","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"e0235d60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"aa2836b3cb1c352fb5aa6cd8e090e779"} gateway-1 | {"time_local":"30/Jul/2024:14:06:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"aa2836b3cb1c352fb5aa6cd8e090e779"} device-1 | {"level":"info","message":"GET /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad? 200 21ms","method":"GET","requestID":"aa2836b3cb1c352fb5aa6cd8e090e779","responseTime":21,"status":200,"url":"/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":198,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":198,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.704925,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e0235d60-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348371,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e0235d60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA","level":"info","message":"auth send jwt","requestID":"a1a9dc428eab4dd59522f4e314116835"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a1a9dc428eab4dd59522f4e314116835","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a1a9dc428eab4dd59522f4e314116835"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":199,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":199,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.942367,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"a1a9dc428eab4dd59522f4e314116835","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348371,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3MX0.TCD3KUyBGbMzKYWttCas_mekaF_aH3jQ3U4dh7WXZuA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a1a9dc428eab4dd59522f4e314116835","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:09.189347890Z"}]},"request_id":"edad3ab5-4448-43b0-94df-f7eb15d920a4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.526927} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a1a9dc428eab4dd59522f4e314116835","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a1a9dc428eab4dd59522f4e314116835"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"18697b4c-9561-46fb-9a10-e42a154b9a60","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.5318146} gateway-1 | {"time_local":"30/Jul/2024:14:06:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/98236804-a84e-40ba-9e2c-cffe27a668c6? 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":"a1a9dc428eab4dd59522f4e314116835"} device-1 | {"level":"info","message":"GET /devices/98236804-a84e-40ba-9e2c-cffe27a668c6? 200 14ms","method":"GET","requestID":"a1a9dc428eab4dd59522f4e314116835","responseTime":14,"status":200,"url":"/devices/98236804-a84e-40ba-9e2c-cffe27a668c6?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d88008bd-74d1-48bf-9a5f-99dc0ab73844","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.5321531} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"e0235d60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"e0235d60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"e0235d60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f'","requestID":"e0235d60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f'","requestID":"e0235d60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"e0235d60-4e7c-11ef-b6a3-8dff1d026ae9"} 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":"e0235d60-4e7c-11ef-b6a3-8dff1d026ae9","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":"e0235d60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","device":"98236804-a84e-40ba-9e2c-cffe27a668c6","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/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"e57f8aca9b0e4d3f8461ba14d23e29ad"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e02cfa50-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":200,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6243ae38-65a4-4a4f-8669-edc43b41400f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.577223} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":200,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.283986,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e02cfa50-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e02cfa50-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e02cfa50-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad/signaling 200 8ms","method":"POST","requestID":"e02cfa50-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e02ea800-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":201,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:11Z"} device-1 | {"device":"98236804-a84e-40ba-9e2c-cffe27a668c6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"98236804-a84e-40ba-9e2c-cffe27a668c6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ea23a4ae-d4be-4a2b-b20f-1db584575099","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348371.5891297} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":201,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.794983,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:11Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e02ea800-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e02ea800-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e02ea800-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/98236804-a84e-40ba-9e2c-cffe27a668c6/signaling 200 9ms","method":"POST","requestID":"e02ea800-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/98236804-a84e-40ba-9e2c-cffe27a668c6/signaling"} device-1 | {"device":"e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","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":"3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 6172504839182006415 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:t0SC\r\na=ice-pwd:byNimOgQa99vs5KEFlaxGHv9\r\na=ice-options:trickle\r\na=fingerprint:sha-256 B0:68:AC:0F:48:16:EB:B5:B2:38:90:40:32:21:71:8D:3C:48:82:7B:83:08:EB:C8:82:59:D8:DD:97:C1:F9:A8\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"98236804-a84e-40ba-9e2c-cffe27a668c6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"device":"98236804-a84e-40ba-9e2c-cffe27a668c6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:3286420998 1 udp 2113937151 9d03bd5a-f62c-4a30-a401-000a65c64aef.local 52835 typ host generation 0 ufrag t0SC network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"98236804-a84e-40ba-9e2c-cffe27a668c6","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/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"candidate":"candidate:3417998785 1 udp 1677729535 141.24.211.56 52835 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag t0SC network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"98236804-a84e-40ba-9e2c-cffe27a668c6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"98236804-a84e-40ba-9e2c-cffe27a668c6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"60721b0dc728743f9fe83d9de938cb9f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"60721b0dc728743f9fe83d9de938cb9f","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/98236804-a84e-40ba-9e2c-cffe27a668c6"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f"}}},"level":"info","message":"received a callback","requestID":"60721b0dc728743f9fe83d9de938cb9f"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6'"} device-1 | {"device":"e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","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":"e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","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":"e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","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 7ms","method":"POST","requestID":"60721b0dc728743f9fe83d9de938cb9f","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"60721b0dc728743f9fe83d9de938cb9f"} device-1 | {"device":"e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","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":"e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","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":"98236804-a84e-40ba-9e2c-cffe27a668c6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"98236804-a84e-40ba-9e2c-cffe27a668c6","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","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/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4265f3c55a40c0b85d718ebb5e8f272a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4265f3c55a40c0b85d718ebb5e8f272a","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/98236804-a84e-40ba-9e2c-cffe27a668c6"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f"}}},"level":"info","message":"received a callback","requestID":"4265f3c55a40c0b85d718ebb5e8f272a"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"e172c0c0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":202,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:13Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3ba8ca2f-fdc1-49a1-8d84-3674f7e27932","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348373.717401} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":202,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.632896,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e172c0c0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","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":"e172c0c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"e172c0c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f 200 16ms","method":"GET","requestID":"e172c0c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 54ms","method":"POST","requestID":"4265f3c55a40c0b85d718ebb5e8f272a","responseTime":54,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.057","http_referrer":"","http_user_agent":"node-fetch","requestID":"4265f3c55a40c0b85d718ebb5e8f272a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e1799e90-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":203,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:13Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d985633f-a34e-44c9-8d56-bec2beee590a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348373.7592676} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":203,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.117675,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e1799e90-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"e1799e90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e1799e90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/98236804-a84e-40ba-9e2c-cffe27a668c6/signaling 200 14ms","method":"POST","requestID":"e1799e90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/98236804-a84e-40ba-9e2c-cffe27a668c6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e17c36a0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":204,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:13Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6e796385-3d8c-493d-a4ec-f8bf10db0304","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348373.77789} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":204,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.857969,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e17c36a0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"e17c36a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e17c36a0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad/signaling 200 15ms","method":"POST","requestID":"e17c36a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3M30.9I2xaFN4uQqRtPXSL7pS3yBpF4s1QqQt6aa2VDAiukg","level":"info","message":"auth send jwt","requestID":"00fd330b68fbc3a8d7bb8f96afbb2fb6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"00fd330b68fbc3a8d7bb8f96afbb2fb6","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6","requestID":"00fd330b68fbc3a8d7bb8f96afbb2fb6"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":205,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:13Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":205,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.187498,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"00fd330b68fbc3a8d7bb8f96afbb2fb6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348373,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3M30.9I2xaFN4uQqRtPXSL7pS3yBpF4s1QqQt6aa2VDAiukg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"00fd330b68fbc3a8d7bb8f96afbb2fb6","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6","requestID":"00fd330b68fbc3a8d7bb8f96afbb2fb6"} gateway-1 | {"time_local":"30/Jul/2024:14:06:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6 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":"00fd330b68fbc3a8d7bb8f96afbb2fb6"} experiment-1 | {"level":"info","message":"GET /experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6 200 19ms","method":"GET","requestID":"00fd330b68fbc3a8d7bb8f96afbb2fb6","responseTime":19,"status":200,"url":"/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3M30.9I2xaFN4uQqRtPXSL7pS3yBpF4s1QqQt6aa2VDAiukg","level":"info","message":"auth send jwt","requestID":"8946a7ae1f6a18b94d2eaed95afb0787"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8946a7ae1f6a18b94d2eaed95afb0787","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6","requestID":"8946a7ae1f6a18b94d2eaed95afb0787"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":206,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:13Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":206,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.842363,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:13Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8946a7ae1f6a18b94d2eaed95afb0787","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348373,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3M30.9I2xaFN4uQqRtPXSL7pS3yBpF4s1QqQt6aa2VDAiukg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"8946a7ae1f6a18b94d2eaed95afb0787","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Attempting to finish experiment","requestID":"8946a7ae1f6a18b94d2eaed95afb0787"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"e1964e50-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":207,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:13Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":207,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.275697,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:13Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e1964e50-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348373,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3M30.9I2xaFN4uQqRtPXSL7pS3yBpF4s1QqQt6aa2VDAiukg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e1964e50-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","device":"98236804-a84e-40ba-9e2c-cffe27a668c6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","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":"e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","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":"e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","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/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e5440f963d060f84a2779ac8c93a6656","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e5440f963d060f84a2779ac8c93a6656","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"e5a026b3-6f38-41b7-8520-45abadbfd1ea","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348373.9773223} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7ffa1c5fd0a5d077fbbf1e9fa85051ef","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/98236804-a84e-40ba-9e2c-cffe27a668c6"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f"}}},"level":"info","message":"received a callback","requestID":"e5440f963d060f84a2779ac8c93a6656"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7ffa1c5fd0a5d077fbbf1e9fa85051ef","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"521301b0-ac23-4883-bd86-b2c5efa50c21","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348373.978181} 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/98236804-a84e-40ba-9e2c-cffe27a668c6"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f"}}},"level":"info","message":"received a callback","requestID":"7ffa1c5fd0a5d077fbbf1e9fa85051ef"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"e1964e50-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"e1964e50-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f 204 60ms","method":"DELETE","requestID":"e1964e50-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":60,"status":204,"url":"/peerconnections/3b6939ed-95db-4ae5-b2ca-5a3b2ec94b8f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"},"level":"info","message":"Successfully finished experiment","requestID":"8946a7ae1f6a18b94d2eaed95afb0787"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e1a31f90-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":208,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:14Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F98236804-a84e-40ba-9e2c-cffe27a668c6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1a6d1406-52e9-42cc-9884-fb8a513a7b49","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.033813} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":208,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.306818,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:14Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e1a31f90-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/98236804-a84e-40ba-9e2c-cffe27a668c6","object_type":"device","rebac_allow":false,"scope_allow":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":"e1a31f90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e1a31f90-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fad6b719d-9075-48f1-9f03-8b3a1624b3f6': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fad6b719d-9075-48f1-9f03-8b3a1624b3f6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"b4f42295-3d1f-46a0-bcce-6f2ff3ca47f6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.0411446} device-1 | {"level":"info","message":"POST /devices/98236804-a84e-40ba-9e2c-cffe27a668c6/signaling 200 16ms","method":"POST","requestID":"e1a31f90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/98236804-a84e-40ba-9e2c-cffe27a668c6/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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f8f4596f-88e0-4d38-b15c-3b7ee7cfeffa","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.0416563} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"8946a7ae1f6a18b94d2eaed95afb0787","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e1a62cd0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":209,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:14Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8584316f-9f6f-4feb-8123-efa93b0b66c5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.0519223} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":209,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.065917,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:14Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e1a62cd0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad","object_type":"device","rebac_allow":false,"scope_allow":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":"e1a62cd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e1a62cd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad/signaling 200 15ms","method":"POST","requestID":"e1a62cd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6","requestID":"8946a7ae1f6a18b94d2eaed95afb0787"} gateway-1 | {"time_local":"30/Jul/2024:14:06:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6 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":"8946a7ae1f6a18b94d2eaed95afb0787"} gateway-1 | {"time_local":"30/Jul/2024:14:06:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2598","request_time":"4.370","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"d3c302edacddba5fd2acfbb227560a6f"} experiment-1 | {"level":"info","message":"DELETE /experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6 204 202ms","method":"DELETE","requestID":"8946a7ae1f6a18b94d2eaed95afb0787","responseTime":202,"status":204,"url":"/experiments/ad6b719d-9075-48f1-9f03-8b3a1624b3f6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 147ms","method":"POST","requestID":"e5440f963d060f84a2779ac8c93a6656","responseTime":147,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.152","http_referrer":"","http_user_agent":"node-fetch","requestID":"e5440f963d060f84a2779ac8c93a6656"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 146ms","method":"POST","requestID":"7ffa1c5fd0a5d077fbbf1e9fa85051ef","responseTime":146,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.152","http_referrer":"","http_user_agent":"node-fetch","requestID":"7ffa1c5fd0a5d077fbbf1e9fa85051ef"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3NH0.jIqXGho6V76tpshp7Wp2vwjJUUGwWjO4p4YM-dHCmMs","level":"info","message":"auth send jwt","requestID":"07fcbb11680269d4bedcb2ba0a2edb97"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"07fcbb11680269d4bedcb2ba0a2edb97","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"07fcbb11680269d4bedcb2ba0a2edb97"} gateway-1 | {"time_local":"30/Jul/2024:14:06:14 +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.926","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"96b87a50662a2616716a0d8b699b5102"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":210,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:14Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":210,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.930062,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"07fcbb11680269d4bedcb2ba0a2edb97","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348374,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3NH0.jIqXGho6V76tpshp7Wp2vwjJUUGwWjO4p4YM-dHCmMs"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"07fcbb11680269d4bedcb2ba0a2edb97","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/e4b591cf-eaa9-4ff0-90a5-4c7c44f66aad' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"a93eb5aa-e994-497c-8809-a6f39fac3c1c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.149894} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"07fcbb11680269d4bedcb2ba0a2edb97","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/98236804-a84e-40ba-9e2c-cffe27a668c6' 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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"87608731-dfe3-4ffe-a59b-23545e004003","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.1562102} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"07fcbb11680269d4bedcb2ba0a2edb97","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"fa2296b7-5327-4895-bbbd-56053ac8b8d8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.1712835} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b5f5e02c-c444-4cd2-9d17-8023aac8cbe2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.1716037} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"07fcbb11680269d4bedcb2ba0a2edb97","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:14.171267293Z"}]},"request_id":"3600edb7-e521-4754-a0d0-eafbd0c2c876","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.1761074} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"07fcbb11680269d4bedcb2ba0a2edb97","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"07fcbb11680269d4bedcb2ba0a2edb97"} gateway-1 | {"time_local":"30/Jul/2024:14:06:14 +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":"07fcbb11680269d4bedcb2ba0a2edb97"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"07fcbb11680269d4bedcb2ba0a2edb97","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3NH0.jIqXGho6V76tpshp7Wp2vwjJUUGwWjO4p4YM-dHCmMs","level":"info","message":"auth send jwt","requestID":"043ad0331e76675717727aca41650c50"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"043ad0331e76675717727aca41650c50","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"043ad0331e76675717727aca41650c50"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":211,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:14Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":211,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.755882,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"043ad0331e76675717727aca41650c50","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348374,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3NH0.jIqXGho6V76tpshp7Wp2vwjJUUGwWjO4p4YM-dHCmMs"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"043ad0331e76675717727aca41650c50","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"4dafbb00-32c1-48b9-af85-bc9303e445f9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.2013848} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"043ad0331e76675717727aca41650c50","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9fb62e16-7229-4bde-87a4-f270c94de7bd","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.2068155} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"043ad0331e76675717727aca41650c50","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"2f865fa4-08c9-43df-be6e-6d5c9c2687a6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.217067} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e607dd54-0400-43ab-9d65-7733adae1593","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.2172592} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"043ad0331e76675717727aca41650c50","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:14.217050105Z"}]},"request_id":"be749f92-d488-4aaa-a79c-c3aab9342522","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348374.2218568} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"043ad0331e76675717727aca41650c50","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"043ad0331e76675717727aca41650c50"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"043ad0331e76675717727aca41650c50","responseTime":40,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"043ad0331e76675717727aca41650c50"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"502caa3ea0bc76c3db2ace7d8da3eeef","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"502caa3ea0bc76c3db2ace7d8da3eeef","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.006","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"502caa3ea0bc76c3db2ace7d8da3eeef"} device-1 | {"level":"info","message":"OPTIONS /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/websocket 200 2ms","method":"OPTIONS","requestID":"502caa3ea0bc76c3db2ace7d8da3eeef","responseTime":2,"status":200,"url":"/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng","level":"info","message":"auth send jwt","requestID":"2e7acc3cb919a594baa9f2f95326605d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"2e7acc3cb919a594baa9f2f95326605d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"2e7acc3cb919a594baa9f2f95326605d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":212,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":212,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.047536,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"2e7acc3cb919a594baa9f2f95326605d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348376,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d18b3b23d529bba722f948be10bd065b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2e7acc3cb919a594baa9f2f95326605d","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d18b3b23d529bba722f948be10bd065b","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c5f5efdc-101b-4467-926f-2afedd4f55da/websocket HTTP/1.1","status": "200","body_bytes_sent":"4","request_time":"0.006","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d18b3b23d529bba722f948be10bd065b"} device-1 | {"level":"info","message":"OPTIONS /devices/c5f5efdc-101b-4467-926f-2afedd4f55da/websocket 200 1ms","method":"OPTIONS","requestID":"d18b3b23d529bba722f948be10bd065b","responseTime":1,"status":200,"url":"/devices/c5f5efdc-101b-4467-926f-2afedd4f55da/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng","level":"info","message":"auth send jwt","requestID":"c3c04d555a22346fcbab8ed10df8dce4"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c3c04d555a22346fcbab8ed10df8dce4","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c3c04d555a22346fcbab8ed10df8dce4"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":213,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":213,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.190845,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"c3c04d555a22346fcbab8ed10df8dce4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348376,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c3c04d555a22346fcbab8ed10df8dce4","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"2e7acc3cb919a594baa9f2f95326605d"} gateway-1 | {"time_local":"30/Jul/2024:14:06:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.039","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2e7acc3cb919a594baa9f2f95326605d"} device-1 | {"level":"info","message":"POST /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/websocket 200 32ms","method":"POST","requestID":"2e7acc3cb919a594baa9f2f95326605d","responseTime":32,"status":200,"url":"/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c3c04d555a22346fcbab8ed10df8dce4"} gateway-1 | {"time_local":"30/Jul/2024:14:06:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c5f5efdc-101b-4467-926f-2afedd4f55da/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.030","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"c3c04d555a22346fcbab8ed10df8dce4"} device-1 | {"level":"info","message":"POST /devices/c5f5efdc-101b-4467-926f-2afedd4f55da/websocket 200 23ms","method":"POST","requestID":"c3c04d555a22346fcbab8ed10df8dce4","responseTime":23,"status":200,"url":"/devices/c5f5efdc-101b-4467-926f-2afedd4f55da/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng","level":"info","message":"auth send jwt","requestID":"e2a982c618b67ea5166ed80a22567db3"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e2a982c618b67ea5166ed80a22567db3","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e2a982c618b67ea5166ed80a22567db3"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":214,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":214,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.651475,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e2a982c618b67ea5166ed80a22567db3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348376,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e2a982c618b67ea5166ed80a22567db3","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:14.171267293Z"}]},"request_id":"d9fdc5b4-436b-47ee-8b25-94b88439f648","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.3358662} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e2a982c618b67ea5166ed80a22567db3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e2a982c618b67ea5166ed80a22567db3"} gateway-1 | {"time_local":"30/Jul/2024:14:06:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3? 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":"e2a982c618b67ea5166ed80a22567db3"} device-1 | {"level":"info","message":"GET /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3? 200 19ms","method":"GET","requestID":"e2a982c618b67ea5166ed80a22567db3","responseTime":19,"status":200,"url":"/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng","level":"info","message":"auth send jwt","requestID":"573721849e76ee40eceac9b1d9500351"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"573721849e76ee40eceac9b1d9500351","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"573721849e76ee40eceac9b1d9500351"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":215,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":215,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.663278,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"573721849e76ee40eceac9b1d9500351","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348376,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"573721849e76ee40eceac9b1d9500351","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:14.217050105Z"}]},"request_id":"97c2f2e5-e38e-4df3-92fc-d5e35405e7d7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.3615913} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"573721849e76ee40eceac9b1d9500351","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"573721849e76ee40eceac9b1d9500351"} gateway-1 | {"time_local":"30/Jul/2024:14:06:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c5f5efdc-101b-4467-926f-2afedd4f55da? 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":"573721849e76ee40eceac9b1d9500351"} device-1 | {"level":"info","message":"GET /devices/c5f5efdc-101b-4467-926f-2afedd4f55da? 200 18ms","method":"GET","requestID":"573721849e76ee40eceac9b1d9500351","responseTime":18,"status":200,"url":"/devices/c5f5efdc-101b-4467-926f-2afedd4f55da?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng","level":"info","message":"auth send jwt","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":216,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":216,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.221023,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348376,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Attempting to run experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Attempting to book experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Successfully booked experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e3109240-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e310e060-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":217,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":217,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.613068,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e3109240-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348376,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e3109240-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Received request.","req_id":218,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Sent response.","req_id":218,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.734939,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e310e060-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348376,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e310e060-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:14.171267293Z"}]},"request_id":"45ada5a9-8107-43be-a7b9-3ead49bc4300","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.4294572} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e3109240-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:14.217050105Z"}]},"request_id":"a20993e2-0d61-47e2-972a-24953e8c6d51","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.4332082} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e3109240-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e310e060-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3? 200 14ms","method":"GET","requestID":"e3109240-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e310e060-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/c5f5efdc-101b-4467-926f-2afedd4f55da? 200 16ms","method":"GET","requestID":"e310e060-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/c5f5efdc-101b-4467-926f-2afedd4f55da?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Setting up experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Successfully locked booking for experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Attempting to update booking for experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Successfully updated booking for experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Successfully set up experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e31ca030-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e31cee50-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e31d6380-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Successfully running experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":219,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":219,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.827595,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Received request.","req_id":220,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e31ca030-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348376,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"e31ca030-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Sent response.","req_id":220,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.420787,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e31cee50-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348376,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"e31cee50-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":221,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1061514f-19ce-479d-b594-a2e4d0ea499b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.5142863} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":221,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.518318,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e31d6380-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","object_type":"device","rebac_allow":false,"scope_allow":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":"e31d6380-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:14.217050105Z"}]},"request_id":"b6e8250d-9b4d-462f-965a-f8e2b632fa9b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.5186265} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"e31cee50-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:14.171267293Z"}]},"request_id":"a7063e58-18c1-4e89-b6f3-4281cc286809","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.5226543} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e31ca030-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e31d6380-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/signaling 200 22ms","method":"POST","requestID":"e31d6380-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":22,"status":200,"url":"/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e3218230-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe2eaf19c-0b46-4727-b714-6b4e47d21f2c#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe2eaf19c-0b46-4727-b714-6b4e47d21f2c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"f404b5de-be3d-4fc8-a639-af34e7fd72e2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.5330217} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b2d43742-7c04-44a2-a206-9c1b015bfb7c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.5338197} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e31cee50-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/c5f5efdc-101b-4467-926f-2afedd4f55da? 200 37ms","method":"GET","requestID":"e31cee50-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":37,"status":200,"url":"/devices/c5f5efdc-101b-4467-926f-2afedd4f55da?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224","responseTime":26,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":222,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e31ca030-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3? 200 42ms","method":"GET","requestID":"e31ca030-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":42,"status":200,"url":"/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c838ddd3-1c29-4a62-8e86-6383e5ccfea5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.541506} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":222,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.511763,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e3218230-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","object_type":"device","rebac_allow":false,"scope_allow":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":"e3218230-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e3218230-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c5f5efdc-101b-4467-926f-2afedd4f55da/signaling 200 18ms","method":"POST","requestID":"e3218230-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/c5f5efdc-101b-4467-926f-2afedd4f55da/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e3246860-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":223,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} gateway-1 | {"time_local":"30/Jul/2024:14:06:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"777","request_time":"0.187","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} experiment-1 | {"level":"info","message":"POST /experiments? 201 181ms","method":"POST","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224","responseTime":181,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"94780991-7265-44be-bc23-68b5736b81ed","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.5587215} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":223,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.508449,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e3246860-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","object_type":"device","rebac_allow":false,"scope_allow":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":"e3246860-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e3246860-4e7c-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng","level":"info","message":"auth send jwt","requestID":"7230d2a57b1eaa207b1db3bca70c03a8"} device-1 | {"level":"info","message":"POST /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/signaling 200 16ms","method":"POST","requestID":"e3246860-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/signaling"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"7230d2a57b1eaa207b1db3bca70c03a8","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7230d2a57b1eaa207b1db3bca70c03a8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e3274e90-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":224,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":224,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.337548,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Received request.","req_id":225,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"7230d2a57b1eaa207b1db3bca70c03a8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348376,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7230d2a57b1eaa207b1db3bca70c03a8","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bd2806a1-fc2c-470e-8726-85589f97bda2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.5776057} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Sent response.","req_id":225,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.647674,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e3274e90-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","object_type":"device","rebac_allow":false,"scope_allow":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":"e3274e90-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:14.171267293Z"}]},"request_id":"d5965f82-5176-422c-8f91-217c900c85ab","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.5824125} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e3274e90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c5f5efdc-101b-4467-926f-2afedd4f55da/signaling 200 14ms","method":"POST","requestID":"e3274e90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/c5f5efdc-101b-4467-926f-2afedd4f55da/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7230d2a57b1eaa207b1db3bca70c03a8","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Building connection plan","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"e62e6ea5-3a47-46b9-847f-9eeed35b17c7"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"c682d196-ccf0-426a-a5d9-d39d1142c314"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/file","uuid":"65864b42-fbf3-4261-99bf-9b2d53f34884"}]},"level":"info","message":"Built pairwise service configurations","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} 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/c5f5efdc-101b-4467-926f-2afedd4f55da"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"e32a5bd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7230d2a57b1eaa207b1db3bca70c03a8"} gateway-1 | {"time_local":"30/Jul/2024:14:06:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3? 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":"7230d2a57b1eaa207b1db3bca70c03a8"} device-1 | {"level":"info","message":"GET /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3? 200 25ms","method":"GET","requestID":"7230d2a57b1eaa207b1db3bca70c03a8","responseTime":25,"status":200,"url":"/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":226,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":226,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.256028,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e32a5bd0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348376,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e32a5bd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng","level":"info","message":"auth send jwt","requestID":"6c0cd77d35969244bcf2c5790557d2e8"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"6c0cd77d35969244bcf2c5790557d2e8","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6c0cd77d35969244bcf2c5790557d2e8"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":227,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":227,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.147403,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6c0cd77d35969244bcf2c5790557d2e8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348376,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6c0cd77d35969244bcf2c5790557d2e8","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:14.217050105Z"}]},"request_id":"dee70433-8580-448b-a4fe-db5d256868c2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.6145384} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"6c0cd77d35969244bcf2c5790557d2e8","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"9438b0b9-d89d-401c-bdc6-f87dfd40c622","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.616968} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a6289edc-6448-4946-9fb9-172c5f1e92b4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.6173656} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"e32a5bd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c0cd77d35969244bcf2c5790557d2e8"} gateway-1 | {"time_local":"30/Jul/2024:14:06:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c5f5efdc-101b-4467-926f-2afedd4f55da? 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":"6c0cd77d35969244bcf2c5790557d2e8"} device-1 | {"level":"info","message":"GET /devices/c5f5efdc-101b-4467-926f-2afedd4f55da? 200 21ms","method":"GET","requestID":"6c0cd77d35969244bcf2c5790557d2e8","responseTime":21,"status":200,"url":"/devices/c5f5efdc-101b-4467-926f-2afedd4f55da?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"e32a5bd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"e32a5bd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99'","requestID":"e32a5bd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99'","requestID":"e32a5bd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"e32a5bd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 48ms","method":"POST","requestID":"e32a5bd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":48,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"e32a5bd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99","device":"c5f5efdc-101b-4467-926f-2afedd4f55da","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} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99","device":"5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","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":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"0f3e2d5b53b3da1e8cfe04567c6b8224"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e336b7e0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":228,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8501ee86-3c14-4350-bb50-33171c903ef6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.6761777} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":228,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.680184,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e336b7e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"device":"c5f5efdc-101b-4467-926f-2afedd4f55da","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"e336b7e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"content":{"canTrickle":true},"device":"c5f5efdc-101b-4467-926f-2afedd4f55da","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e336b7e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/signaling 200 14ms","method":"POST","requestID":"e336b7e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e33928e0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":229,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} device-1 | {"content":{"sdp":"v=0\r\no=- 334063716397968932 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:yqKB\r\na=ice-pwd:jFjWpzbzKfyLmuLEcbv1Sp7h\r\na=ice-options:trickle\r\na=fingerprint:sha-256 5F:BD:BC:27:F1:D3:26:86:49:84:B5:C1:F1:82:8C:CE:A9:2E:E9:47:7E:43:17:93:03:3F:46:00:27:75:E8:E5\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ce62f746-8f62-4519-a7fb-de99dda2d689","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.6925898} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":229,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.357894,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e33928e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e33928e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e33928e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c5f5efdc-101b-4467-926f-2afedd4f55da/signaling 200 12ms","method":"POST","requestID":"e33928e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/c5f5efdc-101b-4467-926f-2afedd4f55da/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 3114224890904373938 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:LFr9\r\na=ice-pwd:c5wWmIrSh7u/ZHkIew+HZbwa\r\na=ice-options:trickle\r\na=fingerprint:sha-256 1E:D5:71:7B:B8:31:61:EF:50:F8:5D:7B:DC:9E:CD:DD:F4:56:CF:A7:00:A0:84:E4:7A:9E:FB:A4:E0:1C:97:52\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"c5f5efdc-101b-4467-926f-2afedd4f55da","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1103247118 1 udp 2113937151 f7fe3199-1d07-46b9-8a2b-c6ffe4ffd518.local 57265 typ host generation 0 ufrag LFr9 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c5f5efdc-101b-4467-926f-2afedd4f55da","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1154103382 1 udp 1677729535 141.24.211.56 57265 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag LFr9 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c5f5efdc-101b-4467-926f-2afedd4f55da","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/c5f5efdc-101b-4467-926f-2afedd4f55da'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da'"} device-1 | {"content":{"candidate":"candidate:756438148 1 udp 2113937151 bef449bd-4743-4710-b3a1-ea2cb2049d84.local 57016 typ host generation 0 ufrag yqKB network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:625876803 1 udp 1677729535 141.24.211.56 57016 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag yqKB network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","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/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3'"} device-1 | {"device":"5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"c5f5efdc-101b-4467-926f-2afedd4f55da","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/c52b0881-3843-444e-86b0-71fc26d38b99' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"c52b0881-3843-444e-86b0-71fc26d38b99","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f05af3c8d2ed9fd11394244f479f6a6c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"c5f5efdc-101b-4467-926f-2afedd4f55da","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f05af3c8d2ed9fd11394244f479f6a6c","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":"new","url":"http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connecting","url":"http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99"}}},"level":"info","message":"received a callback","requestID":"f05af3c8d2ed9fd11394244f479f6a6c"} device-1 | {"device":"5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"c5f5efdc-101b-4467-926f-2afedd4f55da","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"f05af3c8d2ed9fd11394244f479f6a6c","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"f05af3c8d2ed9fd11394244f479f6a6c"} device-1 | {"device":"c5f5efdc-101b-4467-926f-2afedd4f55da","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"c52b0881-3843-444e-86b0-71fc26d38b99","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"c52b0881-3843-444e-86b0-71fc26d38b99","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/c52b0881-3843-444e-86b0-71fc26d38b99' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"c52b0881-3843-444e-86b0-71fc26d38b99","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"af32bd0067aa6a9b0702cc3efd67b69d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"af32bd0067aa6a9b0702cc3efd67b69d","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/c5f5efdc-101b-4467-926f-2afedd4f55da"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99"}}},"level":"info","message":"received a callback","requestID":"af32bd0067aa6a9b0702cc3efd67b69d"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"e344c1a0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":230,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fc52b0881-3843-444e-86b0-71fc26d38b99","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4fad1358-9418-41a6-a973-4c1179ae0d99","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.767604} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":230,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.728562,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e344c1a0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99","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":"e344c1a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"e344c1a0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99 200 10ms","method":"GET","requestID":"e344c1a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 42ms","method":"POST","requestID":"af32bd0067aa6a9b0702cc3efd67b69d","responseTime":42,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.045","http_referrer":"","http_user_agent":"node-fetch","requestID":"af32bd0067aa6a9b0702cc3efd67b69d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e34a3fe0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":231,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5bf19744-ffeb-4f98-a939-86aded6c32b4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.8032238} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":231,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.680159,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e34a3fe0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e34a3fe0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e34a3fe0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c5f5efdc-101b-4467-926f-2afedd4f55da/signaling 200 10ms","method":"POST","requestID":"e34a3fe0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/c5f5efdc-101b-4467-926f-2afedd4f55da/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e34c3bb0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":232,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"efa2e94b-3850-4ce0-afcb-243e95c18f8d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348376.8160684} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":232,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.47773,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e34c3bb0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e34c3bb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e34c3bb0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/signaling 200 10ms","method":"POST","requestID":"e34c3bb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng","level":"info","message":"auth send jwt","requestID":"a4caaea31265541c4c027b1411fc447a"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"a4caaea31265541c4c027b1411fc447a","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c","requestID":"a4caaea31265541c4c027b1411fc447a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":233,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":233,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.180267,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"a4caaea31265541c4c027b1411fc447a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348376,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3Nn0.P3Cxy3Ugavlr_9_IT7j5zauaJbLYXVlWX4poeIRQMng"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a4caaea31265541c4c027b1411fc447a","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c","requestID":"a4caaea31265541c4c027b1411fc447a"} gateway-1 | {"time_local":"30/Jul/2024:14:06:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c HTTP/1.1","status": "200","body_bytes_sent":"850","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a4caaea31265541c4c027b1411fc447a"} experiment-1 | {"level":"info","message":"GET /experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c 200 18ms","method":"GET","requestID":"a4caaea31265541c4c027b1411fc447a","responseTime":18,"status":200,"url":"/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3N30.1s7Wh_29F9lopCceCchZjy5xVPir6bmwXmEZzVLUfeI","level":"info","message":"auth send jwt","requestID":"a7fa3a148565e37308c38462be99ea5d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a7fa3a148565e37308c38462be99ea5d","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c","requestID":"a7fa3a148565e37308c38462be99ea5d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":234,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":234,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.233009,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"a7fa3a148565e37308c38462be99ea5d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348377,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3N30.1s7Wh_29F9lopCceCchZjy5xVPir6bmwXmEZzVLUfeI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a7fa3a148565e37308c38462be99ea5d","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Attempting to finish experiment","requestID":"a7fa3a148565e37308c38462be99ea5d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"e36ce310-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":235,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":235,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.012088,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e36ce310-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348377,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3N30.1s7Wh_29F9lopCceCchZjy5xVPir6bmwXmEZzVLUfeI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e36ce310-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99","device":"c5f5efdc-101b-4467-926f-2afedd4f55da","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99","device":"5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","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/c52b0881-3843-444e-86b0-71fc26d38b99' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"c52b0881-3843-444e-86b0-71fc26d38b99","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7a3be06af68214819d343a0110905473","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7a3be06af68214819d343a0110905473","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fc52b0881-3843-444e-86b0-71fc26d38b99': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fc52b0881-3843-444e-86b0-71fc26d38b99","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"fee75037-54a2-4288-bb55-665512deb742","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.0508835} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fd728f65-7df9-4a85-aad9-8af6cf0ea64a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.0512338} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9b2822d6446192012b0ace5fb6ca8346","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99"}}},"level":"info","message":"received a callback","requestID":"7a3be06af68214819d343a0110905473"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9b2822d6446192012b0ace5fb6ca8346","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"e36ce310-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/relations/update"} 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/c5f5efdc-101b-4467-926f-2afedd4f55da"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99"}}},"level":"info","message":"received a callback","requestID":"9b2822d6446192012b0ace5fb6ca8346"} device-1 | {"data":{"peerconnection":"c52b0881-3843-444e-86b0-71fc26d38b99","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"e36ce310-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99 204 44ms","method":"DELETE","requestID":"e36ce310-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":44,"status":204,"url":"/peerconnections/c52b0881-3843-444e-86b0-71fc26d38b99"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"},"level":"info","message":"Successfully finished experiment","requestID":"a7fa3a148565e37308c38462be99ea5d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e3760ad0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":236,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc5f5efdc-101b-4467-926f-2afedd4f55da","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8b36c8a8-2227-4c05-b064-a83e21b6e6fa","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.0906408} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":236,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.417277,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e3760ad0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c5f5efdc-101b-4467-926f-2afedd4f55da","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e3760ad0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e3760ad0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c5f5efdc-101b-4467-926f-2afedd4f55da/signaling 200 10ms","method":"POST","requestID":"e3760ad0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/c5f5efdc-101b-4467-926f-2afedd4f55da/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe2eaf19c-0b46-4727-b714-6b4e47d21f2c': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe2eaf19c-0b46-4727-b714-6b4e47d21f2c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"9cb988bb-9a80-4656-a1f2-b0c6929fa958","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.0975664} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e37806a0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"21a22fb6-4721-4eda-8930-f3cf7b7654f8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.0979302} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"a7fa3a148565e37308c38462be99ea5d","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":237,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"50ed8fb4-0fb3-405f-bcde-22d0e3b73efe","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.1029832} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":237,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.626811,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e37806a0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e37806a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e37806a0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/signaling 200 9ms","method":"POST","requestID":"e37806a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c","requestID":"a7fa3a148565e37308c38462be99ea5d"} gateway-1 | {"time_local":"30/Jul/2024:14:06:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.167","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a7fa3a148565e37308c38462be99ea5d"} experiment-1 | {"level":"info","message":"DELETE /experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c 204 163ms","method":"DELETE","requestID":"a7fa3a148565e37308c38462be99ea5d","responseTime":163,"status":204,"url":"/experiments/e2eaf19c-0b46-4727-b714-6b4e47d21f2c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"7a3be06af68214819d343a0110905473","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.124","http_referrer":"","http_user_agent":"node-fetch","requestID":"7a3be06af68214819d343a0110905473"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"9b2822d6446192012b0ace5fb6ca8346","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.125","http_referrer":"","http_user_agent":"node-fetch","requestID":"9b2822d6446192012b0ace5fb6ca8346"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3N30.1s7Wh_29F9lopCceCchZjy5xVPir6bmwXmEZzVLUfeI","level":"info","message":"auth send jwt","requestID":"fbc950904f6e6e0a461d717b146a9dfd"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fbc950904f6e6e0a461d717b146a9dfd","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"fbc950904f6e6e0a461d717b146a9dfd"} gateway-1 | {"time_local":"30/Jul/2024:14:06:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2628","request_time":"0.882","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"05988dbd1faf3c10dfed1d38d3d0d340"} gateway-1 | {"time_local":"30/Jul/2024:14:06:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2631","request_time":"0.895","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"cc20859cf872d80e530d157102021f07"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":238,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":238,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.882274,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fbc950904f6e6e0a461d717b146a9dfd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348377,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3N30.1s7Wh_29F9lopCceCchZjy5xVPir6bmwXmEZzVLUfeI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fbc950904f6e6e0a461d717b146a9dfd","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/c5f5efdc-101b-4467-926f-2afedd4f55da' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/5fbccb5a-6d31-4aa4-b46b-1c62c22ac9b3' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f28528fc-a2d0-4ad6-9ef3-dce6c0a09406","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.2008998} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fbc950904f6e6e0a461d717b146a9dfd","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"574470d5-8274-41f9-a01a-5e9984875c23","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.2057528} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"fbc950904f6e6e0a461d717b146a9dfd","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"5b21a9af-af42-415c-9a09-57b751253d5d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.2174087} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f05a675d-451c-43b8-a53e-3d3feeb894e6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.2176838} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"fbc950904f6e6e0a461d717b146a9dfd","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:17.217390157Z"}]},"request_id":"5a390654-6579-4fde-8ec9-23d4faf2834d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.2226815} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fbc950904f6e6e0a461d717b146a9dfd","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"fbc950904f6e6e0a461d717b146a9dfd"} gateway-1 | {"time_local":"30/Jul/2024:14:06:17 +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":"fbc950904f6e6e0a461d717b146a9dfd"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"fbc950904f6e6e0a461d717b146a9dfd","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3N30.1s7Wh_29F9lopCceCchZjy5xVPir6bmwXmEZzVLUfeI","level":"info","message":"auth send jwt","requestID":"e5b73359d5f74d2a790d4c3e4c7ec518"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e5b73359d5f74d2a790d4c3e4c7ec518","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e5b73359d5f74d2a790d4c3e4c7ec518"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":239,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":239,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.303279,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e5b73359d5f74d2a790d4c3e4c7ec518","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348377,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3N30.1s7Wh_29F9lopCceCchZjy5xVPir6bmwXmEZzVLUfeI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e5b73359d5f74d2a790d4c3e4c7ec518","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"dde93cf6-60c3-4cdf-8627-0ad5ae24f5aa","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.2485857} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e5b73359d5f74d2a790d4c3e4c7ec518","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"09fcc739-44a5-4cf1-ada6-927d4056af28","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.2529676} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e5b73359d5f74d2a790d4c3e4c7ec518","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"dbbf5ca2-d21a-4f86-bd18-61db071c920e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.262323} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"460932eb-e02e-45e4-ba4b-e654c171388e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.2628682} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"e5b73359d5f74d2a790d4c3e4c7ec518","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:17.262307890Z"}]},"request_id":"93c1a1c9-a472-4d42-a493-6e27628d3d2e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.2670357} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e5b73359d5f74d2a790d4c3e4c7ec518","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e5b73359d5f74d2a790d4c3e4c7ec518"} device-1 | {"level":"info","message":"POST /devices? 201 37ms","method":"POST","requestID":"e5b73359d5f74d2a790d4c3e4c7ec518","responseTime":37,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.043","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e5b73359d5f74d2a790d4c3e4c7ec518"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3N30.1s7Wh_29F9lopCceCchZjy5xVPir6bmwXmEZzVLUfeI","level":"info","message":"auth send jwt","requestID":"f8394656bf3d7db2cfc2b7cc19351e66"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f8394656bf3d7db2cfc2b7cc19351e66","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f8394656bf3d7db2cfc2b7cc19351e66"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":240,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":240,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.301718,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f8394656bf3d7db2cfc2b7cc19351e66","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348377,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3N30.1s7Wh_29F9lopCceCchZjy5xVPir6bmwXmEZzVLUfeI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f8394656bf3d7db2cfc2b7cc19351e66","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:17.262307890Z"}]},"request_id":"284430e2-7e51-4e05-bddb-b224b1e0ebc1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.763053} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f8394656bf3d7db2cfc2b7cc19351e66","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0c24f37f-b1ea-4a22-bca7-04407664e0f6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.7700832} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"f8394656bf3d7db2cfc2b7cc19351e66","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:17.262307890Z"}]},"request_id":"6eee4511-26c8-49f6-801f-a9cc935a8660","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348377.782437} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f8394656bf3d7db2cfc2b7cc19351e66","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f8394656bf3d7db2cfc2b7cc19351e66"} gateway-1 | {"time_local":"30/Jul/2024:14:06:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"f8394656bf3d7db2cfc2b7cc19351e66"} device-1 | {"level":"info","message":"PATCH /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38 200 32ms","method":"PATCH","requestID":"f8394656bf3d7db2cfc2b7cc19351e66","responseTime":32,"status":200,"url":"/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3N30.1s7Wh_29F9lopCceCchZjy5xVPir6bmwXmEZzVLUfeI","level":"info","message":"auth send jwt","requestID":"38103453919d629465e688cb8e22cc60"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"38103453919d629465e688cb8e22cc60","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"38103453919d629465e688cb8e22cc60"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":241,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":241,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.044405,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:17Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"38103453919d629465e688cb8e22cc60","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348377,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3N30.1s7Wh_29F9lopCceCchZjy5xVPir6bmwXmEZzVLUfeI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"38103453919d629465e688cb8e22cc60","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"38103453919d629465e688cb8e22cc60"} gateway-1 | {"time_local":"30/Jul/2024:14:06:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.021","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"38103453919d629465e688cb8e22cc60"} device-1 | {"level":"info","message":"POST /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38/websocket 200 16ms","method":"POST","requestID":"38103453919d629465e688cb8e22cc60","responseTime":16,"status":200,"url":"/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d7477bf335e84d6039fc16df272e3938","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"d7477bf335e84d6039fc16df272e3938","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/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":"d7477bf335e84d6039fc16df272e3938"} device-1 | {"level":"info","message":"OPTIONS /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/websocket 200 2ms","method":"OPTIONS","requestID":"d7477bf335e84d6039fc16df272e3938","responseTime":2,"status":200,"url":"/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg","level":"info","message":"auth send jwt","requestID":"c4b917ccb4b918014e8140f620895009"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c4b917ccb4b918014e8140f620895009","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c4b917ccb4b918014e8140f620895009"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":242,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":242,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.227804,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"c4b917ccb4b918014e8140f620895009","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348379,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"c4b917ccb4b918014e8140f620895009","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c4b917ccb4b918014e8140f620895009"} device-1 | {"level":"info","message":"POST /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/websocket 200 25ms","method":"POST","requestID":"c4b917ccb4b918014e8140f620895009","responseTime":25,"status":200,"url":"/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:06:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/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":"c4b917ccb4b918014e8140f620895009"} device-1 | {"level":"info","message":"device 'http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg","level":"info","message":"auth send jwt","requestID":"1f11aca7b34acad49d02b9eb2ae17464"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1f11aca7b34acad49d02b9eb2ae17464","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1f11aca7b34acad49d02b9eb2ae17464"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":243,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":243,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.174674,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"1f11aca7b34acad49d02b9eb2ae17464","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348379,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1f11aca7b34acad49d02b9eb2ae17464","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:17.217390157Z"}]},"request_id":"998bb54a-2f34-47f6-b704-81edc4e396d9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.3165033} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"1f11aca7b34acad49d02b9eb2ae17464","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1f11aca7b34acad49d02b9eb2ae17464"} gateway-1 | {"time_local":"30/Jul/2024:14:06:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721? 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":"1f11aca7b34acad49d02b9eb2ae17464"} device-1 | {"level":"info","message":"GET /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721? 200 19ms","method":"GET","requestID":"1f11aca7b34acad49d02b9eb2ae17464","responseTime":19,"status":200,"url":"/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg","level":"info","message":"auth send jwt","requestID":"99298d4079d62a9948281b1ccf72dac2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"99298d4079d62a9948281b1ccf72dac2","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"99298d4079d62a9948281b1ccf72dac2"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":244,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":244,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.394062,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"99298d4079d62a9948281b1ccf72dac2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348379,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"99298d4079d62a9948281b1ccf72dac2","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:17.262307890Z"}]},"request_id":"763f9511-42c8-446e-9c93-fb433b115bb7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.3427281} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"99298d4079d62a9948281b1ccf72dac2","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"99298d4079d62a9948281b1ccf72dac2"} gateway-1 | {"time_local":"30/Jul/2024:14:06:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"99298d4079d62a9948281b1ccf72dac2"} device-1 | {"level":"info","message":"GET /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38? 200 19ms","method":"GET","requestID":"99298d4079d62a9948281b1ccf72dac2","responseTime":19,"status":200,"url":"/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg","level":"info","message":"auth send jwt","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"04e8d6cfa0c0520dc76b76eff5016516","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":245,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":245,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.306728,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"04e8d6cfa0c0520dc76b76eff5016516","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348379,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"04e8d6cfa0c0520dc76b76eff5016516","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Attempting to run experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Attempting to book experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Successfully booked experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e4d796a0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e4d7e4c0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":246,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":246,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.63255,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Received request.","req_id":247,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e4d796a0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348379,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e4d796a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Sent response.","req_id":247,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.817385,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e4d7e4c0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348379,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e4d7e4c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:17.217390157Z"}]},"request_id":"ff20d9b9-3791-4c3d-906d-f905ec75b32b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.411843} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e4d796a0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:17.262307890Z"}]},"request_id":"377caf0d-4bf5-49bb-8ed4-6643cd0dac78","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.4132354} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e4d7e4c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e4d796a0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721? 200 17ms","method":"GET","requestID":"e4d796a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e4d7e4c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38? 200 17ms","method":"GET","requestID":"e4d7e4c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Setting up experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Successfully locked booking for experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Attempting to update booking for experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Successfully updated booking for experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Successfully set up experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e4e1cfd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e4e21df0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e4e26c10-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Successfully running experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":248,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":248,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.047841,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Received request.","req_id":249,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e4e1cfd0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348379,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e4e1cfd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Sent response.","req_id":249,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.928819,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e4e21df0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348379,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e4e21df0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":250,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ea63b1b6-eb6f-40e5-b94e-9ddbcc892704","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.4805727} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":250,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.632687,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e4e26c10-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"e4e26c10-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:17.217390157Z"}]},"request_id":"05b9c0b4-8c87-4a75-82fa-e156d8c8f23c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.4832835} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e4e1cfd0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:17.262307890Z"}]},"request_id":"c65838a3-ef8a-4028-af2f-0ce721c3b07b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.4863212} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e4e21df0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e4e26c10-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/signaling 200 17ms","method":"POST","requestID":"e4e26c10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e4e1cfd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721? 200 26ms","method":"GET","requestID":"e4e1cfd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":26,"status":200,"url":"/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e4e5ee80-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e4e21df0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38? 200 28ms","method":"GET","requestID":"e4e21df0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":28,"status":200,"url":"/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F940eab61-f5ee-419e-925f-f0f4ccd3e4e2#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F940eab61-f5ee-419e-925f-f0f4ccd3e4e2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"77e83dfc-2a68-4344-8726-ff7dc5208870","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.499117} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f8c39df3-d1a3-406d-9fa5-57106409e48f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.4995513} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"04e8d6cfa0c0520dc76b76eff5016516","responseTime":24,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":251,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e4e72700-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5b5f3f90-b066-4a0f-805e-3774dfb1a6d9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.50506} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":251,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.93388,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Received request.","req_id":252,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e4e5ee80-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","object_type":"device","rebac_allow":false,"scope_allow":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":"e4e5ee80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6c1458b4-c05f-4e5c-880e-ef3a3f88f965","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.511272} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Sent response.","req_id":252,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.226712,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e4e72700-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","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/940eab61-f5ee-419e-925f-f0f4ccd3e4e2","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"e4e72700-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"30/Jul/2024:14:06:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"781","request_time":"0.165","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} experiment-1 | {"level":"info","message":"POST /experiments? 201 159ms","method":"POST","requestID":"04e8d6cfa0c0520dc76b76eff5016516","responseTime":159,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e4e5ee80-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38/signaling 200 23ms","method":"POST","requestID":"e4e5ee80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":23,"status":200,"url":"/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e4e72700-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/signaling 200 18ms","method":"POST","requestID":"e4e72700-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg","level":"info","message":"auth send jwt","requestID":"57241542411bde3ae1632b34d8a259c0"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"57241542411bde3ae1632b34d8a259c0","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"57241542411bde3ae1632b34d8a259c0"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":253,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":253,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.787963,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"57241542411bde3ae1632b34d8a259c0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348379,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"57241542411bde3ae1632b34d8a259c0","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e4eb45b0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":254,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:17.217390157Z"}]},"request_id":"88e570f7-d498-4ead-b98d-64b5ab2994b8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.5355296} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2079467c-9d58-418c-9b23-75a62fcb057f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.5356317} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"57241542411bde3ae1632b34d8a259c0","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":254,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.483581,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e4eb45b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e4eb45b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"57241542411bde3ae1632b34d8a259c0"} gateway-1 | {"time_local":"30/Jul/2024:14:06:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721? 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":"57241542411bde3ae1632b34d8a259c0"} device-1 | {"level":"info","message":"GET /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721? 200 19ms","method":"GET","requestID":"57241542411bde3ae1632b34d8a259c0","responseTime":19,"status":200,"url":"/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e4eb45b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38/signaling 200 12ms","method":"POST","requestID":"e4eb45b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Building connection plan","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"6816e61a-3871-404a-83f8-0ee71c729e6d"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"ff97e9b4-fc60-4f27-b508-070be80cbf8f"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/file","uuid":"01866ec3-2d01-441a-91a7-d5ce34be5ca5"}]},"level":"info","message":"Built pairwise service configurations","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} 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/b83f31f3-88fa-485d-887a-f955bb7bfd38"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg","level":"info","message":"auth send jwt","requestID":"09c1f75e1abff8baa46704fe0f4edffd"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"09c1f75e1abff8baa46704fe0f4edffd","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"e4edb6b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"09c1f75e1abff8baa46704fe0f4edffd"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":255,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":255,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.798678,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e4edb6b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348379,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e4edb6b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Received request.","req_id":256,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"client_addr":"127.0.0.1:52552","level":"info","msg":"Sent response.","req_id":256,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.65211,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"09c1f75e1abff8baa46704fe0f4edffd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348379,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM3OX0.1aahUjF6d11R3CM0f5n6rn_QGecf9hdWGugoyEforXg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"09c1f75e1abff8baa46704fe0f4edffd","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:17.262307890Z"}]},"request_id":"84602e79-3194-422e-b9b3-8493cba890de","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.5558474} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"09c1f75e1abff8baa46704fe0f4edffd","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"09c1f75e1abff8baa46704fe0f4edffd"} gateway-1 | {"time_local":"30/Jul/2024:14:06:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38? 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":"09c1f75e1abff8baa46704fe0f4edffd"} device-1 | {"level":"info","message":"GET /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38? 200 11ms","method":"GET","requestID":"09c1f75e1abff8baa46704fe0f4edffd","responseTime":11,"status":200,"url":"/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"682df2e0-94ba-4ac3-b410-24fb731da01a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.5596583} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b1b8b330-a12a-4d68-b763-11a4b57f4a46","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.5598202} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"e4edb6b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"e4edb6b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"e4edb6b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975'","requestID":"e4edb6b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975'","requestID":"e4edb6b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"e4edb6b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 24ms","method":"POST","requestID":"e4edb6b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":24,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"e4edb6b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975","device":"0c2d36c8-46f9-42b0-8bb8-13dae53de721","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":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"04e8d6cfa0c0520dc76b76eff5016516"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e4f61b20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"device":"0c2d36c8-46f9-42b0-8bb8-13dae53de721","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"0c2d36c8-46f9-42b0-8bb8-13dae53de721","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":257,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} device-1 | {"content":{"sdp":"v=0\r\no=- 6652784132939524176 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:sYr1\r\na=ice-pwd:PcSVYh7ddeOWCnFA00eWzQKM\r\na=ice-options:trickle\r\na=fingerprint:sha-256 6A:5F:00:32:A8:D4:2C:5A:CC:42:ED:61:7A:32:96:F4:43:23:F3:BF:73:8E:FC:09:6C:86:D3:5B:CD:E0:A7:D8\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"0c2d36c8-46f9-42b0-8bb8-13dae53de721","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"008a78ed-100b-4dd8-9805-1a641bc69274","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.6068604} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":257,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.749064,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e4f61b20-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e4f61b20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721'"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e4f61b20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/signaling 200 12ms","method":"POST","requestID":"e4f61b20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e4f88c20-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":258,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f5eccfda-2a02-4b97-ad55-f298b4baaf70","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348379.6236181} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":258,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.118268,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e4f88c20-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","object_type":"device","rebac_allow":false,"scope_allow":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":"e4f88c20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e4f88c20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38/signaling 200 9ms","method":"POST","requestID":"e4f88c20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38/signaling"} device-1 | {"device":"0c2d36c8-46f9-42b0-8bb8-13dae53de721","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"b83f31f3-88fa-485d-887a-f955bb7bfd38","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":"a38f9985-9eba-4889-abdb-e23e23e35975","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"b83f31f3-88fa-485d-887a-f955bb7bfd38","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":"b83f31f3-88fa-485d-887a-f955bb7bfd38","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":"b83f31f3-88fa-485d-887a-f955bb7bfd38","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":"b83f31f3-88fa-485d-887a-f955bb7bfd38","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/a38f9985-9eba-4889-abdb-e23e23e35975' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a38f9985-9eba-4889-abdb-e23e23e35975","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"69637e75fa61c352de4592247c145426","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"69637e75fa61c352de4592247c145426","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/b83f31f3-88fa-485d-887a-f955bb7bfd38"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975"}}},"level":"info","message":"received a callback","requestID":"69637e75fa61c352de4592247c145426"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"69637e75fa61c352de4592247c145426","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"69637e75fa61c352de4592247c145426"} device-1 | {"content":{"candidate":"candidate:2703917927 1 udp 2113937151 4e4727ca-cc1d-4f64-a9c0-8398e876ba13.local 33702 typ host generation 0 ufrag sYr1 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"0c2d36c8-46f9-42b0-8bb8-13dae53de721","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2753727551 1 udp 1677729535 141.24.211.56 33702 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag sYr1 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"0c2d36c8-46f9-42b0-8bb8-13dae53de721","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:4147065780 1 udp 33562623 141.24.210.113 63051 typ relay raddr 141.24.211.56 rport 33702 generation 0 ufrag sYr1 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"0c2d36c8-46f9-42b0-8bb8-13dae53de721","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"0c2d36c8-46f9-42b0-8bb8-13dae53de721","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/0c2d36c8-46f9-42b0-8bb8-13dae53de721'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721'"} device-1 | {"data":{"peerconnection":"a38f9985-9eba-4889-abdb-e23e23e35975","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"b83f31f3-88fa-485d-887a-f955bb7bfd38","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":"0c2d36c8-46f9-42b0-8bb8-13dae53de721","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"b83f31f3-88fa-485d-887a-f955bb7bfd38","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":"a38f9985-9eba-4889-abdb-e23e23e35975","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/a38f9985-9eba-4889-abdb-e23e23e35975' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a38f9985-9eba-4889-abdb-e23e23e35975","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c58353716412f31e19847470da1c71b1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c58353716412f31e19847470da1c71b1","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/b83f31f3-88fa-485d-887a-f955bb7bfd38"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975"}}},"level":"info","message":"received a callback","requestID":"c58353716412f31e19847470da1c71b1"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"e638ad40-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":259,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:21Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa38f9985-9eba-4889-abdb-e23e23e35975","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fc04727f-efc5-4584-b881-be03e626963c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348381.7213323} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":259,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.480704,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e638ad40-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975","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":"e638ad40-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"e638ad40-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975 200 9ms","method":"GET","requestID":"e638ad40-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 34ms","method":"POST","requestID":"c58353716412f31e19847470da1c71b1","responseTime":34,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.037","http_referrer":"","http_user_agent":"node-fetch","requestID":"c58353716412f31e19847470da1c71b1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e63d1a10-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":260,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:21Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"29e8f126-aa6d-43e3-b8de-c274f1f869e4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348381.7502747} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":260,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.581443,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e63d1a10-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e63d1a10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e63d1a10-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38/signaling 200 10ms","method":"POST","requestID":"e63d1a10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e63eeed0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":261,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:21Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d7aa461a-a65c-4ec1-959a-5cf7032b4133","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348381.7623363} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":261,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.413565,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e63eeed0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e63eeed0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e63eeed0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/signaling 200 10ms","method":"POST","requestID":"e63eeed0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4MX0.EwKy9NedhKZJLRxo4HsiMymtjmHSMy17NBCD8ZgNrOI","level":"info","message":"auth send jwt","requestID":"0c3bb55b3b1d98571d65a5b8003b4541"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0c3bb55b3b1d98571d65a5b8003b4541","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2","requestID":"0c3bb55b3b1d98571d65a5b8003b4541"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":262,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:21Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":262,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.306148,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0c3bb55b3b1d98571d65a5b8003b4541","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348381,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4MX0.EwKy9NedhKZJLRxo4HsiMymtjmHSMy17NBCD8ZgNrOI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0c3bb55b3b1d98571d65a5b8003b4541","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2","requestID":"0c3bb55b3b1d98571d65a5b8003b4541"} experiment-1 | {"level":"info","message":"GET /experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2 200 18ms","method":"GET","requestID":"0c3bb55b3b1d98571d65a5b8003b4541","responseTime":18,"status":200,"url":"/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"} gateway-1 | {"time_local":"30/Jul/2024:14:06:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2 HTTP/1.1","status": "200","body_bytes_sent":"854","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0c3bb55b3b1d98571d65a5b8003b4541"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Mn0.Vc0zugVfSWc58UbvGZOmJWoWnYB8IAB96b68ad9aYIE","level":"info","message":"auth send jwt","requestID":"30a1fedfb2a331dc0703821c95536bd1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"30a1fedfb2a331dc0703821c95536bd1","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2","requestID":"30a1fedfb2a331dc0703821c95536bd1"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":263,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":263,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.188991,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"30a1fedfb2a331dc0703821c95536bd1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348382,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Mn0.Vc0zugVfSWc58UbvGZOmJWoWnYB8IAB96b68ad9aYIE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"30a1fedfb2a331dc0703821c95536bd1","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Attempting to finish experiment","requestID":"30a1fedfb2a331dc0703821c95536bd1"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"e666e930-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":264,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":264,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":2.910039,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e666e930-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348382,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Mn0.Vc0zugVfSWc58UbvGZOmJWoWnYB8IAB96b68ad9aYIE"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"e666e930-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975","device":"0c2d36c8-46f9-42b0-8bb8-13dae53de721","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"b83f31f3-88fa-485d-887a-f955bb7bfd38","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":"b83f31f3-88fa-485d-887a-f955bb7bfd38","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":"b83f31f3-88fa-485d-887a-f955bb7bfd38","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/a38f9985-9eba-4889-abdb-e23e23e35975' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a38f9985-9eba-4889-abdb-e23e23e35975","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa38f9985-9eba-4889-abdb-e23e23e35975': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa38f9985-9eba-4889-abdb-e23e23e35975","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"2801a2a1-2ae1-46ba-bc65-35eff60ff7f9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.0459983} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cf3dbb88-394f-4278-ba6a-31a7914c477c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.0462697} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6882908c36f921f6ff928f4319733bb4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6882908c36f921f6ff928f4319733bb4","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"70a82b1e44ae888c38554b34f4d7ea6b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"e666e930-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"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":"connected","url":"http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975"}}},"level":"info","message":"received a callback","requestID":"6882908c36f921f6ff928f4319733bb4"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"70a82b1e44ae888c38554b34f4d7ea6b","responseTime":1,"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/b83f31f3-88fa-485d-887a-f955bb7bfd38"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975"}}},"level":"info","message":"received a callback","requestID":"70a82b1e44ae888c38554b34f4d7ea6b"} device-1 | {"data":{"peerconnection":"a38f9985-9eba-4889-abdb-e23e23e35975","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"e666e930-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975 204 51ms","method":"DELETE","requestID":"e666e930-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":51,"status":204,"url":"/peerconnections/a38f9985-9eba-4889-abdb-e23e23e35975"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"},"level":"info","message":"Successfully finished experiment","requestID":"30a1fedfb2a331dc0703821c95536bd1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e67233d0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":265,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fb83f31f3-88fa-485d-887a-f955bb7bfd38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2758381f-84eb-458e-bd36-9b3ce3c98f74","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.098778} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":265,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.878379,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e67233d0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e67233d0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e67233d0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/b83f31f3-88fa-485d-887a-f955bb7bfd38/signaling 200 11ms","method":"POST","requestID":"e67233d0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/b83f31f3-88fa-485d-887a-f955bb7bfd38/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F940eab61-f5ee-419e-925f-f0f4ccd3e4e2': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F940eab61-f5ee-419e-925f-f0f4ccd3e4e2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"369cdf9d-588d-49d2-aa7f-ecbb9296ecfe","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.1076279} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e907510f-fe5b-4785-875a-3e2a20ce08b9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.107959} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e674a4d0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"30a1fedfb2a331dc0703821c95536bd1","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":266,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0c2d36c8-46f9-42b0-8bb8-13dae53de721","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a7d6cbbd-c9c1-4933-aa59-bd4fd6130a1d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.1145673} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":266,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.810693,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e674a4d0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e674a4d0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e674a4d0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/signaling 200 11ms","method":"POST","requestID":"e674a4d0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/0c2d36c8-46f9-42b0-8bb8-13dae53de721/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2","requestID":"30a1fedfb2a331dc0703821c95536bd1"} gateway-1 | {"time_local":"30/Jul/2024:14:06:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.166","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"30a1fedfb2a331dc0703821c95536bd1"} gateway-1 | {"time_local":"30/Jul/2024:14:06:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2975","request_time":"4.356","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"dda2812335808ed4eb91c50135cfc090"} experiment-1 | {"level":"info","message":"DELETE /experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2 204 163ms","method":"DELETE","requestID":"30a1fedfb2a331dc0703821c95536bd1","responseTime":163,"status":204,"url":"/experiments/940eab61-f5ee-419e-925f-f0f4ccd3e4e2"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 119ms","method":"POST","requestID":"6882908c36f921f6ff928f4319733bb4","responseTime":119,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.123","http_referrer":"","http_user_agent":"node-fetch","requestID":"6882908c36f921f6ff928f4319733bb4"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 119ms","method":"POST","requestID":"70a82b1e44ae888c38554b34f4d7ea6b","responseTime":119,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.124","http_referrer":"","http_user_agent":"node-fetch","requestID":"70a82b1e44ae888c38554b34f4d7ea6b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Mn0.Vc0zugVfSWc58UbvGZOmJWoWnYB8IAB96b68ad9aYIE","level":"info","message":"auth send jwt","requestID":"ae97f0ae51d9a67500d06aa2b9b9b0b5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ae97f0ae51d9a67500d06aa2b9b9b0b5","responseTime":4,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2485","request_time":"2.896","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"88460c16efb2a9faf52ef98373464a44"} device-1 | {"level":"info","message":"postDevices called","requestID":"ae97f0ae51d9a67500d06aa2b9b9b0b5"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":267,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":267,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.801969,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ae97f0ae51d9a67500d06aa2b9b9b0b5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348382,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Mn0.Vc0zugVfSWc58UbvGZOmJWoWnYB8IAB96b68ad9aYIE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ae97f0ae51d9a67500d06aa2b9b9b0b5","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/b83f31f3-88fa-485d-887a-f955bb7bfd38' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"097f6a4e-843f-43b3-9e20-9e9a9cc30d0c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.1936681} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ae97f0ae51d9a67500d06aa2b9b9b0b5","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/0c2d36c8-46f9-42b0-8bb8-13dae53de721' 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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5a53876c-2413-47c5-82d1-4a9ac453e06b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.1993556} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"ae97f0ae51d9a67500d06aa2b9b9b0b5","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"ea9321d9-131f-49e5-8af3-847643b31d09","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.2103548} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f55d35c4-877b-44f6-8139-7bb3c8737983","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.2104988} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"ae97f0ae51d9a67500d06aa2b9b9b0b5","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:22.210337416Z"}]},"request_id":"29916c2a-0477-43fe-a936-3763a5c003d8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.215211} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ae97f0ae51d9a67500d06aa2b9b9b0b5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ae97f0ae51d9a67500d06aa2b9b9b0b5"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"ae97f0ae51d9a67500d06aa2b9b9b0b5","responseTime":43,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ae97f0ae51d9a67500d06aa2b9b9b0b5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Mn0.Vc0zugVfSWc58UbvGZOmJWoWnYB8IAB96b68ad9aYIE","level":"info","message":"auth send jwt","requestID":"9eb8c6ad98494a6029b94eda599f0057"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9eb8c6ad98494a6029b94eda599f0057","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9eb8c6ad98494a6029b94eda599f0057"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":268,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":268,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.662383,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"9eb8c6ad98494a6029b94eda599f0057","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348382,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Mn0.Vc0zugVfSWc58UbvGZOmJWoWnYB8IAB96b68ad9aYIE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9eb8c6ad98494a6029b94eda599f0057","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b5874d69-833a-4110-b6f6-8d31dec03577","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.2445588} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9eb8c6ad98494a6029b94eda599f0057","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6b061e60-abf2-4e7f-b1a8-138c22ec5dea","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.2493749} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"9eb8c6ad98494a6029b94eda599f0057","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"bb730536-030c-4564-9194-825972da3944","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.2613437} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a828e719-0ec4-45ab-b4b7-4182449baf7f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.2617874} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"9eb8c6ad98494a6029b94eda599f0057","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:22.261306273Z"}]},"request_id":"4d94f7d0-fc51-4d50-9018-41dc120b5a04","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.266377} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9eb8c6ad98494a6029b94eda599f0057","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9eb8c6ad98494a6029b94eda599f0057"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9eb8c6ad98494a6029b94eda599f0057"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"9eb8c6ad98494a6029b94eda599f0057","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Mn0.Vc0zugVfSWc58UbvGZOmJWoWnYB8IAB96b68ad9aYIE","level":"info","message":"auth send jwt","requestID":"ba7492ff6c6234c63d809c9dcf770377"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ba7492ff6c6234c63d809c9dcf770377","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"ba7492ff6c6234c63d809c9dcf770377"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":269,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":269,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.786436,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ba7492ff6c6234c63d809c9dcf770377","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348382,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Mn0.Vc0zugVfSWc58UbvGZOmJWoWnYB8IAB96b68ad9aYIE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ba7492ff6c6234c63d809c9dcf770377","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:22.210337416Z"}]},"request_id":"6b3dd88a-9cd5-4703-b5e4-257451484c3e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.7652977} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ba7492ff6c6234c63d809c9dcf770377","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"425ddb1c-63a4-4bd6-b4a9-299c63d7abdc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.7713463} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"ba7492ff6c6234c63d809c9dcf770377","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:22.210337416Z"}]},"request_id":"1c6caab2-fe87-44c6-8f5a-59e06c3b245f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348382.7838783} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ba7492ff6c6234c63d809c9dcf770377","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"ba7492ff6c6234c63d809c9dcf770377"} gateway-1 | {"time_local":"30/Jul/2024:14:06:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.040","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"ba7492ff6c6234c63d809c9dcf770377"} device-1 | {"level":"info","message":"PATCH /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd 200 33ms","method":"PATCH","requestID":"ba7492ff6c6234c63d809c9dcf770377","responseTime":33,"status":200,"url":"/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Mn0.Vc0zugVfSWc58UbvGZOmJWoWnYB8IAB96b68ad9aYIE","level":"info","message":"auth send jwt","requestID":"230e23e31309eb39978fe30701ba76ff"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"230e23e31309eb39978fe30701ba76ff","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"230e23e31309eb39978fe30701ba76ff"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":270,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":270,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.672889,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:22Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"230e23e31309eb39978fe30701ba76ff","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348382,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Mn0.Vc0zugVfSWc58UbvGZOmJWoWnYB8IAB96b68ad9aYIE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"230e23e31309eb39978fe30701ba76ff","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"230e23e31309eb39978fe30701ba76ff"} gateway-1 | {"time_local":"30/Jul/2024:14:06:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.025","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"230e23e31309eb39978fe30701ba76ff"} device-1 | {"level":"info","message":"POST /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd/websocket 200 19ms","method":"POST","requestID":"230e23e31309eb39978fe30701ba76ff","responseTime":19,"status":200,"url":"/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f76fbfeb27a3d217a802065d61760038","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f76fbfeb27a3d217a802065d61760038","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/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":"f76fbfeb27a3d217a802065d61760038"} device-1 | {"level":"info","message":"OPTIONS /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/websocket 200 2ms","method":"OPTIONS","requestID":"f76fbfeb27a3d217a802065d61760038","responseTime":2,"status":200,"url":"/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w","level":"info","message":"auth send jwt","requestID":"4d03a44e3ec86c2873a33c49ed5faecc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4d03a44e3ec86c2873a33c49ed5faecc","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"4d03a44e3ec86c2873a33c49ed5faecc"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":271,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":271,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.555117,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"4d03a44e3ec86c2873a33c49ed5faecc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348384,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4d03a44e3ec86c2873a33c49ed5faecc","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"4d03a44e3ec86c2873a33c49ed5faecc"} gateway-1 | {"time_local":"30/Jul/2024:14:06:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.030","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4d03a44e3ec86c2873a33c49ed5faecc"} device-1 | {"level":"info","message":"POST /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/websocket 200 23ms","method":"POST","requestID":"4d03a44e3ec86c2873a33c49ed5faecc","responseTime":23,"status":200,"url":"/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w","level":"info","message":"auth send jwt","requestID":"49b5f0e2546ad2c80e1ac48a05991ee6"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"49b5f0e2546ad2c80e1ac48a05991ee6","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"49b5f0e2546ad2c80e1ac48a05991ee6"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":272,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":272,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.064251,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"49b5f0e2546ad2c80e1ac48a05991ee6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348384,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"49b5f0e2546ad2c80e1ac48a05991ee6","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:22.210337416Z"}]},"request_id":"40f79bd0-509c-4e5f-bbd9-cc2d4d13abad","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.3264322} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"49b5f0e2546ad2c80e1ac48a05991ee6","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"49b5f0e2546ad2c80e1ac48a05991ee6"} device-1 | {"level":"info","message":"GET /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd? 200 22ms","method":"GET","requestID":"49b5f0e2546ad2c80e1ac48a05991ee6","responseTime":22,"status":200,"url":"/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"49b5f0e2546ad2c80e1ac48a05991ee6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w","level":"info","message":"auth send jwt","requestID":"8b99ba17e659710c3d9a65c77a1a4e8c"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"8b99ba17e659710c3d9a65c77a1a4e8c","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8b99ba17e659710c3d9a65c77a1a4e8c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":273,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":273,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.282481,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8b99ba17e659710c3d9a65c77a1a4e8c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348384,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8b99ba17e659710c3d9a65c77a1a4e8c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:22.261306273Z"}]},"request_id":"1dac5146-b6cb-4f37-8995-3369b2ef08ba","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.3550832} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8b99ba17e659710c3d9a65c77a1a4e8c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8b99ba17e659710c3d9a65c77a1a4e8c"} device-1 | {"level":"info","message":"GET /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6? 200 20ms","method":"GET","requestID":"8b99ba17e659710c3d9a65c77a1a4e8c","responseTime":21,"status":200,"url":"/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6? 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":"8b99ba17e659710c3d9a65c77a1a4e8c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w","level":"info","message":"auth send jwt","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":274,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":274,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.152302,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8808cab85cd60c5f0ba2d6a4065b4dab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348384,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Attempting to run experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Attempting to book experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Successfully booked experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e7d4f820-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e7d54640-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":275,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":275,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.159204,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e7d4f820-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348384,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e7d4f820-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Received request.","req_id":276,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Sent response.","req_id":276,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.809224,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e7d54640-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348384,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"e7d54640-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:22.210337416Z"}]},"request_id":"d4766eef-bade-4151-a89e-b2cf3991f3f2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.4302227} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"e7d4f820-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:22.261306273Z"}]},"request_id":"b4fcfbe7-a585-4578-8d3c-fc021bd684ef","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.4342756} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e7d4f820-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e7d54640-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd? 200 17ms","method":"GET","requestID":"e7d4f820-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e7d54640-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6? 200 18ms","method":"GET","requestID":"e7d54640-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Setting up experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Successfully locked booking for experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Attempting to update booking for experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Successfully updated booking for experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Successfully set up experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e7dee330-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e7df3150-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":277,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e7df5860-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Successfully running experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":277,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.729699,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Received request.","req_id":278,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e7dee330-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348384,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e7dee330-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Sent response.","req_id":278,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.795926,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e7df3150-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348384,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"e7df3150-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":279,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b7eecdb1-ae19-4c6a-b82a-d776463457c9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.4956193} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":279,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.636977,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e7df5860-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","object_type":"device","rebac_allow":false,"scope_allow":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":"e7df5860-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:22.261306273Z"}]},"request_id":"5c097df8-0d0a-4d5a-bad2-3b3db052c662","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.5035734} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"e7df3150-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e7df5860-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:22.210337416Z"}]},"request_id":"232581b2-7d2c-45c3-8c05-d641d9fe448a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.5068927} device-1 | {"level":"info","message":"POST /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd/signaling 200 24ms","method":"POST","requestID":"e7df5860-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":24,"status":200,"url":"/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"e7dee330-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff40e935d-ded2-4d8b-b4fd-4fe82a3e5923#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff40e935d-ded2-4d8b-b4fd-4fe82a3e5923","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"282451a4-9a8d-40a3-87ac-51b56729ce43","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.5108044} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2382633b-685a-4dc1-999d-9ce4d0410d05","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.5111136} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e7e39e20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e7df3150-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6? 200 32ms","method":"GET","requestID":"e7df3150-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":32,"status":200,"url":"/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":280,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e7dee330-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd? 200 37ms","method":"GET","requestID":"e7dee330-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":37,"status":200,"url":"/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d6197c8d-8d7b-427e-a46d-b9fc1220e113","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.5204995} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":280,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.676059,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e7e39e20-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e7e39e20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} experiment-1 | {"level":"info","message":"POST /experiments? 201 153ms","method":"POST","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab","responseTime":153,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"781","request_time":"0.160","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e7e524c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e7e39e20-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":281,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} device-1 | {"level":"info","message":"POST /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/signaling 200 13ms","method":"POST","requestID":"e7e39e20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"185c5e05-cff7-4427-8522-cfd58fb9175f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.5293946} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w","level":"info","message":"auth send jwt","requestID":"47ec0b84db59e3672b7d3a937d9cb27e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":281,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.695385,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"47ec0b84db59e3672b7d3a937d9cb27e","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e7e524c0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","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":"47ec0b84db59e3672b7d3a937d9cb27e"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e7e524c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":282,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":282,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.888319,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e7e524c0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"47ec0b84db59e3672b7d3a937d9cb27e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348384,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w"} device-1 | {"level":"info","message":"POST /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd/signaling 200 12ms","method":"POST","requestID":"e7e524c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd/signaling"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"47ec0b84db59e3672b7d3a937d9cb27e","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e7e747a0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:22.210337416Z"}]},"request_id":"9077c595-04bf-4c0e-9d46-c70af2cb5174","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.5395079} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"47ec0b84db59e3672b7d3a937d9cb27e","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":283,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6fd1d92f-28a2-4e34-aba9-3ffce69633a0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.542581} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":283,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.470531,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"47ec0b84db59e3672b7d3a937d9cb27e"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e7e747a0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","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":"30/Jul/2024:14:06:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd? 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":"47ec0b84db59e3672b7d3a937d9cb27e"} device-1 | {"level":"info","message":"GET /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd? 200 13ms","method":"GET","requestID":"47ec0b84db59e3672b7d3a937d9cb27e","responseTime":13,"status":200,"url":"/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd?"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e7e747a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e7e747a0-4e7c-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w","level":"info","message":"auth send jwt","requestID":"65e65df2e7df692bf47c7f9c2e4a1cc1"} device-1 | {"level":"info","message":"POST /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/signaling 200 11ms","method":"POST","requestID":"e7e747a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/signaling"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"65e65df2e7df692bf47c7f9c2e4a1cc1","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"65e65df2e7df692bf47c7f9c2e4a1cc1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Building connection plan","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"4aa8f534-886b-4d40-8766-d6b5c47bdbc4"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"2fe7a640-bacc-4cf3-9bf9-5efad8d89eb1"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/file","uuid":"d2f6cba4-32b9-48e6-a163-d5f827f536b5"}]},"level":"info","message":"Built pairwise service configurations","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} 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/d67a379c-4683-477b-a3a0-c7ae6e3a63dd"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":284,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"e7e99190-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":284,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.704863,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"65e65df2e7df692bf47c7f9c2e4a1cc1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348384,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"65e65df2e7df692bf47c7f9c2e4a1cc1","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":285,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":285,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.664063,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e7e99190-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348384,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4NH0.FTxsWbFKJx6kIXHUTekm99UKV77h1hN6ndxpDVAFR9w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e7e99190-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:22.261306273Z"}]},"request_id":"a808a681-930a-4e8a-9a2f-a82f8a2a7119","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.557854} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"65e65df2e7df692bf47c7f9c2e4a1cc1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"65e65df2e7df692bf47c7f9c2e4a1cc1"} gateway-1 | {"time_local":"30/Jul/2024:14:06:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6? 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":"65e65df2e7df692bf47c7f9c2e4a1cc1"} device-1 | {"level":"info","message":"GET /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6? 200 13ms","method":"GET","requestID":"65e65df2e7df692bf47c7f9c2e4a1cc1","responseTime":13,"status":200,"url":"/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"75b9e5c6-da10-4867-8bdb-1345adb1862e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.5680854} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"555f3c28-0a40-4496-9206-8ed04ba09c07","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.5682034} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e7e99190-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"e7e99190-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"e7e99190-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551'","requestID":"e7e99190-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551'","requestID":"e7e99190-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"e7e99190-4e7c-11ef-b6a3-8dff1d026ae9"} 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":"e7e99190-4e7c-11ef-b6a3-8dff1d026ae9","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":"e7e99190-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551","device":"70c5e15a-50af-4c2e-8aa9-016340306fa6","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/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"8808cab85cd60c5f0ba2d6a4065b4dab"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e7f1a7e0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":286,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b9abcbbc-41a2-4d73-a9d8-0c93cb8be077","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.6106575} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":286,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.173364,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e7f1a7e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e7f1a7e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e7f1a7e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd/signaling 200 9ms","method":"POST","requestID":"e7f1a7e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e7f37ca0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"device":"70c5e15a-50af-4c2e-8aa9-016340306fa6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"70c5e15a-50af-4c2e-8aa9-016340306fa6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":287,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:24Z"} device-1 | {"content":{"sdp":"v=0\r\no=- 8418042229483629870 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:ItGn\r\na=ice-pwd:1nrrcDUs3qluoqnCMY6H5OhO\r\na=ice-options:trickle\r\na=fingerprint:sha-256 0B:BA:60:78:FA:78:FC:79:C4:74:14:E8:A1:9E:94:A0:46:A2:0F:06:05:E0:71:88:95:17:BB:1C:F4:95:74:CB\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"70c5e15a-50af-4c2e-8aa9-016340306fa6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cdeb17bd-6bc0-4fc5-8fd4-e4fc548e63b8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348384.6232755} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6'"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":287,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.836145,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e7f37ca0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e7f37ca0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e7f37ca0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/signaling 200 11ms","method":"POST","requestID":"e7f37ca0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/signaling"} device-1 | {"device":"70c5e15a-50af-4c2e-8aa9-016340306fa6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"d67a379c-4683-477b-a3a0-c7ae6e3a63dd","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":"4114c6e5-e5d9-41ae-b164-da42687bb551","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d67a379c-4683-477b-a3a0-c7ae6e3a63dd","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":"d67a379c-4683-477b-a3a0-c7ae6e3a63dd","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":"d67a379c-4683-477b-a3a0-c7ae6e3a63dd","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":"d67a379c-4683-477b-a3a0-c7ae6e3a63dd","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/4114c6e5-e5d9-41ae-b164-da42687bb551' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"4114c6e5-e5d9-41ae-b164-da42687bb551","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"66eb47d47d66bbb3bdda081a08b0b429","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"66eb47d47d66bbb3bdda081a08b0b429","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/d67a379c-4683-477b-a3a0-c7ae6e3a63dd"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551"}}},"level":"info","message":"received a callback","requestID":"66eb47d47d66bbb3bdda081a08b0b429"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"66eb47d47d66bbb3bdda081a08b0b429","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"66eb47d47d66bbb3bdda081a08b0b429"} device-1 | {"content":{"candidate":"candidate:1728725414 1 udp 2113937151 a9a1a3b3-a421-4dfa-b4b0-b9aef0b7747a.local 52374 typ host generation 0 ufrag ItGn network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"70c5e15a-50af-4c2e-8aa9-016340306fa6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1644318462 1 udp 1677729535 141.24.211.56 52374 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag ItGn network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"70c5e15a-50af-4c2e-8aa9-016340306fa6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:823128437 1 udp 33562623 141.24.210.113 58659 typ relay raddr 141.24.211.56 rport 52374 generation 0 ufrag ItGn network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"70c5e15a-50af-4c2e-8aa9-016340306fa6","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/70c5e15a-50af-4c2e-8aa9-016340306fa6'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6'"} device-1 | {"device":"70c5e15a-50af-4c2e-8aa9-016340306fa6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"data":{"peerconnection":"4114c6e5-e5d9-41ae-b164-da42687bb551","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d67a379c-4683-477b-a3a0-c7ae6e3a63dd","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":"70c5e15a-50af-4c2e-8aa9-016340306fa6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"d67a379c-4683-477b-a3a0-c7ae6e3a63dd","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":"4114c6e5-e5d9-41ae-b164-da42687bb551","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/4114c6e5-e5d9-41ae-b164-da42687bb551' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"4114c6e5-e5d9-41ae-b164-da42687bb551","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9c521e15f0fc26b4db97ae64a6713ae4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9c521e15f0fc26b4db97ae64a6713ae4","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/d67a379c-4683-477b-a3a0-c7ae6e3a63dd"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551"}}},"level":"info","message":"received a callback","requestID":"9c521e15f0fc26b4db97ae64a6713ae4"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"e9359990-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":288,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:26Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F4114c6e5-e5d9-41ae-b164-da42687bb551","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7c6668f9-6ede-4152-b249-dd2fd882c650","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348386.735196} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":288,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.579344,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e9359990-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551","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":"e9359990-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"e9359990-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551 200 10ms","method":"GET","requestID":"e9359990-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 41ms","method":"POST","requestID":"9c521e15f0fc26b4db97ae64a6713ae4","responseTime":41,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.045","http_referrer":"","http_user_agent":"node-fetch","requestID":"9c521e15f0fc26b4db97ae64a6713ae4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e93ac9b0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":289,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:26Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f9d41465-0d53-4e3a-ab86-598b6eba8b55","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348386.7681894} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":289,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.697198,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e93ac9b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e93ac9b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e93ac9b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd/signaling 200 10ms","method":"POST","requestID":"e93ac9b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e93c9e70-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":290,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:26Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f93cb007-88aa-424d-903d-5935a7ba1efb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348386.780679} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":290,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.981559,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:26Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e93c9e70-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e93c9e70-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"POST /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/signaling 200 11ms","method":"POST","requestID":"e93c9e70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/signaling"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e93c9e70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Nn0.BkT-VaJA7tPcLd_5IoNKdAzq8bQlw7-uujt-Me3qXiE","level":"info","message":"auth send jwt","requestID":"6f69833eba0436168ba5610db5636d14"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6f69833eba0436168ba5610db5636d14","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923","requestID":"6f69833eba0436168ba5610db5636d14"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":291,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:26Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":291,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.223038,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6f69833eba0436168ba5610db5636d14","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348386,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Nn0.BkT-VaJA7tPcLd_5IoNKdAzq8bQlw7-uujt-Me3qXiE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6f69833eba0436168ba5610db5636d14","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923","requestID":"6f69833eba0436168ba5610db5636d14"} gateway-1 | {"time_local":"30/Jul/2024:14:06:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923 HTTP/1.1","status": "200","body_bytes_sent":"854","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6f69833eba0436168ba5610db5636d14"} experiment-1 | {"level":"info","message":"GET /experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923 200 18ms","method":"GET","requestID":"6f69833eba0436168ba5610db5636d14","responseTime":18,"status":200,"url":"/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Nn0.BkT-VaJA7tPcLd_5IoNKdAzq8bQlw7-uujt-Me3qXiE","level":"info","message":"auth send jwt","requestID":"f295b6a879dd4f6f875e21a2b2481337"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f295b6a879dd4f6f875e21a2b2481337","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923","requestID":"f295b6a879dd4f6f875e21a2b2481337"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":292,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:26Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":292,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.314096,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:26Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f295b6a879dd4f6f875e21a2b2481337","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348386,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Nn0.BkT-VaJA7tPcLd_5IoNKdAzq8bQlw7-uujt-Me3qXiE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f295b6a879dd4f6f875e21a2b2481337","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Attempting to finish experiment","requestID":"f295b6a879dd4f6f875e21a2b2481337"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"e95a5fa0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":293,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:26Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":293,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.235206,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:26Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e95a5fa0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348386,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4Nn0.BkT-VaJA7tPcLd_5IoNKdAzq8bQlw7-uujt-Me3qXiE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e95a5fa0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551","device":"70c5e15a-50af-4c2e-8aa9-016340306fa6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"d67a379c-4683-477b-a3a0-c7ae6e3a63dd","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":"d67a379c-4683-477b-a3a0-c7ae6e3a63dd","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":"d67a379c-4683-477b-a3a0-c7ae6e3a63dd","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/4114c6e5-e5d9-41ae-b164-da42687bb551' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"4114c6e5-e5d9-41ae-b164-da42687bb551","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F4114c6e5-e5d9-41ae-b164-da42687bb551': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F4114c6e5-e5d9-41ae-b164-da42687bb551","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"659d9297-0ecd-49fe-97d2-d72572a1a604","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348386.994116} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"79e3467a37f73a66eb1b4957fe31b985","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b81ebfde-2aef-4993-9392-abe174694306","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348386.9945846} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"79e3467a37f73a66eb1b4957fe31b985","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a6c96e0ae12cea232505705901c11d1a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"closed","url":"http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551"}}},"level":"info","message":"received a callback","requestID":"79e3467a37f73a66eb1b4957fe31b985"} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"e95a5fa0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a6c96e0ae12cea232505705901c11d1a","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":"closed","url":"http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551"}}},"level":"info","message":"received a callback","requestID":"a6c96e0ae12cea232505705901c11d1a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"e95a5fa0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551 204 44ms","method":"DELETE","requestID":"e95a5fa0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":44,"status":204,"url":"/peerconnections/4114c6e5-e5d9-41ae-b164-da42687bb551"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"},"level":"info","message":"Successfully finished experiment","requestID":"f295b6a879dd4f6f875e21a2b2481337"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e964e6f0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":294,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd67a379c-4683-477b-a3a0-c7ae6e3a63dd","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ca66fa7e-f0ee-49ce-9d01-2d68f14821b0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.045917} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":294,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.10529,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e964e6f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd","object_type":"device","rebac_allow":false,"scope_allow":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":"e964e6f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e964e6f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd/signaling 200 13ms","method":"POST","requestID":"e964e6f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/d67a379c-4683-477b-a3a0-c7ae6e3a63dd/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff40e935d-ded2-4d8b-b4fd-4fe82a3e5923': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff40e935d-ded2-4d8b-b4fd-4fe82a3e5923","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"226fad9f-3f06-411d-9c35-61795b59e001","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.0522866} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cb944343-e296-45de-baaf-f6104051fd73","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.052967} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9677f00-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"f295b6a879dd4f6f875e21a2b2481337","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":295,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70c5e15a-50af-4c2e-8aa9-016340306fa6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1366a848-1e72-489c-aa82-decfc9c43718","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.0621905} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":295,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.701255,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e9677f00-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6","object_type":"device","rebac_allow":false,"scope_allow":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":"e9677f00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9677f00-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/signaling 200 12ms","method":"POST","requestID":"e9677f00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/70c5e15a-50af-4c2e-8aa9-016340306fa6/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923","requestID":"f295b6a879dd4f6f875e21a2b2481337"} gateway-1 | {"time_local":"30/Jul/2024:14:06:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.174","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f295b6a879dd4f6f875e21a2b2481337"} experiment-1 | {"level":"info","message":"DELETE /experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923 204 170ms","method":"DELETE","requestID":"f295b6a879dd4f6f875e21a2b2481337","responseTime":170,"status":204,"url":"/experiments/f40e935d-ded2-4d8b-b4fd-4fe82a3e5923"} gateway-1 | {"time_local":"30/Jul/2024:14:06:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2974","request_time":"4.308","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"8ac82001cf46985909c475a651a46453"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 130ms","method":"POST","requestID":"79e3467a37f73a66eb1b4957fe31b985","responseTime":130,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.134","http_referrer":"","http_user_agent":"node-fetch","requestID":"79e3467a37f73a66eb1b4957fe31b985"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 130ms","method":"POST","requestID":"a6c96e0ae12cea232505705901c11d1a","responseTime":130,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.134","http_referrer":"","http_user_agent":"node-fetch","requestID":"a6c96e0ae12cea232505705901c11d1a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js","level":"info","message":"auth send jwt","requestID":"1022d2f1622c7a7afbea261cfd2dc0e2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1022d2f1622c7a7afbea261cfd2dc0e2","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"1022d2f1622c7a7afbea261cfd2dc0e2"} gateway-1 | {"time_local":"30/Jul/2024:14:06:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2485","request_time":"2.846","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"14c4614643184f6efa4020279bf7d3dd"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":296,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":296,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.886653,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"1022d2f1622c7a7afbea261cfd2dc0e2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1022d2f1622c7a7afbea261cfd2dc0e2","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/d67a379c-4683-477b-a3a0-c7ae6e3a63dd' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3bda9dc1-4ce7-417b-994f-ffc8e9a8ce58","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.151695} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1022d2f1622c7a7afbea261cfd2dc0e2","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/70c5e15a-50af-4c2e-8aa9-016340306fa6' 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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6ea092bb-c51e-441c-bca9-eee2a0d8a0a1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.1568384} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"1022d2f1622c7a7afbea261cfd2dc0e2","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"29ad23ce-d801-455c-928e-33c1358ffc14","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.1667092} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"88b7fc0b-5263-403e-9b43-58e493d3b7aa","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.1669378} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"1022d2f1622c7a7afbea261cfd2dc0e2","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.166688242Z"}]},"request_id":"50dcf818-688a-41fc-945d-4c0d9ba7a317","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.171634} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1022d2f1622c7a7afbea261cfd2dc0e2","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"1022d2f1622c7a7afbea261cfd2dc0e2"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1022d2f1622c7a7afbea261cfd2dc0e2"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"1022d2f1622c7a7afbea261cfd2dc0e2","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js","level":"info","message":"auth send jwt","requestID":"a05ab4b78dbc2c25bc46add205776bc4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a05ab4b78dbc2c25bc46add205776bc4","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"a05ab4b78dbc2c25bc46add205776bc4"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":297,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":297,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.933625,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"a05ab4b78dbc2c25bc46add205776bc4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a05ab4b78dbc2c25bc46add205776bc4","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"37dda1d0-4bd0-498b-99d7-df00f75240b0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.1955001} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a05ab4b78dbc2c25bc46add205776bc4","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f8d4001c-9445-47b8-9a27-c0d2a73d20e2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.2004645} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"a05ab4b78dbc2c25bc46add205776bc4","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"d2f55af6-2398-45a5-833e-dceb13d36df0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.2162879} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"20713ef4-e792-48a3-9a42-e207bb8898a7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.2165344} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"a05ab4b78dbc2c25bc46add205776bc4","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.216268732Z"}]},"request_id":"eccf04b3-98d4-46e2-9a3e-b8cc220efafb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.2206454} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a05ab4b78dbc2c25bc46add205776bc4","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a05ab4b78dbc2c25bc46add205776bc4"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a05ab4b78dbc2c25bc46add205776bc4"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"a05ab4b78dbc2c25bc46add205776bc4","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js","level":"info","message":"auth send jwt","requestID":"523d9a01849d62059d50bdb6f90357c9"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"523d9a01849d62059d50bdb6f90357c9","responseTime":7,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js","level":"info","message":"auth send jwt","requestID":"e64283e94a31c3e138bcf5f981ebd0b8"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"e64283e94a31c3e138bcf5f981ebd0b8","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"523d9a01849d62059d50bdb6f90357c9"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e64283e94a31c3e138bcf5f981ebd0b8"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":298,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":298,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.751323,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Received request.","req_id":299,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"523d9a01849d62059d50bdb6f90357c9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"523d9a01849d62059d50bdb6f90357c9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Sent response.","req_id":299,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.625871,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e64283e94a31c3e138bcf5f981ebd0b8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"e64283e94a31c3e138bcf5f981ebd0b8","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.166688242Z"}]},"request_id":"d9af2b13-5c4b-4501-abe6-516fd87306cc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.7221951} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"523d9a01849d62059d50bdb6f90357c9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.216268732Z"}]},"request_id":"99f04031-6d33-4131-b93c-65bef8c9a02d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.72335} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e64283e94a31c3e138bcf5f981ebd0b8","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"52393453-e397-4975-abe4-bc3fd3389f5b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.72768} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"523d9a01849d62059d50bdb6f90357c9","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"86c17c91-2769-4942-9cbc-a8d39f4035b3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.7288988} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e64283e94a31c3e138bcf5f981ebd0b8","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.216268732Z"}]},"request_id":"aa4a0052-3ae3-41df-8a00-0fa87940832f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.732327} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e64283e94a31c3e138bcf5f981ebd0b8","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e64283e94a31c3e138bcf5f981ebd0b8"} gateway-1 | {"time_local":"30/Jul/2024:14:06:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.032","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"e64283e94a31c3e138bcf5f981ebd0b8"} device-1 | {"level":"info","message":"PATCH /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac 200 23ms","method":"PATCH","requestID":"e64283e94a31c3e138bcf5f981ebd0b8","responseTime":23,"status":200,"url":"/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js","level":"info","message":"auth send jwt","requestID":"24ea77af852434dc9a3cc89c5ac2a374"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"24ea77af852434dc9a3cc89c5ac2a374","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"24ea77af852434dc9a3cc89c5ac2a374"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.166688242Z"}]},"request_id":"3f5df123-fb43-4c63-9f14-5d9b5f2fd6e2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.7431788} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"523d9a01849d62059d50bdb6f90357c9","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":300,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":300,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.737306,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"523d9a01849d62059d50bdb6f90357c9"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"24ea77af852434dc9a3cc89c5ac2a374","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"24ea77af852434dc9a3cc89c5ac2a374","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"30/Jul/2024:14:06:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.044","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"523d9a01849d62059d50bdb6f90357c9"} device-1 | {"level":"info","message":"PATCH /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e 200 36ms","method":"PATCH","requestID":"523d9a01849d62059d50bdb6f90357c9","responseTime":36,"status":200,"url":"/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js","level":"info","message":"auth send jwt","requestID":"5051a39003515845708986058a8ce422"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5051a39003515845708986058a8ce422","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"5051a39003515845708986058a8ce422"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":301,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":301,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.38195,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"5051a39003515845708986058a8ce422","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5051a39003515845708986058a8ce422","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"24ea77af852434dc9a3cc89c5ac2a374"} gateway-1 | {"time_local":"30/Jul/2024:14:06:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"24ea77af852434dc9a3cc89c5ac2a374"} device-1 | {"level":"info","message":"POST /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac/websocket 200 18ms","method":"POST","requestID":"24ea77af852434dc9a3cc89c5ac2a374","responseTime":18,"status":200,"url":"/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"5051a39003515845708986058a8ce422"} gateway-1 | {"time_local":"30/Jul/2024:14:06:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.019","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"5051a39003515845708986058a8ce422"} device-1 | {"level":"info","message":"POST /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e/websocket 200 15ms","method":"POST","requestID":"5051a39003515845708986058a8ce422","responseTime":15,"status":200,"url":"/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js","level":"info","message":"auth send jwt","requestID":"94dcda0e22f68392225fdc6963ea9df7"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"94dcda0e22f68392225fdc6963ea9df7","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"94dcda0e22f68392225fdc6963ea9df7"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":302,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":302,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.694543,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"94dcda0e22f68392225fdc6963ea9df7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"94dcda0e22f68392225fdc6963ea9df7","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.166688242Z"}]},"request_id":"58cbc026-0f8c-4aa9-93db-6e6d886f467b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.8027983} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"94dcda0e22f68392225fdc6963ea9df7","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"94dcda0e22f68392225fdc6963ea9df7"} gateway-1 | {"time_local":"30/Jul/2024:14:06:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e? 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":"94dcda0e22f68392225fdc6963ea9df7"} device-1 | {"level":"info","message":"GET /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e? 200 10ms","method":"GET","requestID":"94dcda0e22f68392225fdc6963ea9df7","responseTime":10,"status":200,"url":"/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js","level":"info","message":"auth send jwt","requestID":"671b9ecd5210b60c6eacdd509cb20eda"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"671b9ecd5210b60c6eacdd509cb20eda","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"671b9ecd5210b60c6eacdd509cb20eda"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":303,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":303,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.753415,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"671b9ecd5210b60c6eacdd509cb20eda","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"671b9ecd5210b60c6eacdd509cb20eda","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.216268732Z"}]},"request_id":"afa88341-7d60-4e09-9b8b-4880c9de0341","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.8195097} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"671b9ecd5210b60c6eacdd509cb20eda","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"671b9ecd5210b60c6eacdd509cb20eda"} gateway-1 | {"time_local":"30/Jul/2024:14:06:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac? 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":"671b9ecd5210b60c6eacdd509cb20eda"} device-1 | {"level":"info","message":"GET /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac? 200 12ms","method":"GET","requestID":"671b9ecd5210b60c6eacdd509cb20eda","responseTime":12,"status":200,"url":"/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js","level":"info","message":"auth send jwt","requestID":"511a822f365a8e751d1134edbbb6634f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"511a822f365a8e751d1134edbbb6634f","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"511a822f365a8e751d1134edbbb6634f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":304,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":304,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.672247,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"511a822f365a8e751d1134edbbb6634f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"511a822f365a8e751d1134edbbb6634f","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Attempting to run experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Attempting to book experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Successfully booked experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e9e3b3e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e9e40200-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":305,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":305,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.342968,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Received request.","req_id":306,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e9e3b3e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e9e3b3e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Sent response.","req_id":306,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.654262,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e9e40200-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e9e40200-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.166688242Z"}]},"request_id":"954cb58e-fbb6-41bc-9163-4c58259fd705","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.8797348} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e9e3b3e0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.216268732Z"}]},"request_id":"8db61f1b-590c-4545-9b45-620172eb268e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.88115} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e9e40200-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e9e3b3e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e? 200 15ms","method":"GET","requestID":"e9e3b3e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e9e40200-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac? 200 14ms","method":"GET","requestID":"e9e40200-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Setting up experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Successfully locked booking for experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Attempting to update booking for experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Successfully updated booking for experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Successfully set up experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e9ee8950-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e9eefe80-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9ef4ca0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":307,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":307,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.549251,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Received request.","req_id":308,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e9ee8950-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Successfully running experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e9ee8950-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Sent response.","req_id":308,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.224877,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e9eefe80-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"e9eefe80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":309,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":309,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.135986,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b95fa8bd-5d5f-404f-8301-52915c5a09dd","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.9559348} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e9ef4ca0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","object_type":"device","rebac_allow":false,"scope_allow":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":"e9ef4ca0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.166688242Z"}]},"request_id":"68abde2e-4047-40d8-9579-22c84ea1a939","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.9592242} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.216268732Z"}]},"request_id":"e0c5dcce-97d4-4604-8d5d-6d93d2767356","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.9614792} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"e9ee8950-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"e9eefe80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e9ee8950-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e? 200 30ms","method":"GET","requestID":"e9ee8950-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":30,"status":200,"url":"/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9ef4ca0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e/signaling 200 27ms","method":"POST","requestID":"e9ef4ca0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":27,"status":200,"url":"/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e9eefe80-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac? 200 31ms","method":"GET","requestID":"e9eefe80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":31,"status":200,"url":"/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc1b47933-acda-4f84-8837-1ec2da6d0179#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc1b47933-acda-4f84-8837-1ec2da6d0179","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"8ce3a6a3-6fc0-4e6c-92f5-c1e6bcea942e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.978017} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9f40790-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8d2086b7-ada7-469a-aec9-3dcff7554fab","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.9783309} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9f47cc0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"511a822f365a8e751d1134edbbb6634f","responseTime":26,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":310,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Received request.","req_id":311,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"129026a5-724c-4df4-b5b3-3d2e7111c3ab","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.9861548} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":310,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.850256,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e9f40790-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","object_type":"device","rebac_allow":false,"scope_allow":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":"e9f40790-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e6b4271f-8c35-4f46-9cdf-feabc96562ec","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348387.989788} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Sent response.","req_id":311,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.144363,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:27Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"511a822f365a8e751d1134edbbb6634f"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e9f47cc0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","object_type":"device","rebac_allow":false,"scope_allow":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":"e9f47cc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"30/Jul/2024:14:06:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"785","request_time":"0.168","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"511a822f365a8e751d1134edbbb6634f"} experiment-1 | {"level":"info","message":"POST /experiments? 201 164ms","method":"POST","requestID":"511a822f365a8e751d1134edbbb6634f","responseTime":164,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9f40790-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac/signaling 200 19ms","method":"POST","requestID":"e9f40790-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js","level":"info","message":"auth send jwt","requestID":"5af0761f22604f2ce315428cd60e21ff"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"5af0761f22604f2ce315428cd60e21ff","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9f47cc0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e/signaling 200 21ms","method":"POST","requestID":"e9f47cc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":21,"status":200,"url":"/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5af0761f22604f2ce315428cd60e21ff"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"e9f82640-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":312,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:28Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":312,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.872037,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:28Z"} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Received request.","req_id":313,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"5af0761f22604f2ce315428cd60e21ff","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5af0761f22604f2ce315428cd60e21ff","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"111b8e11-8a8e-414b-900f-9e7fcc031321","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348388.009422} authorization-1 | {"client_addr":"127.0.0.1:33938","level":"info","msg":"Sent response.","req_id":313,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.539792,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e9f82640-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e9f82640-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.166688242Z"}]},"request_id":"00d15045-edbc-4bc0-ae5d-b85e619b0a3c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348388.0129933} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"e9f82640-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac/signaling 200 9ms","method":"POST","requestID":"e9f82640-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5af0761f22604f2ce315428cd60e21ff","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Building connection plan","requestID":"511a822f365a8e751d1134edbbb6634f"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"b5c2a820-dbeb-43a6-a607-c6821dbc3d4e"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"537d7adb-14cd-4a67-9d10-443a6ca9f783"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/file","uuid":"d0430089-017a-4ea6-92c0-0de1b654c899"}]},"level":"info","message":"Built pairwise service configurations","requestID":"511a822f365a8e751d1134edbbb6634f"} 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/482510e5-63b6-4029-baa2-0d2fe1c37bac"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"511a822f365a8e751d1134edbbb6634f"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"e9fa2210-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5af0761f22604f2ce315428cd60e21ff"} gateway-1 | {"time_local":"30/Jul/2024:14:06:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5af0761f22604f2ce315428cd60e21ff"} device-1 | {"level":"info","message":"GET /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e? 200 17ms","method":"GET","requestID":"5af0761f22604f2ce315428cd60e21ff","responseTime":17,"status":200,"url":"/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":314,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:28Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":314,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.324536,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e9fa2210-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348387,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4N30.qQ3DOZI7URc4Y1WdJZmps4Lj6A3Zm3Dh0szPVOiK_Js"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e9fa2210-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4OH0.sE6xlhOy8c9nPj3y7-yK9_yRznqC8h-YIRWsrhJtIEU","level":"info","message":"auth send jwt","requestID":"407eef76c4c14f8337c4d33bb1a3c229"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"407eef76c4c14f8337c4d33bb1a3c229","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"407eef76c4c14f8337c4d33bb1a3c229"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":315,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:28Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":315,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.108253,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"407eef76c4c14f8337c4d33bb1a3c229","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348388,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM4OH0.sE6xlhOy8c9nPj3y7-yK9_yRznqC8h-YIRWsrhJtIEU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"407eef76c4c14f8337c4d33bb1a3c229","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"c6a5a225-4f6f-4ae2-a14b-b72b96131502","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348388.0370834} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"95e754a9-0bc0-449c-9d3f-0b7265a4357d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348388.037459} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:27.216268732Z"}]},"request_id":"0e5d29ea-ff97-424d-93a2-5f263232c9c9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348388.038651} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"e9fa2210-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"407eef76c4c14f8337c4d33bb1a3c229","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"407eef76c4c14f8337c4d33bb1a3c229"} gateway-1 | {"time_local":"30/Jul/2024:14:06:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.026","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"407eef76c4c14f8337c4d33bb1a3c229"} device-1 | {"level":"info","message":"GET /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac? 200 20ms","method":"GET","requestID":"407eef76c4c14f8337c4d33bb1a3c229","responseTime":20,"status":200,"url":"/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"e9fa2210-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"e9fa2210-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90'","requestID":"e9fa2210-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90'","requestID":"e9fa2210-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"e9fa2210-4e7c-11ef-b6a3-8dff1d026ae9"} 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":"e9fa2210-4e7c-11ef-b6a3-8dff1d026ae9","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":"e9fa2210-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"511a822f365a8e751d1134edbbb6634f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ea056cb0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":316,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:28Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"36aef27d-e878-454b-b630-2a40ad322af8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348388.0988584} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":316,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.420968,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ea056cb0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","object_type":"device","rebac_allow":false,"scope_allow":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":"ea056cb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ea056cb0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e/signaling 200 14ms","method":"POST","requestID":"ea056cb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ea082bd0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":317,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:28Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dadf178b-a7b6-4670-902d-b7aebcec0496","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348388.1157923} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":317,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.679446,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ea082bd0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"ea082bd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ea082bd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac/signaling 200 13ms","method":"POST","requestID":"ea082bd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac/signaling"} device-1 | {"device":"f4772416-a643-4ff3-b9c4-d77019f9e25e","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":"87703123-a6b8-486b-b64d-c67f6e8aae90","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"482510e5-63b6-4029-baa2-0d2fe1c37bac","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":"87703123-a6b8-486b-b64d-c67f6e8aae90","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"482510e5-63b6-4029-baa2-0d2fe1c37bac","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":"482510e5-63b6-4029-baa2-0d2fe1c37bac","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":"482510e5-63b6-4029-baa2-0d2fe1c37bac","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":"482510e5-63b6-4029-baa2-0d2fe1c37bac","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/87703123-a6b8-486b-b64d-c67f6e8aae90' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"87703123-a6b8-486b-b64d-c67f6e8aae90","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"50164c88afb2db2edb7b76a552ccca45","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"50164c88afb2db2edb7b76a552ccca45","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/482510e5-63b6-4029-baa2-0d2fe1c37bac"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90"}}},"level":"info","message":"received a callback","requestID":"50164c88afb2db2edb7b76a552ccca45"} device-1 | {"device":"f4772416-a643-4ff3-b9c4-d77019f9e25e","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":"f4772416-a643-4ff3-b9c4-d77019f9e25e","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":"f4772416-a643-4ff3-b9c4-d77019f9e25e","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 | {"data":{"peerconnection":"87703123-a6b8-486b-b64d-c67f6e8aae90","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"482510e5-63b6-4029-baa2-0d2fe1c37bac","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"}} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 13ms","method":"POST","requestID":"50164c88afb2db2edb7b76a552ccca45","responseTime":13,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.018","http_referrer":"","http_user_agent":"node-fetch","requestID":"50164c88afb2db2edb7b76a552ccca45"} device-1 | {"device":"f4772416-a643-4ff3-b9c4-d77019f9e25e","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":"482510e5-63b6-4029-baa2-0d2fe1c37bac","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":"f4772416-a643-4ff3-b9c4-d77019f9e25e","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":"87703123-a6b8-486b-b64d-c67f6e8aae90","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/87703123-a6b8-486b-b64d-c67f6e8aae90' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"87703123-a6b8-486b-b64d-c67f6e8aae90","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4158f3d5d170de3ad947c552bc415eff","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4158f3d5d170de3ad947c552bc415eff","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/482510e5-63b6-4029-baa2-0d2fe1c37bac"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90"}}},"level":"info","message":"received a callback","requestID":"4158f3d5d170de3ad947c552bc415eff"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"eb458dd0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":318,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F87703123-a6b8-486b-b64d-c67f6e8aae90","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5c5fb774-ed54-4de7-afc2-7a276c8444b0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.1946983} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":318,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.368918,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eb458dd0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90","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":"eb458dd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"eb458dd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90 200 11ms","method":"GET","requestID":"eb458dd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 51ms","method":"POST","requestID":"4158f3d5d170de3ad947c552bc415eff","responseTime":51,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.056","http_referrer":"","http_user_agent":"node-fetch","requestID":"4158f3d5d170de3ad947c552bc415eff"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"eb4bcf60-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":319,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"06d0722b-91f3-4255-913a-8bdcc2c8e6d6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.236049} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":319,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.681443,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eb4bcf60-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"eb4bcf60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"eb4bcf60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac/signaling 200 9ms","method":"POST","requestID":"eb4bcf60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"eb4dcb30-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":320,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ed260783-b9f7-4dd4-b320-f21965f7e5d8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.24801} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":320,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.017771,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eb4dcb30-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","object_type":"device","rebac_allow":false,"scope_allow":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":"eb4dcb30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"eb4dcb30-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e/signaling 200 10ms","method":"POST","requestID":"eb4dcb30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5MH0.uZ8WHxW8H_HKadM_ql2J-1mzZz_LClaBcvSDhA3OxGY","level":"info","message":"auth send jwt","requestID":"204c6e07f168aacf629d704f60e1f789"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"204c6e07f168aacf629d704f60e1f789","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/c1b47933-acda-4f84-8837-1ec2da6d0179","requestID":"204c6e07f168aacf629d704f60e1f789"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":321,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":321,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":2.715641,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"204c6e07f168aacf629d704f60e1f789","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348390,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5MH0.uZ8WHxW8H_HKadM_ql2J-1mzZz_LClaBcvSDhA3OxGY"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"204c6e07f168aacf629d704f60e1f789","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/c1b47933-acda-4f84-8837-1ec2da6d0179","requestID":"204c6e07f168aacf629d704f60e1f789"} gateway-1 | {"time_local":"30/Jul/2024:14:06:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/c1b47933-acda-4f84-8837-1ec2da6d0179 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":"204c6e07f168aacf629d704f60e1f789"} experiment-1 | {"level":"info","message":"GET /experiments/c1b47933-acda-4f84-8837-1ec2da6d0179 200 20ms","method":"GET","requestID":"204c6e07f168aacf629d704f60e1f789","responseTime":20,"status":200,"url":"/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5MH0.uZ8WHxW8H_HKadM_ql2J-1mzZz_LClaBcvSDhA3OxGY","level":"info","message":"auth send jwt","requestID":"86397b989911193ac1af9d04fca0bd05"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"86397b989911193ac1af9d04fca0bd05","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/c1b47933-acda-4f84-8837-1ec2da6d0179","requestID":"86397b989911193ac1af9d04fca0bd05"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":322,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":322,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.295955,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"86397b989911193ac1af9d04fca0bd05","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348390,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5MH0.uZ8WHxW8H_HKadM_ql2J-1mzZz_LClaBcvSDhA3OxGY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"86397b989911193ac1af9d04fca0bd05","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Attempting to finish experiment","requestID":"86397b989911193ac1af9d04fca0bd05"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"eb6a53e0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":323,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":323,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.26331,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eb6a53e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348390,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5MH0.uZ8WHxW8H_HKadM_ql2J-1mzZz_LClaBcvSDhA3OxGY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"eb6a53e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"f4772416-a643-4ff3-b9c4-d77019f9e25e","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":"f4772416-a643-4ff3-b9c4-d77019f9e25e","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":"f4772416-a643-4ff3-b9c4-d77019f9e25e","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":"482510e5-63b6-4029-baa2-0d2fe1c37bac","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":"482510e5-63b6-4029-baa2-0d2fe1c37bac","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":"482510e5-63b6-4029-baa2-0d2fe1c37bac","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/87703123-a6b8-486b-b64d-c67f6e8aae90' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"87703123-a6b8-486b-b64d-c67f6e8aae90","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F87703123-a6b8-486b-b64d-c67f6e8aae90': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F87703123-a6b8-486b-b64d-c67f6e8aae90","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"69331885-7999-43f6-9b05-4520def9732f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.4538178} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f263badab36c6d6006ed3fb2c285373f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f263badab36c6d6006ed3fb2c285373f","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"835de2db-02d2-4b0a-8dcf-ff8564869a4e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.4541821} 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/482510e5-63b6-4029-baa2-0d2fe1c37bac"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90"}}},"level":"info","message":"received a callback","requestID":"f263badab36c6d6006ed3fb2c285373f"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2e76a7a29e09c614fc7023f0e8ef6ec8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"eb6a53e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"2e76a7a29e09c614fc7023f0e8ef6ec8","responseTime":1,"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/482510e5-63b6-4029-baa2-0d2fe1c37bac"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90"}}},"level":"info","message":"received a callback","requestID":"2e76a7a29e09c614fc7023f0e8ef6ec8"} device-1 | {"data":{"peerconnection":"87703123-a6b8-486b-b64d-c67f6e8aae90","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"eb6a53e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90 204 44ms","method":"DELETE","requestID":"eb6a53e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":44,"status":204,"url":"/peerconnections/87703123-a6b8-486b-b64d-c67f6e8aae90"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"},"level":"info","message":"Successfully finished experiment","requestID":"86397b989911193ac1af9d04fca0bd05"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"eb750240-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":324,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F482510e5-63b6-4029-baa2-0d2fe1c37bac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"df5c82cd-59fc-48b0-9c69-e381f8ec27e3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.5084867} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":324,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.300023,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eb750240-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac","object_type":"device","rebac_allow":false,"scope_allow":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":"eb750240-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc1b47933-acda-4f84-8837-1ec2da6d0179': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc1b47933-acda-4f84-8837-1ec2da6d0179","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"a6b2e4ec-01ae-4067-a454-785f32c81df5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.515568} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"076c23f8-07bb-492a-ab05-cd9e16b6c48f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.5159638} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"eb750240-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"86397b989911193ac1af9d04fca0bd05","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"POST /devices/482510e5-63b6-4029-baa2-0d2fe1c37bac/signaling 200 18ms","method":"POST","requestID":"eb750240-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/482510e5-63b6-4029-baa2-0d2fe1c37bac/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"eb7920f0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":325,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4772416-a643-4ff3-b9c4-d77019f9e25e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"36fe407b-6348-44c7-b715-f9ca00c3b0b8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.5357893} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":325,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.391764,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eb7920f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e","object_type":"device","rebac_allow":false,"scope_allow":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":"eb7920f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"eb7920f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f4772416-a643-4ff3-b9c4-d77019f9e25e/signaling 200 14ms","method":"POST","requestID":"eb7920f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/c1b47933-acda-4f84-8837-1ec2da6d0179","requestID":"86397b989911193ac1af9d04fca0bd05"} gateway-1 | {"time_local":"30/Jul/2024:14:06:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/c1b47933-acda-4f84-8837-1ec2da6d0179 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.194","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"86397b989911193ac1af9d04fca0bd05"} gateway-1 | {"time_local":"30/Jul/2024:14:06:30 +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.839","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"9a2af9544b8741f715a2c937dbbf6f10"} gateway-1 | {"time_local":"30/Jul/2024:14:06:30 +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.832","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"7be340a0abe3487efc88621d16d4b81c"} experiment-1 | {"level":"info","message":"DELETE /experiments/c1b47933-acda-4f84-8837-1ec2da6d0179 204 190ms","method":"DELETE","requestID":"86397b989911193ac1af9d04fca0bd05","responseTime":190,"status":204,"url":"/experiments/c1b47933-acda-4f84-8837-1ec2da6d0179"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 150ms","method":"POST","requestID":"f263badab36c6d6006ed3fb2c285373f","responseTime":150,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.154","http_referrer":"","http_user_agent":"node-fetch","requestID":"f263badab36c6d6006ed3fb2c285373f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 150ms","method":"POST","requestID":"2e76a7a29e09c614fc7023f0e8ef6ec8","responseTime":150,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.156","http_referrer":"","http_user_agent":"node-fetch","requestID":"2e76a7a29e09c614fc7023f0e8ef6ec8"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/f4772416-a643-4ff3-b9c4-d77019f9e25e' closed"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5MH0.uZ8WHxW8H_HKadM_ql2J-1mzZz_LClaBcvSDhA3OxGY","level":"info","message":"auth send jwt","requestID":"053bff35d75ac96dc56d63db5fb66d60"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"053bff35d75ac96dc56d63db5fb66d60","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"053bff35d75ac96dc56d63db5fb66d60"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":326,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":326,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.881393,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"053bff35d75ac96dc56d63db5fb66d60","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348390,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5MH0.uZ8WHxW8H_HKadM_ql2J-1mzZz_LClaBcvSDhA3OxGY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"053bff35d75ac96dc56d63db5fb66d60","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/482510e5-63b6-4029-baa2-0d2fe1c37bac' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3c424530-68c7-4340-a16b-6a12b506b4a8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.6293175} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"053bff35d75ac96dc56d63db5fb66d60","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b5b16d01-5661-4d06-8742-537d74027741","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.6353185} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"053bff35d75ac96dc56d63db5fb66d60","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"7f4fdd17-c16b-4f55-a9b0-9ac5207704f7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.6465564} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3b97fbe4-ae92-4842-881c-802dd0c027b9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.6468673} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"053bff35d75ac96dc56d63db5fb66d60","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:30.646527206Z"}]},"request_id":"53532591-62d5-4ea4-a062-25e620c0a166","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.6521242} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"053bff35d75ac96dc56d63db5fb66d60","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"053bff35d75ac96dc56d63db5fb66d60"} gateway-1 | {"time_local":"30/Jul/2024:14:06:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"053bff35d75ac96dc56d63db5fb66d60"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"053bff35d75ac96dc56d63db5fb66d60","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5MH0.uZ8WHxW8H_HKadM_ql2J-1mzZz_LClaBcvSDhA3OxGY","level":"info","message":"auth send jwt","requestID":"b0e6fa21ce7e2a95bcf3427ed1062686"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b0e6fa21ce7e2a95bcf3427ed1062686","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b0e6fa21ce7e2a95bcf3427ed1062686"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":327,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":327,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.805204,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:30Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"b0e6fa21ce7e2a95bcf3427ed1062686","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348390,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5MH0.uZ8WHxW8H_HKadM_ql2J-1mzZz_LClaBcvSDhA3OxGY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b0e6fa21ce7e2a95bcf3427ed1062686","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"5414f4b8-9927-4459-bcb8-8bf065149307","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.6768038} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b0e6fa21ce7e2a95bcf3427ed1062686","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7e06a629-e258-4a99-8a33-a8b0cb779303","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.6821456} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b0e6fa21ce7e2a95bcf3427ed1062686","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"11c48e45-a612-4834-ab90-60f043e7341e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.6983647} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9b5b5233-2e2b-4925-abbd-440fecebd85a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.6986384} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"b0e6fa21ce7e2a95bcf3427ed1062686","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:30.698337326Z"}]},"request_id":"76270018-27b6-4ce6-a1db-f4c1e4f01a7f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348390.704138} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b0e6fa21ce7e2a95bcf3427ed1062686","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b0e6fa21ce7e2a95bcf3427ed1062686"} gateway-1 | {"time_local":"30/Jul/2024:14:06:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b0e6fa21ce7e2a95bcf3427ed1062686"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"b0e6fa21ce7e2a95bcf3427ed1062686","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ea775c7d8f75275a949ce2dcba60e2e5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ea775c7d8f75275a949ce2dcba60e2e5","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/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":"ea775c7d8f75275a949ce2dcba60e2e5"} device-1 | {"level":"info","message":"OPTIONS /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/websocket 200 1ms","method":"OPTIONS","requestID":"ea775c7d8f75275a949ce2dcba60e2e5","responseTime":1,"status":200,"url":"/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"058b00911ee16fb0c01f4bc77663d859","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"058b00911ee16fb0c01f4bc77663d859","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/f4645139-f2a8-433c-ab68-405b8019353d/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":"058b00911ee16fb0c01f4bc77663d859"} device-1 | {"level":"info","message":"OPTIONS /devices/f4645139-f2a8-433c-ab68-405b8019353d/websocket 200 1ms","method":"OPTIONS","requestID":"058b00911ee16fb0c01f4bc77663d859","responseTime":1,"status":200,"url":"/devices/f4645139-f2a8-433c-ab68-405b8019353d/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ","level":"info","message":"auth send jwt","requestID":"10895d0c931a854a86011fdc6ed73f80"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"10895d0c931a854a86011fdc6ed73f80","responseTime":7,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ","level":"info","message":"auth send jwt","requestID":"8224957cbf46bd3a533d1ed4257655fa"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"10895d0c931a854a86011fdc6ed73f80"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"8224957cbf46bd3a533d1ed4257655fa","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"8224957cbf46bd3a533d1ed4257655fa"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":328,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":328,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.126824,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"10895d0c931a854a86011fdc6ed73f80","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348392,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"10895d0c931a854a86011fdc6ed73f80","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Received request.","req_id":329,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Sent response.","req_id":329,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.485143,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8224957cbf46bd3a533d1ed4257655fa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348392,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"8224957cbf46bd3a533d1ed4257655fa","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"10895d0c931a854a86011fdc6ed73f80"} device-1 | {"level":"info","message":"POST /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/websocket 200 29ms","method":"POST","requestID":"10895d0c931a854a86011fdc6ed73f80","responseTime":29,"status":200,"url":"/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:06:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.037","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"10895d0c931a854a86011fdc6ed73f80"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"8224957cbf46bd3a533d1ed4257655fa"} device-1 | {"level":"info","message":"POST /devices/f4645139-f2a8-433c-ab68-405b8019353d/websocket 200 34ms","method":"POST","requestID":"8224957cbf46bd3a533d1ed4257655fa","responseTime":34,"status":200,"url":"/devices/f4645139-f2a8-433c-ab68-405b8019353d/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:06:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f4645139-f2a8-433c-ab68-405b8019353d/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":"8224957cbf46bd3a533d1ed4257655fa"} device-1 | {"level":"info","message":"device 'http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ","level":"info","message":"auth send jwt","requestID":"85368748d2147bb11a20a920924aa20a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"85368748d2147bb11a20a920924aa20a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"85368748d2147bb11a20a920924aa20a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":330,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":330,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.154667,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"85368748d2147bb11a20a920924aa20a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348392,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"85368748d2147bb11a20a920924aa20a","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:30.646527206Z"}]},"request_id":"9344a4fe-7dad-4ec8-872b-bbea86e825c4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.7551873} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"85368748d2147bb11a20a920924aa20a","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"85368748d2147bb11a20a920924aa20a"} gateway-1 | {"time_local":"30/Jul/2024:14:06:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe? 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":"85368748d2147bb11a20a920924aa20a"} device-1 | {"level":"info","message":"GET /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe? 200 16ms","method":"GET","requestID":"85368748d2147bb11a20a920924aa20a","responseTime":16,"status":200,"url":"/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ","level":"info","message":"auth send jwt","requestID":"85bc41ba41367656f97bcf62f5b77f48"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"85bc41ba41367656f97bcf62f5b77f48","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"85bc41ba41367656f97bcf62f5b77f48"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":331,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":331,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.200086,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"85bc41ba41367656f97bcf62f5b77f48","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348392,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"85bc41ba41367656f97bcf62f5b77f48","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:30.698337326Z"}]},"request_id":"9523ee60-4570-4aad-bcec-2a428a664247","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.7804048} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"85bc41ba41367656f97bcf62f5b77f48","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"85bc41ba41367656f97bcf62f5b77f48"} gateway-1 | {"time_local":"30/Jul/2024:14:06:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f4645139-f2a8-433c-ab68-405b8019353d? 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":"85bc41ba41367656f97bcf62f5b77f48"} device-1 | {"level":"info","message":"GET /devices/f4645139-f2a8-433c-ab68-405b8019353d? 200 16ms","method":"GET","requestID":"85bc41ba41367656f97bcf62f5b77f48","responseTime":16,"status":200,"url":"/devices/f4645139-f2a8-433c-ab68-405b8019353d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ","level":"info","message":"auth send jwt","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4495dde0f942a6a8ef23b172c41aaea7","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":332,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":332,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.331864,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"4495dde0f942a6a8ef23b172c41aaea7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348392,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4495dde0f942a6a8ef23b172c41aaea7","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Attempting to run experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Attempting to book experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Successfully booked experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ecda5ea0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ecda85b0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":333,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Received request.","req_id":334,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":333,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.26757,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ecda5ea0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348392,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ecda5ea0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Sent response.","req_id":334,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.010886,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ecda85b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348392,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ecda85b0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:30.646527206Z"}]},"request_id":"72acac70-bf76-4d85-b6c8-224999197e1c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.854178} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ecda5ea0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:30.698337326Z"}]},"request_id":"4d27e023-076c-43f9-abdb-142ce6e5cff1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.85561} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ecda85b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ecda5ea0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe? 200 23ms","method":"GET","requestID":"ecda5ea0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":23,"status":200,"url":"/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ecda85b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/f4645139-f2a8-433c-ab68-405b8019353d? 200 23ms","method":"GET","requestID":"ecda85b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":23,"status":200,"url":"/devices/f4645139-f2a8-433c-ab68-405b8019353d?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Setting up experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Successfully locked booking for experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Attempting to update booking for experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Successfully updated booking for experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Successfully set up experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ece5d050-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ece61e70-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ece64580-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Successfully running experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":335,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":335,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.006366,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Received request.","req_id":336,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ece5d050-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348392,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ece5d050-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Sent response.","req_id":336,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.808914,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ece61e70-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348392,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"ece61e70-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:30.698337326Z"}]},"request_id":"178cdd2a-260f-4e27-883e-c866a7a7c0cf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.9311666} authorization-1 | {"client_addr":"127.0.0.1:45942","level":"info","msg":"Received request.","req_id":337,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"ece61e70-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:30.646527206Z"}]},"request_id":"f2ae81d1-9a14-4073-b9cf-3c9ae37f9948","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.9330707} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dba6653c-a656-4265-b8b0-0fba7cff665b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.9339757} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ece5d050-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:45942","level":"info","msg":"Sent response.","req_id":337,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.256675,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ece64580-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","object_type":"device","rebac_allow":false,"scope_allow":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":"ece64580-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ece5d050-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe? 200 21ms","method":"GET","requestID":"ece5d050-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":21,"status":200,"url":"/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ece61e70-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/f4645139-f2a8-433c-ab68-405b8019353d? 200 20ms","method":"GET","requestID":"ece61e70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":20,"status":200,"url":"/devices/f4645139-f2a8-433c-ab68-405b8019353d?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ece64580-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/signaling 200 20ms","method":"POST","requestID":"ece64580-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":20,"status":200,"url":"/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fed896c4b-6535-4027-9db8-4a27975bcd53#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fed896c4b-6535-4027-9db8-4a27975bcd53","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"f758ee99-30db-40b2-b208-930d22cea364","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.94258} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7fabec64-912a-48cd-bf4c-9a3c7b48209f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.9441102} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ece9ef00-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"4495dde0f942a6a8ef23b172c41aaea7","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ecea3d20-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":338,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Received request.","req_id":339,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8e0c4db2-de95-47e1-8703-e08763c04230","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.9500868} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":338,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.968365,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ece9ef00-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ece9ef00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b07d2a64-a6ae-4478-9f1d-2d84219992e9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.9514792} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Sent response.","req_id":339,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.592877,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ecea3d20-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ecea3d20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} gateway-1 | {"time_local":"30/Jul/2024:14:06:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1287","request_time":"0.168","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} experiment-1 | {"level":"info","message":"POST /experiments? 201 161ms","method":"POST","requestID":"4495dde0f942a6a8ef23b172c41aaea7","responseTime":161,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ece9ef00-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/signaling 200 13ms","method":"POST","requestID":"ece9ef00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ecea3d20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f4645139-f2a8-433c-ab68-405b8019353d/signaling 200 11ms","method":"POST","requestID":"ecea3d20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/f4645139-f2a8-433c-ab68-405b8019353d/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ","level":"info","message":"auth send jwt","requestID":"fdcd24f50591b204d4663fb8482f0266"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ecec38f0-4e7c-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"fdcd24f50591b204d4663fb8482f0266","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fdcd24f50591b204d4663fb8482f0266"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":340,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Received request.","req_id":341,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Sent response.","req_id":341,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.644731,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fdcd24f50591b204d4663fb8482f0266","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348392,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"fdcd24f50591b204d4663fb8482f0266","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"48a44120-a91d-41d1-a6ba-ecf263d224d1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.963438} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":340,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.137516,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ecec38f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ecec38f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:30.646527206Z"}]},"request_id":"918ecac5-fb4e-44ae-8664-7ce4ad6a6d24","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.9672534} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fdcd24f50591b204d4663fb8482f0266","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ecec38f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f4645139-f2a8-433c-ab68-405b8019353d/signaling 200 12ms","method":"POST","requestID":"ecec38f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/f4645139-f2a8-433c-ab68-405b8019353d/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Building connection plan","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} 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":"16d009fd-8a8c-4680-aa9d-8f24da9852ab"},{"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":"bb9f5482-53e2-44be-b887-5c20788ed00b"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"83b97484-492c-4968-b2f2-e7918314fecc"}]},"level":"info","message":"Built pairwise service configurations","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fdcd24f50591b204d4663fb8482f0266"} 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/38fc1acf-26c9-40df-8428-b07f7ec163fe"},{"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/f4645139-f2a8-433c-ab68-405b8019353d"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} gateway-1 | {"time_local":"30/Jul/2024:14:06:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe? 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":"fdcd24f50591b204d4663fb8482f0266"} device-1 | {"level":"info","message":"GET /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe? 200 14ms","method":"GET","requestID":"fdcd24f50591b204d4663fb8482f0266","responseTime":14,"status":200,"url":"/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"eceea9f0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":342,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3b557e050df110660b67eb8edbd55b7f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ","level":"info","message":"auth send jwt","requestID":"3b557e050df110660b67eb8edbd55b7f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":342,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":3.356492,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3b557e050df110660b67eb8edbd55b7f","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Received request.","req_id":343,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eceea9f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348392,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"eceea9f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Sent response.","req_id":343,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.856159,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:32Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"3b557e050df110660b67eb8edbd55b7f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348392,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Mn0.CL-QEgjyEp85upW6nutGsHQe7YDb9uwy644mTEWvwEQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3b557e050df110660b67eb8edbd55b7f","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:30.698337326Z"}]},"request_id":"b2004bb3-5532-46d1-8ca8-64fa6a647024","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.990293} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3b557e050df110660b67eb8edbd55b7f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3b557e050df110660b67eb8edbd55b7f"} gateway-1 | {"time_local":"30/Jul/2024:14:06:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f4645139-f2a8-433c-ab68-405b8019353d? 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":"3b557e050df110660b67eb8edbd55b7f"} device-1 | {"level":"info","message":"GET /devices/f4645139-f2a8-433c-ab68-405b8019353d? 200 13ms","method":"GET","requestID":"3b557e050df110660b67eb8edbd55b7f","responseTime":13,"status":200,"url":"/devices/f4645139-f2a8-433c-ab68-405b8019353d?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"1ab19923-be29-4cbb-b298-036e5f2b36c6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.994395} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4120f141-7e5a-4468-ab66-0a6bb715df4b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348392.9948452} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"eceea9f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"eceea9f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"eceea9f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97'","requestID":"eceea9f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97'","requestID":"eceea9f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"eceea9f0-4e7c-11ef-b6a3-8dff1d026ae9"} 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":"eceea9f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":32,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"eceea9f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97","device":"38fc1acf-26c9-40df-8428-b07f7ec163fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97","device":"f4645139-f2a8-433c-ab68-405b8019353d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"4495dde0f942a6a8ef23b172c41aaea7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ecf7aaa0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":344,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"60db9be6-4aed-4edc-8c66-59bb5e8918eb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.0389142} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":344,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.283167,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ecf7aaa0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","object_type":"device","rebac_allow":false,"scope_allow":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":"ecf7aaa0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ecf7aaa0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/signaling 200 10ms","method":"POST","requestID":"ecf7aaa0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ecf97f60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"device":"38fc1acf-26c9-40df-8428-b07f7ec163fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"38fc1acf-26c9-40df-8428-b07f7ec163fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"f4645139-f2a8-433c-ab68-405b8019353d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":345,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:33Z"} device-1 | {"content":{"canTrickle":true},"device":"f4645139-f2a8-433c-ab68-405b8019353d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"33e60612-4c21-40e6-8baf-1d54caed6def","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.0509493} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":345,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.242872,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ecf97f60-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ecf97f60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ecf97f60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f4645139-f2a8-433c-ab68-405b8019353d/signaling 200 9ms","method":"POST","requestID":"ecf97f60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/f4645139-f2a8-433c-ab68-405b8019353d/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 2505854871613837261 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:TdfW\r\na=ice-pwd:7dcFA/MlDDvFXAywjWgFiTji\r\na=ice-options:trickle\r\na=fingerprint:sha-256 07:33:4A:46:1D:8B:1B:9F:D7:EB:54:04:83:B3:E6:90:C8:9B:8B:8E:2D:61:F5:94:A3:CE:F9:6A:A6:44:53:46\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"f4645139-f2a8-433c-ab68-405b8019353d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 4046129961816482016 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:rY+o\r\na=ice-pwd:BP6eZM2F1VoZzZzss62tq77s\r\na=ice-options:trickle\r\na=fingerprint:sha-256 FB:D3:0C:68:A5:0D:25:9D:BA:02:D6:4D:D2:84:95:75:67:17:15:8B:97:93:6C:E0:C8:86:1C:03:E2:A6:7F:B4\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"38fc1acf-26c9-40df-8428-b07f7ec163fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3530883933 1 udp 2113937151 1d92e4f1-1211-4bb8-a38b-a327c5fc6e15.local 41844 typ host generation 0 ufrag rY+o network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"38fc1acf-26c9-40df-8428-b07f7ec163fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3615296517 1 udp 1677729535 141.24.211.56 41844 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag rY+o network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"38fc1acf-26c9-40df-8428-b07f7ec163fe","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/38fc1acf-26c9-40df-8428-b07f7ec163fe'"} device-1 | {"content":{"candidate":"candidate:3626129167 1 udp 2113937151 93b1983f-f921-43a7-bfd0-d5f9c93fc861.local 59041 typ host generation 0 ufrag TdfW network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"f4645139-f2a8-433c-ab68-405b8019353d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3497663688 1 udp 1677729535 141.24.211.56 59041 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag TdfW network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"f4645139-f2a8-433c-ab68-405b8019353d","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/f4645139-f2a8-433c-ab68-405b8019353d'"} device-1 | {"device":"f4645139-f2a8-433c-ab68-405b8019353d","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/83381de1-45b1-47b9-bd05-ee5a4a088a97' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"83381de1-45b1-47b9-bd05-ee5a4a088a97","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"38fc1acf-26c9-40df-8428-b07f7ec163fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"38fc1acf-26c9-40df-8428-b07f7ec163fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"f4645139-f2a8-433c-ab68-405b8019353d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"38fc1acf-26c9-40df-8428-b07f7ec163fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"f4645139-f2a8-433c-ab68-405b8019353d","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe"},{"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/f4645139-f2a8-433c-ab68-405b8019353d"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97"}}},"level":"info","message":"received a callback","requestID":"87d8ab5c417b5857e872636e225b913d"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"87d8ab5c417b5857e872636e225b913d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"87d8ab5c417b5857e872636e225b913d","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"38fc1acf-26c9-40df-8428-b07f7ec163fe","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"87d8ab5c417b5857e872636e225b913d","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"87d8ab5c417b5857e872636e225b913d"} device-1 | {"data":{"peerconnection":"83381de1-45b1-47b9-bd05-ee5a4a088a97","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"83381de1-45b1-47b9-bd05-ee5a4a088a97","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/83381de1-45b1-47b9-bd05-ee5a4a088a97' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"83381de1-45b1-47b9-bd05-ee5a4a088a97","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0e57b7bd5dc3a32f46b7d8be0af3e501","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0e57b7bd5dc3a32f46b7d8be0af3e501","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/38fc1acf-26c9-40df-8428-b07f7ec163fe"},{"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/f4645139-f2a8-433c-ab68-405b8019353d"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97"}}},"level":"info","message":"received a callback","requestID":"0e57b7bd5dc3a32f46b7d8be0af3e501"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"ed0454d0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":346,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F83381de1-45b1-47b9-bd05-ee5a4a088a97","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"52fe1111-2b55-4a2c-a2ea-bb441101b83f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.122015} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":346,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.094786,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ed0454d0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97","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":"ed0454d0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"ed0454d0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97 200 7ms","method":"GET","requestID":"ed0454d0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 41ms","method":"POST","requestID":"0e57b7bd5dc3a32f46b7d8be0af3e501","responseTime":41,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.045","http_referrer":"","http_user_agent":"node-fetch","requestID":"0e57b7bd5dc3a32f46b7d8be0af3e501"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ed0a4840-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":347,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0799b72e-a026-4d9f-82e3-a800c5b108f2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.1608982} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":347,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.306113,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ed0a4840-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ed0a4840-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ed0a4840-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/signaling 200 10ms","method":"POST","requestID":"ed0a4840-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ed0c1d00-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":348,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7756cb4c-a63c-4e97-bdcb-cf61f9d257ce","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.172837} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":348,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.351823,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ed0c1d00-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ed0c1d00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ed0c1d00-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f4645139-f2a8-433c-ab68-405b8019353d/signaling 200 9ms","method":"POST","requestID":"ed0c1d00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/f4645139-f2a8-433c-ab68-405b8019353d/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5M30.NozceYnEC53ncr46uU5NFMyaEn_CkiJ7ArLIjBiLzAQ","level":"info","message":"auth send jwt","requestID":"47d6ccdecbfd0710efa99de108937f72"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"47d6ccdecbfd0710efa99de108937f72","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/ed896c4b-6535-4027-9db8-4a27975bcd53","requestID":"47d6ccdecbfd0710efa99de108937f72"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":349,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":349,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.658057,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"47d6ccdecbfd0710efa99de108937f72","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348393,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5M30.NozceYnEC53ncr46uU5NFMyaEn_CkiJ7ArLIjBiLzAQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"47d6ccdecbfd0710efa99de108937f72","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/ed896c4b-6535-4027-9db8-4a27975bcd53","requestID":"47d6ccdecbfd0710efa99de108937f72"} gateway-1 | {"time_local":"30/Jul/2024:14:06:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/ed896c4b-6535-4027-9db8-4a27975bcd53 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":"47d6ccdecbfd0710efa99de108937f72"} experiment-1 | {"level":"info","message":"GET /experiments/ed896c4b-6535-4027-9db8-4a27975bcd53 200 11ms","method":"GET","requestID":"47d6ccdecbfd0710efa99de108937f72","responseTime":11,"status":200,"url":"/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5M30.NozceYnEC53ncr46uU5NFMyaEn_CkiJ7ArLIjBiLzAQ","level":"info","message":"auth send jwt","requestID":"d3cb92923e7ceb00d8f44ec5f1d70b4c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d3cb92923e7ceb00d8f44ec5f1d70b4c","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/ed896c4b-6535-4027-9db8-4a27975bcd53","requestID":"d3cb92923e7ceb00d8f44ec5f1d70b4c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":350,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":350,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.411989,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d3cb92923e7ceb00d8f44ec5f1d70b4c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348393,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5M30.NozceYnEC53ncr46uU5NFMyaEn_CkiJ7ArLIjBiLzAQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d3cb92923e7ceb00d8f44ec5f1d70b4c","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Attempting to finish experiment","requestID":"d3cb92923e7ceb00d8f44ec5f1d70b4c"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"ed1544c0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":351,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":351,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.912497,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ed1544c0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348393,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5M30.NozceYnEC53ncr46uU5NFMyaEn_CkiJ7ArLIjBiLzAQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ed1544c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97","device":"38fc1acf-26c9-40df-8428-b07f7ec163fe","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97","device":"f4645139-f2a8-433c-ab68-405b8019353d","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/83381de1-45b1-47b9-bd05-ee5a4a088a97' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"83381de1-45b1-47b9-bd05-ee5a4a088a97","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F83381de1-45b1-47b9-bd05-ee5a4a088a97': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F83381de1-45b1-47b9-bd05-ee5a4a088a97","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"a0f22eeb-4594-4dae-b58d-3155645d340f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.2467687} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"715757a6-103b-4993-8b6c-5105d1e8d667","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.2470078} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ba04ce1f9533b1ce344b97a1774bd9de","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ba04ce1f9533b1ce344b97a1774bd9de","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"ed1544c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"12d7d1996ff5bef8818cc2c2e2f09864","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/38fc1acf-26c9-40df-8428-b07f7ec163fe"},{"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/f4645139-f2a8-433c-ab68-405b8019353d"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97"}}},"level":"info","message":"received a callback","requestID":"ba04ce1f9533b1ce344b97a1774bd9de"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"12d7d1996ff5bef8818cc2c2e2f09864","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/38fc1acf-26c9-40df-8428-b07f7ec163fe"},{"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/f4645139-f2a8-433c-ab68-405b8019353d"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97"}}},"level":"info","message":"received a callback","requestID":"12d7d1996ff5bef8818cc2c2e2f09864"} device-1 | {"data":{"peerconnection":"83381de1-45b1-47b9-bd05-ee5a4a088a97","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"ed1544c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97 204 40ms","method":"DELETE","requestID":"ed1544c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":40,"status":204,"url":"/peerconnections/83381de1-45b1-47b9-bd05-ee5a4a088a97"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"},"level":"info","message":"Successfully finished experiment","requestID":"d3cb92923e7ceb00d8f44ec5f1d70b4c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ed1f08c0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":352,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F38fc1acf-26c9-40df-8428-b07f7ec163fe","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"faed50c6-9515-4262-af84-9b1f65558a88","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.300247} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":352,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.03229,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ed1f08c0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe","object_type":"device","rebac_allow":false,"scope_allow":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":"ed1f08c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ed1f08c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/signaling 200 14ms","method":"POST","requestID":"ed1f08c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/38fc1acf-26c9-40df-8428-b07f7ec163fe/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fed896c4b-6535-4027-9db8-4a27975bcd53': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fed896c4b-6535-4027-9db8-4a27975bcd53","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"bf7fced7-1247-409c-a084-d31e283e4775","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.3086102} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ed2179c0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"78490b5f-312f-4655-aafd-afecb344293e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.3088486} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"d3cb92923e7ceb00d8f44ec5f1d70b4c","responseTime":19,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":353,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff4645139-f2a8-433c-ab68-405b8019353d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"92c6be20-eae6-44f3-a97b-5f2f8a774388","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.3147862} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":353,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.378057,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ed2179c0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"ed2179c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ed2179c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f4645139-f2a8-433c-ab68-405b8019353d/signaling 200 11ms","method":"POST","requestID":"ed2179c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/f4645139-f2a8-433c-ab68-405b8019353d/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/ed896c4b-6535-4027-9db8-4a27975bcd53","requestID":"d3cb92923e7ceb00d8f44ec5f1d70b4c"} gateway-1 | {"time_local":"30/Jul/2024:14:06:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/ed896c4b-6535-4027-9db8-4a27975bcd53 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.162","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d3cb92923e7ceb00d8f44ec5f1d70b4c"} experiment-1 | {"level":"info","message":"DELETE /experiments/ed896c4b-6535-4027-9db8-4a27975bcd53 204 161ms","method":"DELETE","requestID":"d3cb92923e7ceb00d8f44ec5f1d70b4c","responseTime":161,"status":204,"url":"/experiments/ed896c4b-6535-4027-9db8-4a27975bcd53"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 130ms","method":"POST","requestID":"ba04ce1f9533b1ce344b97a1774bd9de","responseTime":130,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.133","http_referrer":"","http_user_agent":"node-fetch","requestID":"ba04ce1f9533b1ce344b97a1774bd9de"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 129ms","method":"POST","requestID":"12d7d1996ff5bef8818cc2c2e2f09864","responseTime":129,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.134","http_referrer":"","http_user_agent":"node-fetch","requestID":"12d7d1996ff5bef8818cc2c2e2f09864"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5M30.NozceYnEC53ncr46uU5NFMyaEn_CkiJ7ArLIjBiLzAQ","level":"info","message":"auth send jwt","requestID":"d269e0eef44bf2c3a55fb56d7cc0aa8f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d269e0eef44bf2c3a55fb56d7cc0aa8f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d269e0eef44bf2c3a55fb56d7cc0aa8f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":354,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":354,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.805829,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:33Z"} gateway-1 | {"time_local":"30/Jul/2024:14:06:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2886","request_time":"0.668","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"17835d119ab0fb019e142e3ab06c660f"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d269e0eef44bf2c3a55fb56d7cc0aa8f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348393,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5M30.NozceYnEC53ncr46uU5NFMyaEn_CkiJ7ArLIjBiLzAQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d269e0eef44bf2c3a55fb56d7cc0aa8f","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"30/Jul/2024:14:06:33 +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.678","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"725f65cf2372d82cba165f7cb9db66f4"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/f4645139-f2a8-433c-ab68-405b8019353d' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"500bdeeb-59a0-45fe-8bc9-87233f737c78","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.4044936} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d269e0eef44bf2c3a55fb56d7cc0aa8f","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/38fc1acf-26c9-40df-8428-b07f7ec163fe' 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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"466a4ee2-ec1c-452d-a7f5-4e00615b0745","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.409612} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d269e0eef44bf2c3a55fb56d7cc0aa8f","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"7f0a29cd-c8a1-41b0-94e5-6e0eeb14398f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.4203548} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9708660a-fa8a-49a3-b943-d07b20a89371","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.4205198} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"d269e0eef44bf2c3a55fb56d7cc0aa8f","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:33.420325965Z"}]},"request_id":"96372164-ddd9-47b4-b5bb-689ac7e23b59","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.4243445} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d269e0eef44bf2c3a55fb56d7cc0aa8f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d269e0eef44bf2c3a55fb56d7cc0aa8f"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"d269e0eef44bf2c3a55fb56d7cc0aa8f","responseTime":44,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:33 +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":"d269e0eef44bf2c3a55fb56d7cc0aa8f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5M30.NozceYnEC53ncr46uU5NFMyaEn_CkiJ7ArLIjBiLzAQ","level":"info","message":"auth send jwt","requestID":"1d34c1fcc50c6aea179e038411085f64"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1d34c1fcc50c6aea179e038411085f64","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"1d34c1fcc50c6aea179e038411085f64"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":355,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":355,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.792305,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"1d34c1fcc50c6aea179e038411085f64","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348393,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5M30.NozceYnEC53ncr46uU5NFMyaEn_CkiJ7ArLIjBiLzAQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1d34c1fcc50c6aea179e038411085f64","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b019cc16-616b-448d-a9ac-d01f08fde6d6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.4492953} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1d34c1fcc50c6aea179e038411085f64","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"87183014-1429-45c8-b3db-8c58800ba2d5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.4535587} authorization-1 | {"level":"info","message":"POST /relations/update 200 2ms","method":"POST","requestID":"1d34c1fcc50c6aea179e038411085f64","responseTime":2,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"86c2238e-9d9d-40dd-8723-0f18b713969a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.469644} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"31747e03-7ebc-4a6a-8173-d79cf8daea46","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.4697516} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"1d34c1fcc50c6aea179e038411085f64","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:33.469616466Z"}]},"request_id":"cce07332-0ac5-4b32-8acb-4dd5f707c3c0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348393.4737291} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"1d34c1fcc50c6aea179e038411085f64","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"1d34c1fcc50c6aea179e038411085f64"} gateway-1 | {"time_local":"30/Jul/2024:14:06:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1d34c1fcc50c6aea179e038411085f64"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"1d34c1fcc50c6aea179e038411085f64","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0e98eec059b94691b20a184aada33944","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0e98eec059b94691b20a184aada33944","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5ee9d093074518670af03d560f403ea1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} gateway-1 | {"time_local":"30/Jul/2024:14:06:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/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":"0e98eec059b94691b20a184aada33944"} device-1 | {"level":"info","message":"OPTIONS /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/websocket 200 2ms","method":"OPTIONS","requestID":"0e98eec059b94691b20a184aada33944","responseTime":2,"status":200,"url":"/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/websocket"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5ee9d093074518670af03d560f403ea1","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/537a05c3-9f1c-45f3-82ea-15672f1be049/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":"5ee9d093074518670af03d560f403ea1"} device-1 | {"level":"info","message":"OPTIONS /devices/537a05c3-9f1c-45f3-82ea-15672f1be049/websocket 200 1ms","method":"OPTIONS","requestID":"5ee9d093074518670af03d560f403ea1","responseTime":1,"status":200,"url":"/devices/537a05c3-9f1c-45f3-82ea-15672f1be049/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I","level":"info","message":"auth send jwt","requestID":"84276cf56b987ee9f3ee4b2411a0f320"} authentication-1 | {"level":"info","message":"GET /auth 200 9ms","method":"GET","requestID":"84276cf56b987ee9f3ee4b2411a0f320","responseTime":9,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I","level":"info","message":"auth send jwt","requestID":"45d8520c688f45b87acb48335faff73a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"84276cf56b987ee9f3ee4b2411a0f320"} authentication-1 | {"level":"info","message":"GET /auth 200 9ms","method":"GET","requestID":"45d8520c688f45b87acb48335faff73a","responseTime":9,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"45d8520c688f45b87acb48335faff73a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":356,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":356,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.184964,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Received request.","req_id":357,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"84276cf56b987ee9f3ee4b2411a0f320","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348395,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"84276cf56b987ee9f3ee4b2411a0f320","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Sent response.","req_id":357,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.300552,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"45d8520c688f45b87acb48335faff73a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348395,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"45d8520c688f45b87acb48335faff73a","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"45d8520c688f45b87acb48335faff73a"} gateway-1 | {"time_local":"30/Jul/2024:14:06:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/537a05c3-9f1c-45f3-82ea-15672f1be049/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.030","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"45d8520c688f45b87acb48335faff73a"} device-1 | {"level":"info","message":"POST /devices/537a05c3-9f1c-45f3-82ea-15672f1be049/websocket 200 18ms","method":"POST","requestID":"45d8520c688f45b87acb48335faff73a","responseTime":18,"status":200,"url":"/devices/537a05c3-9f1c-45f3-82ea-15672f1be049/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"84276cf56b987ee9f3ee4b2411a0f320"} gateway-1 | {"time_local":"30/Jul/2024:14:06:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.040","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"84276cf56b987ee9f3ee4b2411a0f320"} device-1 | {"level":"info","message":"POST /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/websocket 200 29ms","method":"POST","requestID":"84276cf56b987ee9f3ee4b2411a0f320","responseTime":29,"status":200,"url":"/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I","level":"info","message":"auth send jwt","requestID":"6058ac15563c9f4ab69da5c2fe03e7f0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6058ac15563c9f4ab69da5c2fe03e7f0","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6058ac15563c9f4ab69da5c2fe03e7f0"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":358,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":358,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.89095,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6058ac15563c9f4ab69da5c2fe03e7f0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348395,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6058ac15563c9f4ab69da5c2fe03e7f0","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:33.420325965Z"}]},"request_id":"b4eac859-f69b-40c9-8135-37a582cea191","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.559344} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"6058ac15563c9f4ab69da5c2fe03e7f0","responseTime":9,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6058ac15563c9f4ab69da5c2fe03e7f0"} gateway-1 | {"time_local":"30/Jul/2024:14:06:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4? 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":"6058ac15563c9f4ab69da5c2fe03e7f0"} device-1 | {"level":"info","message":"GET /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4? 200 23ms","method":"GET","requestID":"6058ac15563c9f4ab69da5c2fe03e7f0","responseTime":23,"status":200,"url":"/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I","level":"info","message":"auth send jwt","requestID":"9f1c289f635f8a694ba2d99eded32371"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9f1c289f635f8a694ba2d99eded32371","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9f1c289f635f8a694ba2d99eded32371"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":359,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":359,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.744949,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"9f1c289f635f8a694ba2d99eded32371","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348395,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"9f1c289f635f8a694ba2d99eded32371","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:33.469616466Z"}]},"request_id":"9839b4fa-8697-4ffd-897a-cdbfb4e20f2f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.5947645} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"9f1c289f635f8a694ba2d99eded32371","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9f1c289f635f8a694ba2d99eded32371"} gateway-1 | {"time_local":"30/Jul/2024:14:06:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/537a05c3-9f1c-45f3-82ea-15672f1be049? 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":"9f1c289f635f8a694ba2d99eded32371"} device-1 | {"level":"info","message":"GET /devices/537a05c3-9f1c-45f3-82ea-15672f1be049? 200 23ms","method":"GET","requestID":"9f1c289f635f8a694ba2d99eded32371","responseTime":23,"status":200,"url":"/devices/537a05c3-9f1c-45f3-82ea-15672f1be049?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I","level":"info","message":"auth send jwt","requestID":"4b2b538f13d9938a88942d6351f59c9a"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"4b2b538f13d9938a88942d6351f59c9a","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"4b2b538f13d9938a88942d6351f59c9a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":360,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":360,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.400589,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"4b2b538f13d9938a88942d6351f59c9a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348395,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4b2b538f13d9938a88942d6351f59c9a","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Attempting to run experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Attempting to book experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Successfully booked experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ee879970-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ee87e790-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":361,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":361,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.986705,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Received request.","req_id":362,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ee879970-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348395,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ee879970-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Sent response.","req_id":362,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.549563,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ee87e790-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348395,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ee87e790-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:33.420325965Z"}]},"request_id":"bc838c45-cbd4-4cd2-8948-cdc9daf1915d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.6646678} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ee879970-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:33.469616466Z"}]},"request_id":"fbc0d3a6-4d75-41a6-bbbf-53564c70ebc2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.6655686} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ee87e790-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ee879970-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4? 200 18ms","method":"GET","requestID":"ee879970-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ee87e790-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/537a05c3-9f1c-45f3-82ea-15672f1be049? 200 17ms","method":"GET","requestID":"ee87e790-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/537a05c3-9f1c-45f3-82ea-15672f1be049?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Setting up experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Successfully locked booking for experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Attempting to update booking for experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Successfully updated booking for experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Successfully set up experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ee933230-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ee938050-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ee93ce70-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":363,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":363,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.943038,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Received request.","req_id":364,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Successfully running experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ee933230-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348395,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ee933230-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Sent response.","req_id":364,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.132223,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"client_addr":"127.0.0.1:45942","level":"info","msg":"Received request.","req_id":365,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ee938050-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348395,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ee938050-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45942","level":"info","msg":"Sent response.","req_id":365,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.381745,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e1be8d9b-ca52-4323-b036-cf6e58cddace","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.7413619} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ee93ce70-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"ee93ce70-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:33.420325965Z"}]},"request_id":"03ac8efd-8e1d-440b-ae8f-f4fabaeabc48","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.7450368} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ee933230-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:33.469616466Z"}]},"request_id":"07914570-42f6-4c33-8f28-27340fa88632","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.7482061} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ee938050-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ee93ce70-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/signaling 200 16ms","method":"POST","requestID":"ee93ce70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ee968d90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ee933230-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4? 200 25ms","method":"GET","requestID":"ee933230-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":25,"status":200,"url":"/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":366,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ee938050-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/537a05c3-9f1c-45f3-82ea-15672f1be049? 200 25ms","method":"GET","requestID":"ee938050-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":25,"status":200,"url":"/devices/537a05c3-9f1c-45f3-82ea-15672f1be049?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"45e42585-4f38-427f-be58-801d50382af5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.7592478} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":366,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.08785,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ee968d90-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ee968d90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ee97c610-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F602280a7-e517-4cd7-9cda-51106988c1e2#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F602280a7-e517-4cd7-9cda-51106988c1e2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"c8c0fe1c-d820-4a84-9653-b496d7078ec8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.7638896} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ee968d90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/537a05c3-9f1c-45f3-82ea-15672f1be049/signaling 200 12ms","method":"POST","requestID":"ee968d90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/537a05c3-9f1c-45f3-82ea-15672f1be049/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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cac0774c-67dd-4d22-acde-52d6c0ce90da","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.7642705} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":367,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"4b2b538f13d9938a88942d6351f59c9a","responseTime":26,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":367,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.668573,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"aab22153-08e5-4fd6-876c-ab9aecc605e7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.7667823} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ee97c610-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ee97c610-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ee97c610-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/signaling 200 11ms","method":"POST","requestID":"ee97c610-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ee99e8f0-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"4b2b538f13d9938a88942d6351f59c9a"} experiment-1 | {"level":"info","message":"POST /experiments? 201 166ms","method":"POST","requestID":"4b2b538f13d9938a88942d6351f59c9a","responseTime":166,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1287","request_time":"0.174","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4b2b538f13d9938a88942d6351f59c9a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":368,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"72045e10-b246-435d-9c39-c7c3252807d8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.7816043} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I","level":"info","message":"auth send jwt","requestID":"4e08b57aabea3a1a2c71ff97011bc306"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4e08b57aabea3a1a2c71ff97011bc306","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":368,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.434877,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ee99e8f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","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":"4e08b57aabea3a1a2c71ff97011bc306"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ee99e8f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":369,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":369,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.69448,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ee99e8f0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"4e08b57aabea3a1a2c71ff97011bc306","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348395,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I"} device-1 | {"level":"info","message":"POST /devices/537a05c3-9f1c-45f3-82ea-15672f1be049/signaling 200 12ms","method":"POST","requestID":"ee99e8f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/537a05c3-9f1c-45f3-82ea-15672f1be049/signaling"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4e08b57aabea3a1a2c71ff97011bc306","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Building connection plan","requestID":"4b2b538f13d9938a88942d6351f59c9a"} 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":"dd9b49c8-90ef-4f4a-a277-48c88a062de3"},{"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":"58a193c7-b85b-49ed-9238-54a7d17a5ae6"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"d225a0a9-0783-4155-85d8-fef0f5349e6c"}]},"level":"info","message":"Built pairwise service configurations","requestID":"4b2b538f13d9938a88942d6351f59c9a"} 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/537a05c3-9f1c-45f3-82ea-15672f1be049"},{"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/6fef2a1c-b99b-4d18-9396-b9e02207afc4"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"4b2b538f13d9938a88942d6351f59c9a"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"ee9c32e0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:33.420325965Z"}]},"request_id":"37bf3a9e-294b-443e-add8-7945fa096504","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.790396} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4e08b57aabea3a1a2c71ff97011bc306","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":370,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":370,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.699738,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4e08b57aabea3a1a2c71ff97011bc306"} gateway-1 | {"time_local":"30/Jul/2024:14:06:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4? 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":"4e08b57aabea3a1a2c71ff97011bc306"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ee9c32e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348395,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I"} device-1 | {"level":"info","message":"GET /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4? 200 10ms","method":"GET","requestID":"4e08b57aabea3a1a2c71ff97011bc306","responseTime":10,"status":200,"url":"/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4?"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ee9c32e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I","level":"info","message":"auth send jwt","requestID":"34eed79e8f4b5ad6709fa9a3bc9f31e6"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"34eed79e8f4b5ad6709fa9a3bc9f31e6","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"34eed79e8f4b5ad6709fa9a3bc9f31e6"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"af22ed82-ea29-4964-8b12-a4686fa34787","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.801278} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"09fb9735-58e0-4e24-b351-5d26c9acd6d8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.8015382} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"ee9c32e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":371,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":371,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.902815,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"34eed79e8f4b5ad6709fa9a3bc9f31e6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348395,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5NX0.prvzOSFl0ZS_AGubgcYlLNgUoezE8uvYiFd5fxR567I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"34eed79e8f4b5ad6709fa9a3bc9f31e6","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:33.469616466Z"}]},"request_id":"eadc23c7-a387-4947-b707-1854b59a801c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.8094063} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"34eed79e8f4b5ad6709fa9a3bc9f31e6","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"ee9c32e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"ee9c32e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2'","requestID":"ee9c32e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2'","requestID":"ee9c32e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"ee9c32e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 28ms","method":"POST","requestID":"ee9c32e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":28,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"34eed79e8f4b5ad6709fa9a3bc9f31e6"} gateway-1 | {"time_local":"30/Jul/2024:14:06:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/537a05c3-9f1c-45f3-82ea-15672f1be049? 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":"34eed79e8f4b5ad6709fa9a3bc9f31e6"} device-1 | {"level":"info","message":"GET /devices/537a05c3-9f1c-45f3-82ea-15672f1be049? 200 21ms","method":"GET","requestID":"34eed79e8f4b5ad6709fa9a3bc9f31e6","responseTime":21,"status":200,"url":"/devices/537a05c3-9f1c-45f3-82ea-15672f1be049?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"ee9c32e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2","device":"537a05c3-9f1c-45f3-82ea-15672f1be049","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/00a88729-1418-4730-a098-28a4399164e2","device":"6fef2a1c-b99b-4d18-9396-b9e02207afc4","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/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"4b2b538f13d9938a88942d6351f59c9a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"eea49750-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":372,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f3c3b28d-8019-475b-bcd8-692d6191242c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.849233} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":372,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.155421,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eea49750-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","object_type":"device","rebac_allow":false,"scope_allow":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":"eea49750-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"eea49750-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/signaling 200 8ms","method":"POST","requestID":"eea49750-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"eea64500-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"device":"537a05c3-9f1c-45f3-82ea-15672f1be049","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"537a05c3-9f1c-45f3-82ea-15672f1be049","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":373,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d2902f7c-a761-443f-8cc4-fa7841f1bb19","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.860841} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":373,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.458232,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eea64500-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"eea64500-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"eea64500-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/537a05c3-9f1c-45f3-82ea-15672f1be049/signaling 200 9ms","method":"POST","requestID":"eea64500-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/537a05c3-9f1c-45f3-82ea-15672f1be049/signaling"} device-1 | {"device":"6fef2a1c-b99b-4d18-9396-b9e02207afc4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"6fef2a1c-b99b-4d18-9396-b9e02207afc4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 3731072982548306404 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:T6e/\r\na=ice-pwd:eSE27h0WZtjLgOp8SscaBJg/\r\na=ice-options:trickle\r\na=fingerprint:sha-256 9C:A4:2C:30:97:CD:31:51:75:A8:72:52:6C:5D:E1:88:AF:70:0F:20:84:5E:1C:50:F5:CA:B8:1B:63:A4:EB:56\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"6fef2a1c-b99b-4d18-9396-b9e02207afc4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 4486344687507307577 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:/wqZ\r\na=ice-pwd:UCQbe8n5BMzgDmq+qmEkKiDH\r\na=ice-options:trickle\r\na=fingerprint:sha-256 4A:0A:CD:EB:EC:36:EF:3C:37:87:2B:BB:7C:7C:86:1B:99:DD:17:F8:C4:2A:D8:EA:1D:06:01:F5:C0:00:8A:AA\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"537a05c3-9f1c-45f3-82ea-15672f1be049","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1767210109 1 udp 2113937151 ef08a9af-a180-416f-91c4-3d82f62b22e1.local 49800 typ host generation 0 ufrag /wqZ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"537a05c3-9f1c-45f3-82ea-15672f1be049","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1818063653 1 udp 1677729535 141.24.211.56 49800 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag /wqZ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"537a05c3-9f1c-45f3-82ea-15672f1be049","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/537a05c3-9f1c-45f3-82ea-15672f1be049'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049'"} device-1 | {"content":{"candidate":"candidate:1073381180 1 udp 2113937151 c9831da2-fc61-4fee-8ce6-f3f8f9bc9bc5.local 37516 typ host generation 0 ufrag T6e/ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"6fef2a1c-b99b-4d18-9396-b9e02207afc4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:933377275 1 udp 1677729535 141.24.211.56 37516 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag T6e/ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"6fef2a1c-b99b-4d18-9396-b9e02207afc4","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/6fef2a1c-b99b-4d18-9396-b9e02207afc4'"} device-1 | {"device":"6fef2a1c-b99b-4d18-9396-b9e02207afc4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"537a05c3-9f1c-45f3-82ea-15672f1be049","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"6fef2a1c-b99b-4d18-9396-b9e02207afc4","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/00a88729-1418-4730-a098-28a4399164e2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"00a88729-1418-4730-a098-28a4399164e2","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7fdad81b0af2cc3bafce270678dfa671","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"537a05c3-9f1c-45f3-82ea-15672f1be049","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7fdad81b0af2cc3bafce270678dfa671","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"537a05c3-9f1c-45f3-82ea-15672f1be049","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"6fef2a1c-b99b-4d18-9396-b9e02207afc4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049"},{"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/6fef2a1c-b99b-4d18-9396-b9e02207afc4"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2"}}},"level":"info","message":"received a callback","requestID":"7fdad81b0af2cc3bafce270678dfa671"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"7fdad81b0af2cc3bafce270678dfa671","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"7fdad81b0af2cc3bafce270678dfa671"} device-1 | {"device":"537a05c3-9f1c-45f3-82ea-15672f1be049","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"00a88729-1418-4730-a098-28a4399164e2","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"00a88729-1418-4730-a098-28a4399164e2","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/00a88729-1418-4730-a098-28a4399164e2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"00a88729-1418-4730-a098-28a4399164e2","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"98dfc94d4e01b0ec63cddf419241b838","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"98dfc94d4e01b0ec63cddf419241b838","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/537a05c3-9f1c-45f3-82ea-15672f1be049"},{"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/6fef2a1c-b99b-4d18-9396-b9e02207afc4"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2"}}},"level":"info","message":"received a callback","requestID":"98dfc94d4e01b0ec63cddf419241b838"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"eeb1ddc0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":374,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F00a88729-1418-4730-a098-28a4399164e2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ecc4f2a7-4b62-4c45-b6ca-006ed652e8d5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.936573} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":374,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.586233,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eeb1ddc0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2","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":"eeb1ddc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"eeb1ddc0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/00a88729-1418-4730-a098-28a4399164e2 200 8ms","method":"GET","requestID":"eeb1ddc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/peerconnections/00a88729-1418-4730-a098-28a4399164e2"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 28ms","method":"POST","requestID":"98dfc94d4e01b0ec63cddf419241b838","responseTime":28,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:35 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.031","http_referrer":"","http_user_agent":"node-fetch","requestID":"98dfc94d4e01b0ec63cddf419241b838"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"eeb58740-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":375,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c8005057-4ef7-4dc2-a2c6-a38bb5ccb531","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.9602087} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":375,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.144355,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eeb58740-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","object_type":"device","rebac_allow":false,"scope_allow":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":"eeb58740-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"eeb58740-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/537a05c3-9f1c-45f3-82ea-15672f1be049/signaling 200 8ms","method":"POST","requestID":"eeb58740-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/537a05c3-9f1c-45f3-82ea-15672f1be049/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"eeb6e6d0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":376,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"deec241c-39c8-472a-bb3a-f1c456e5114c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348395.9697561} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":376,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.114772,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:35Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eeb6e6d0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","object_type":"device","rebac_allow":false,"scope_allow":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":"eeb6e6d0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"eeb6e6d0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/signaling 200 8ms","method":"POST","requestID":"eeb6e6d0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Nn0.uNkyVnAnrSv0wvewjOCednfFji-ZXK4ND0cwbrpF-xM","level":"info","message":"auth send jwt","requestID":"470e33e2f881f227c0ca5aae4fc2a192"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"470e33e2f881f227c0ca5aae4fc2a192","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/602280a7-e517-4cd7-9cda-51106988c1e2","requestID":"470e33e2f881f227c0ca5aae4fc2a192"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":377,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":377,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.684124,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"470e33e2f881f227c0ca5aae4fc2a192","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348396,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Nn0.uNkyVnAnrSv0wvewjOCednfFji-ZXK4ND0cwbrpF-xM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"470e33e2f881f227c0ca5aae4fc2a192","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/602280a7-e517-4cd7-9cda-51106988c1e2","requestID":"470e33e2f881f227c0ca5aae4fc2a192"} experiment-1 | {"level":"info","message":"GET /experiments/602280a7-e517-4cd7-9cda-51106988c1e2 200 9ms","method":"GET","requestID":"470e33e2f881f227c0ca5aae4fc2a192","responseTime":9,"status":200,"url":"/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"} gateway-1 | {"time_local":"30/Jul/2024:14:06:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/602280a7-e517-4cd7-9cda-51106988c1e2 HTTP/1.1","status": "200","body_bytes_sent":"1360","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"470e33e2f881f227c0ca5aae4fc2a192"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Nn0.uNkyVnAnrSv0wvewjOCednfFji-ZXK4ND0cwbrpF-xM","level":"info","message":"auth send jwt","requestID":"84a3553af55716f723f4fec68a81540d"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"84a3553af55716f723f4fec68a81540d","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/602280a7-e517-4cd7-9cda-51106988c1e2","requestID":"84a3553af55716f723f4fec68a81540d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":378,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":378,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.641276,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"84a3553af55716f723f4fec68a81540d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348396,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Nn0.uNkyVnAnrSv0wvewjOCednfFji-ZXK4ND0cwbrpF-xM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"84a3553af55716f723f4fec68a81540d","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Attempting to finish experiment","requestID":"84a3553af55716f723f4fec68a81540d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"eec20a60-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":379,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":379,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.945305,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eec20a60-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348396,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Nn0.uNkyVnAnrSv0wvewjOCednfFji-ZXK4ND0cwbrpF-xM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"eec20a60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2","device":"537a05c3-9f1c-45f3-82ea-15672f1be049","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2","device":"6fef2a1c-b99b-4d18-9396-b9e02207afc4","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/00a88729-1418-4730-a098-28a4399164e2' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"00a88729-1418-4730-a098-28a4399164e2","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"41d40d111d477fe72de94dbedd2e5a33","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"41d40d111d477fe72de94dbedd2e5a33","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c9f5b7d903dde3295d539a995c5e0a96","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"c9f5b7d903dde3295d539a995c5e0a96","responseTime":0,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049"},{"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/6fef2a1c-b99b-4d18-9396-b9e02207afc4"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2"}}},"level":"info","message":"received a callback","requestID":"41d40d111d477fe72de94dbedd2e5a33"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F00a88729-1418-4730-a098-28a4399164e2': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F00a88729-1418-4730-a098-28a4399164e2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"93203f8e-f595-432a-98c4-13b20e8222fb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.0570202} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"df6c92aa-88ee-4e91-b06d-8237f1be115a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.0574114} 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/537a05c3-9f1c-45f3-82ea-15672f1be049"},{"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/6fef2a1c-b99b-4d18-9396-b9e02207afc4"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/00a88729-1418-4730-a098-28a4399164e2"}}},"level":"info","message":"received a callback","requestID":"c9f5b7d903dde3295d539a995c5e0a96"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"eec20a60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"00a88729-1418-4730-a098-28a4399164e2","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"eec20a60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/00a88729-1418-4730-a098-28a4399164e2 204 36ms","method":"DELETE","requestID":"eec20a60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":36,"status":204,"url":"/peerconnections/00a88729-1418-4730-a098-28a4399164e2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"},"level":"info","message":"Successfully finished experiment","requestID":"84a3553af55716f723f4fec68a81540d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"eeca20b0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":380,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F537a05c3-9f1c-45f3-82ea-15672f1be049","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8711ba0d-e5d5-4a3c-978a-2e8c7df24a9f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.0968254} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":380,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.162567,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eeca20b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/537a05c3-9f1c-45f3-82ea-15672f1be049","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"eeca20b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"eeca20b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/537a05c3-9f1c-45f3-82ea-15672f1be049/signaling 200 11ms","method":"POST","requestID":"eeca20b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/537a05c3-9f1c-45f3-82ea-15672f1be049/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F602280a7-e517-4cd7-9cda-51106988c1e2': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F602280a7-e517-4cd7-9cda-51106988c1e2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"b8c2af6b-c94e-4331-b66f-9785b0d70bee","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.103989} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"eecc1c80-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"269e4bad-f8f7-4ee0-915e-e56b5163b988","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.1043394} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"84a3553af55716f723f4fec68a81540d","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":381,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6fef2a1c-b99b-4d18-9396-b9e02207afc4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e2c141a2-eda8-475f-960b-c933c4e46eb6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.1089375} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":381,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.171254,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"eecc1c80-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4","object_type":"device","rebac_allow":false,"scope_allow":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":"eecc1c80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"eecc1c80-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/signaling 200 10ms","method":"POST","requestID":"eecc1c80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/602280a7-e517-4cd7-9cda-51106988c1e2","requestID":"84a3553af55716f723f4fec68a81540d"} gateway-1 | {"time_local":"30/Jul/2024:14:06:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/602280a7-e517-4cd7-9cda-51106988c1e2 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.137","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"84a3553af55716f723f4fec68a81540d"} experiment-1 | {"level":"info","message":"DELETE /experiments/602280a7-e517-4cd7-9cda-51106988c1e2 204 136ms","method":"DELETE","requestID":"84a3553af55716f723f4fec68a81540d","responseTime":136,"status":204,"url":"/experiments/602280a7-e517-4cd7-9cda-51106988c1e2"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 109ms","method":"POST","requestID":"41d40d111d477fe72de94dbedd2e5a33","responseTime":109,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.111","http_referrer":"","http_user_agent":"node-fetch","requestID":"41d40d111d477fe72de94dbedd2e5a33"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 108ms","method":"POST","requestID":"c9f5b7d903dde3295d539a995c5e0a96","responseTime":108,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.112","http_referrer":"","http_user_agent":"node-fetch","requestID":"c9f5b7d903dde3295d539a995c5e0a96"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Nn0.uNkyVnAnrSv0wvewjOCednfFji-ZXK4ND0cwbrpF-xM","level":"info","message":"auth send jwt","requestID":"279429e7461a44eb64a8475cf097f104"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"279429e7461a44eb64a8475cf097f104","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"279429e7461a44eb64a8475cf097f104"} gateway-1 | {"time_local":"30/Jul/2024:14:06:36 +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.662","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2a38b1a37ebc6e0a6f09122e9abb4880"} gateway-1 | {"time_local":"30/Jul/2024:14:06:36 +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.654","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ec228a02738e0bd8e1a8611ae01554d8"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":382,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":382,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.908486,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"279429e7461a44eb64a8475cf097f104","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348396,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Nn0.uNkyVnAnrSv0wvewjOCednfFji-ZXK4ND0cwbrpF-xM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"279429e7461a44eb64a8475cf097f104","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/537a05c3-9f1c-45f3-82ea-15672f1be049' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/6fef2a1c-b99b-4d18-9396-b9e02207afc4' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ef4fac0b-c9c9-4087-8467-bd6e6fe9a04e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.1930814} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"279429e7461a44eb64a8475cf097f104","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"abe09306-b8e5-4e20-9ae6-30a438ad0da0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.197086} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"279429e7461a44eb64a8475cf097f104","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"7c3e6403-accb-407c-8653-aa4ff7806806","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.2074542} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b55a4549-68aa-4b17-8233-4b825eb1b8f6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.2075603} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"279429e7461a44eb64a8475cf097f104","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:36.207436992Z"}]},"request_id":"c44a1f00-bf4f-4024-a358-131cb8415b03","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.2110226} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"279429e7461a44eb64a8475cf097f104","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"279429e7461a44eb64a8475cf097f104"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"279429e7461a44eb64a8475cf097f104"} device-1 | {"level":"info","message":"POST /devices? 201 36ms","method":"POST","requestID":"279429e7461a44eb64a8475cf097f104","responseTime":36,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Nn0.uNkyVnAnrSv0wvewjOCednfFji-ZXK4ND0cwbrpF-xM","level":"info","message":"auth send jwt","requestID":"3aaec55af40cf6b640d8c94c1c8fde36"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3aaec55af40cf6b640d8c94c1c8fde36","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"3aaec55af40cf6b640d8c94c1c8fde36"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":383,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":383,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.90435,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"3aaec55af40cf6b640d8c94c1c8fde36","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348396,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Nn0.uNkyVnAnrSv0wvewjOCednfFji-ZXK4ND0cwbrpF-xM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3aaec55af40cf6b640d8c94c1c8fde36","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"39902e1c-5334-4a25-9d11-544aca75f635","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.2341228} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3aaec55af40cf6b640d8c94c1c8fde36","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7aacff66-b345-4ad9-930f-ec0eb7e31733","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.2384243} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"3aaec55af40cf6b640d8c94c1c8fde36","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"521ac60d-0fb0-48f1-a836-2b148508dc7c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.247453} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"12f11039-e328-41ba-bf1e-49980396845e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.2475095} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"3aaec55af40cf6b640d8c94c1c8fde36","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:36.247432420Z"}]},"request_id":"89b00ea3-cdb7-42cf-8074-4a6feb1b1e66","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.2512445} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3aaec55af40cf6b640d8c94c1c8fde36","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3aaec55af40cf6b640d8c94c1c8fde36"} gateway-1 | {"time_local":"30/Jul/2024:14:06:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.038","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3aaec55af40cf6b640d8c94c1c8fde36"} device-1 | {"level":"info","message":"POST /devices? 201 35ms","method":"POST","requestID":"3aaec55af40cf6b640d8c94c1c8fde36","responseTime":35,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Nn0.uNkyVnAnrSv0wvewjOCednfFji-ZXK4ND0cwbrpF-xM","level":"info","message":"auth send jwt","requestID":"b85fb43aaf6831136b8f0b61c869f135"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b85fb43aaf6831136b8f0b61c869f135","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b85fb43aaf6831136b8f0b61c869f135"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":384,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":384,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.842872,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"b85fb43aaf6831136b8f0b61c869f135","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348396,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Nn0.uNkyVnAnrSv0wvewjOCednfFji-ZXK4ND0cwbrpF-xM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b85fb43aaf6831136b8f0b61c869f135","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:36.247432420Z"}]},"request_id":"479f55e9-5808-45f6-ab00-0dff505b51c2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.7513971} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b85fb43aaf6831136b8f0b61c869f135","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"330037c5-0fb6-49f0-951e-c85bded418d7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.7589726} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"b85fb43aaf6831136b8f0b61c869f135","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:36.247432420Z"}]},"request_id":"1a458657-2500-4820-87dc-84cd055e9d54","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348396.7707434} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b85fb43aaf6831136b8f0b61c869f135","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b85fb43aaf6831136b8f0b61c869f135"} device-1 | {"level":"info","message":"PATCH /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf 200 35ms","method":"PATCH","requestID":"b85fb43aaf6831136b8f0b61c869f135","responseTime":35,"status":200,"url":"/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf"} gateway-1 | {"time_local":"30/Jul/2024:14:06:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.041","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"b85fb43aaf6831136b8f0b61c869f135"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Nn0.uNkyVnAnrSv0wvewjOCednfFji-ZXK4ND0cwbrpF-xM","level":"info","message":"auth send jwt","requestID":"6153ebb2c585b776966fdf74ab4926ee"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6153ebb2c585b776966fdf74ab4926ee","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"6153ebb2c585b776966fdf74ab4926ee"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":385,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":385,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.263299,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:36Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6153ebb2c585b776966fdf74ab4926ee","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348396,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5Nn0.uNkyVnAnrSv0wvewjOCednfFji-ZXK4ND0cwbrpF-xM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6153ebb2c585b776966fdf74ab4926ee","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"6153ebb2c585b776966fdf74ab4926ee"} gateway-1 | {"time_local":"30/Jul/2024:14:06:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.025","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"6153ebb2c585b776966fdf74ab4926ee"} device-1 | {"level":"info","message":"POST /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf/websocket 200 21ms","method":"POST","requestID":"6153ebb2c585b776966fdf74ab4926ee","responseTime":21,"status":200,"url":"/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"00afdd42c3e3c66a23a864cf2389f36b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"00afdd42c3e3c66a23a864cf2389f36b","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/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":"00afdd42c3e3c66a23a864cf2389f36b"} device-1 | {"level":"info","message":"OPTIONS /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/websocket 200 1ms","method":"OPTIONS","requestID":"00afdd42c3e3c66a23a864cf2389f36b","responseTime":1,"status":200,"url":"/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8","level":"info","message":"auth send jwt","requestID":"10e480c731ba99b36945874b0eb629bf"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"10e480c731ba99b36945874b0eb629bf","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"10e480c731ba99b36945874b0eb629bf"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":386,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":386,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.370961,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"10e480c731ba99b36945874b0eb629bf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348398,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"10e480c731ba99b36945874b0eb629bf","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"10e480c731ba99b36945874b0eb629bf"} gateway-1 | {"time_local":"30/Jul/2024:14:06:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/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":"10e480c731ba99b36945874b0eb629bf"} device-1 | {"level":"info","message":"POST /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/websocket 200 22ms","method":"POST","requestID":"10e480c731ba99b36945874b0eb629bf","responseTime":22,"status":200,"url":"/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8","level":"info","message":"auth send jwt","requestID":"e112b90ead3eaaa1b94491ac59422886"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e112b90ead3eaaa1b94491ac59422886","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e112b90ead3eaaa1b94491ac59422886"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":387,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":387,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.36173,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e112b90ead3eaaa1b94491ac59422886","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348398,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e112b90ead3eaaa1b94491ac59422886","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:36.207436992Z"}]},"request_id":"fbb1a9fb-c672-4c93-b6fc-70c4ad309247","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.27212} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e112b90ead3eaaa1b94491ac59422886","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e112b90ead3eaaa1b94491ac59422886"} gateway-1 | {"time_local":"30/Jul/2024:14:06:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4? 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":"e112b90ead3eaaa1b94491ac59422886"} device-1 | {"level":"info","message":"GET /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4? 200 19ms","method":"GET","requestID":"e112b90ead3eaaa1b94491ac59422886","responseTime":19,"status":200,"url":"/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8","level":"info","message":"auth send jwt","requestID":"634bd36d209778549e9a2df2048adcf6"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"634bd36d209778549e9a2df2048adcf6","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"634bd36d209778549e9a2df2048adcf6"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":388,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":388,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.937091,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"634bd36d209778549e9a2df2048adcf6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348398,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"634bd36d209778549e9a2df2048adcf6","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:36.247432420Z"}]},"request_id":"bb533732-3cae-4f54-b8bb-141f5a9cb954","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.299636} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"634bd36d209778549e9a2df2048adcf6","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"634bd36d209778549e9a2df2048adcf6"} gateway-1 | {"time_local":"30/Jul/2024:14:06:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"634bd36d209778549e9a2df2048adcf6"} device-1 | {"level":"info","message":"GET /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf? 200 19ms","method":"GET","requestID":"634bd36d209778549e9a2df2048adcf6","responseTime":19,"status":200,"url":"/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8","level":"info","message":"auth send jwt","requestID":"67ad5e8734e04913a9764c220956a5ca"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"67ad5e8734e04913a9764c220956a5ca","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"67ad5e8734e04913a9764c220956a5ca"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":389,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":389,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.210705,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"67ad5e8734e04913a9764c220956a5ca","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348398,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"67ad5e8734e04913a9764c220956a5ca","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Attempting to run experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Attempting to book experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Successfully booked experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f024f5c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f02543e0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":390,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":390,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.200402,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f024f5c0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348398,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f024f5c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Received request.","req_id":391,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Sent response.","req_id":391,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.84736,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f02543e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348398,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"f02543e0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:36.207436992Z"}]},"request_id":"2500d845-d519-4711-a17b-76ae8b6760dd","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.377276} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"f024f5c0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:36.247432420Z"}]},"request_id":"51aa5eef-b76d-4b1b-b594-603de1e630a7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.3788497} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"f02543e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f024f5c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4? 200 23ms","method":"GET","requestID":"f024f5c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":23,"status":200,"url":"/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f02543e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf? 200 22ms","method":"GET","requestID":"f02543e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":22,"status":200,"url":"/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Setting up experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Successfully locked booking for experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Attempting to update booking for experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Successfully updated booking for experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Successfully set up experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f0319ff0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f031ee10-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f0326340-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":392,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":392,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.571129,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Received request.","req_id":393,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Successfully running experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f0319ff0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348398,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f0319ff0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Sent response.","req_id":393,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.632026,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f031ee10-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348398,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"f031ee10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":394,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"941009ae-11dd-400d-8a1b-6a2514b2aa44","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.4618363} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":394,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.283776,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f0326340-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","object_type":"device","rebac_allow":false,"scope_allow":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":"f0326340-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:36.207436992Z"}]},"request_id":"b3d7473a-4fcb-4799-945e-732ec08e741f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.4651208} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:36.247432420Z"}]},"request_id":"91dc197e-daec-4672-895e-46c939d657c4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.467329} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"f0319ff0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"f031ee10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f0326340-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/signaling 200 26ms","method":"POST","requestID":"f0326340-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":26,"status":200,"url":"/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f0319ff0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4? 200 33ms","method":"GET","requestID":"f0319ff0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":33,"status":200,"url":"/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f031ee10-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf? 200 33ms","method":"GET","requestID":"f031ee10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":33,"status":200,"url":"/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F05ff2584-8f18-4b9f-9ac5-7983b4a04bc2#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F05ff2584-8f18-4b9f-9ac5-7983b4a04bc2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"b2be279d-3c55-48b0-b519-b52412b0c702","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.4820838} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a4f1a743-5b1d-43f9-b813-aeff7d2fc77d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.4823713} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f036f720-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"67ad5e8734e04913a9764c220956a5ca","responseTime":25,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":395,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f037ba70-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0b31a367-7ad3-44f2-9dda-39ca455a3a37","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.4897544} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Received request.","req_id":396,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":395,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.657587,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f036f720-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","object_type":"device","rebac_allow":false,"scope_allow":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":"f036f720-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2ebe5905-cab3-46ce-98b5-2e420e7acbba","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.493963} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Sent response.","req_id":396,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.967337,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f037ba70-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f037ba70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"67ad5e8734e04913a9764c220956a5ca"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f036f720-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"level":"info","message":"POST /experiments? 201 181ms","method":"POST","requestID":"67ad5e8734e04913a9764c220956a5ca","responseTime":181,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"POST /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf/signaling 200 15ms","method":"POST","requestID":"f036f720-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf/signaling"} gateway-1 | {"time_local":"30/Jul/2024:14:06:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1291","request_time":"0.190","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"67ad5e8734e04913a9764c220956a5ca"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f037ba70-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/signaling 200 15ms","method":"POST","requestID":"f037ba70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8","level":"info","message":"auth send jwt","requestID":"8bdc557dfb8c19ad2e2cb50963e6b835"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8bdc557dfb8c19ad2e2cb50963e6b835","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f03a7990-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8bdc557dfb8c19ad2e2cb50963e6b835"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":397,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Received request.","req_id":398,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"de5554ed-96a7-4000-9015-5ac5cdc378d7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.5124383} authorization-1 | {"client_addr":"127.0.0.1:45932","level":"info","msg":"Sent response.","req_id":398,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.469838,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":397,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.502494,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8bdc557dfb8c19ad2e2cb50963e6b835","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348398,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8bdc557dfb8c19ad2e2cb50963e6b835","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f03a7990-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","object_type":"device","rebac_allow":false,"scope_allow":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":"f03a7990-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:36.207436992Z"}]},"request_id":"f9512ae2-a24f-4a11-9f49-18dc6400a16c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.5211017} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f03a7990-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8bdc557dfb8c19ad2e2cb50963e6b835","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf/signaling 200 18ms","method":"POST","requestID":"f03a7990-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Building connection plan","requestID":"67ad5e8734e04913a9764c220956a5ca"} 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":"9b16bd75-c283-4f1e-8bc8-90a32c57e1d6"},{"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":"29141322-e346-4016-bab0-1024bb8457bb"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"7c7bd40d-36e5-451e-8b44-c46341ada491"}]},"level":"info","message":"Built pairwise service configurations","requestID":"67ad5e8734e04913a9764c220956a5ca"} 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/fb7d7f5e-d5e6-4569-97fa-f913982a29e4"},{"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/e5ea628a-20b4-4d9a-8244-a78f29c525cf"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"67ad5e8734e04913a9764c220956a5ca"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"f03dd4f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8bdc557dfb8c19ad2e2cb50963e6b835"} gateway-1 | {"time_local":"30/Jul/2024:14:06:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4? 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":"8bdc557dfb8c19ad2e2cb50963e6b835"} device-1 | {"level":"info","message":"GET /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4? 200 22ms","method":"GET","requestID":"8bdc557dfb8c19ad2e2cb50963e6b835","responseTime":22,"status":200,"url":"/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":399,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":399,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.835179,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f03dd4f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348398,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f03dd4f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8","level":"info","message":"auth send jwt","requestID":"2d5a4d6cc73d18fa3e792b987343cb14"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2d5a4d6cc73d18fa3e792b987343cb14","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2d5a4d6cc73d18fa3e792b987343cb14"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":400,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":400,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.910244,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"2d5a4d6cc73d18fa3e792b987343cb14","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348398,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODM5OH0.ic-wtv78BfTZ5ZK43fEgu6BOOfZ0kAUcTdZt_4wR9Q8"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"2d5a4d6cc73d18fa3e792b987343cb14","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"c3839eab-1e11-455a-aa09-4c3261cd0f62","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.5482998} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9e3a1881-cd31-4a05-ba87-dc5dcff32c05","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.5486982} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:36.247432420Z"}]},"request_id":"305a4158-cac3-4817-8607-abd814a74b08","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.5499637} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"f03dd4f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"2d5a4d6cc73d18fa3e792b987343cb14","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2d5a4d6cc73d18fa3e792b987343cb14"} gateway-1 | {"time_local":"30/Jul/2024:14:06:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.033","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2d5a4d6cc73d18fa3e792b987343cb14"} device-1 | {"level":"info","message":"GET /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf? 200 26ms","method":"GET","requestID":"2d5a4d6cc73d18fa3e792b987343cb14","responseTime":26,"status":200,"url":"/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"f03dd4f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"f03dd4f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a'","requestID":"f03dd4f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a'","requestID":"f03dd4f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"f03dd4f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 69ms","method":"POST","requestID":"f03dd4f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":69,"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":"f03dd4f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a","device":"fb7d7f5e-d5e6-4569-97fa-f913982a29e4","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/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"67ad5e8734e04913a9764c220956a5ca"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f04e0190-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":401,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0882ee69-ad7c-41f4-9bb0-a86eb8c5d6da","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.6387134} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":401,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.887908,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f04e0190-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f04e0190-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f04e0190-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/signaling 200 10ms","method":"POST","requestID":"f04e0190-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/signaling"} device-1 | {"device":"fb7d7f5e-d5e6-4569-97fa-f913982a29e4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"fb7d7f5e-d5e6-4569-97fa-f913982a29e4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f04ffd60-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":402,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b052ce63-611f-44b3-b211-d685d0952628","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348398.650356} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":402,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.235665,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f04ffd60-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f04ffd60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f04ffd60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf/signaling 200 8ms","method":"POST","requestID":"f04ffd60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf/signaling"} device-1 | {"device":"e5ea628a-20b4-4d9a-8244-a78f29c525cf","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":"be78b57b-4f94-40a2-b08b-55ff77a9128a","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 1258355573111960840 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:HnNL\r\na=ice-pwd:BVqmK3VmkB5Rvk31tw8fValW\r\na=ice-options:trickle\r\na=fingerprint:sha-256 61:05:AB:1C:1B:2A:B2:3A:D5:0E:21:C8:B8:8E:2E:E3:7E:A3:5B:EE:64:B4:56:24:13:36:E9:7D:C2:10:C6:5F\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"fb7d7f5e-d5e6-4569-97fa-f913982a29e4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2807454968 1 udp 2113937151 ebb86fb1-973c-4d56-a62d-aba946c63b7e.local 60291 typ host generation 0 ufrag HnNL network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"fb7d7f5e-d5e6-4569-97fa-f913982a29e4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"fb7d7f5e-d5e6-4569-97fa-f913982a29e4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:2936936255 1 udp 1677729535 141.24.211.56 60291 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag HnNL network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"fb7d7f5e-d5e6-4569-97fa-f913982a29e4","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/be78b57b-4f94-40a2-b08b-55ff77a9128a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"be78b57b-4f94-40a2-b08b-55ff77a9128a","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"e5ea628a-20b4-4d9a-8244-a78f29c525cf","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":"e5ea628a-20b4-4d9a-8244-a78f29c525cf","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":"e5ea628a-20b4-4d9a-8244-a78f29c525cf","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":"fb7d7f5e-d5e6-4569-97fa-f913982a29e4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"aa4b4208a615d920be706723569943cd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4'"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"aa4b4208a615d920be706723569943cd","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/fb7d7f5e-d5e6-4569-97fa-f913982a29e4"},{"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/e5ea628a-20b4-4d9a-8244-a78f29c525cf"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a"}}},"level":"info","message":"received a callback","requestID":"aa4b4208a615d920be706723569943cd"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"aa4b4208a615d920be706723569943cd","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"aa4b4208a615d920be706723569943cd"} device-1 | {"data":{"peerconnection":"be78b57b-4f94-40a2-b08b-55ff77a9128a","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"e5ea628a-20b4-4d9a-8244-a78f29c525cf","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":"fb7d7f5e-d5e6-4569-97fa-f913982a29e4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"e5ea628a-20b4-4d9a-8244-a78f29c525cf","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":"be78b57b-4f94-40a2-b08b-55ff77a9128a","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"fb7d7f5e-d5e6-4569-97fa-f913982a29e4","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"be78b57b-4f94-40a2-b08b-55ff77a9128a","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b07293abf5fd0abe8115ba84e885c5eb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b07293abf5fd0abe8115ba84e885c5eb","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/fb7d7f5e-d5e6-4569-97fa-f913982a29e4"},{"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/e5ea628a-20b4-4d9a-8244-a78f29c525cf"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a"}}},"level":"info","message":"received a callback","requestID":"b07293abf5fd0abe8115ba84e885c5eb"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"f18cea30-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":403,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbe78b57b-4f94-40a2-b08b-55ff77a9128a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"340a3a4e-0fb2-4cfc-b8b3-cff7b34e95d0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348400.7292845} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":403,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.836069,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f18cea30-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a","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":"f18cea30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"f18cea30-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a 200 11ms","method":"GET","requestID":"f18cea30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 41ms","method":"POST","requestID":"b07293abf5fd0abe8115ba84e885c5eb","responseTime":41,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.044","http_referrer":"","http_user_agent":"node-fetch","requestID":"b07293abf5fd0abe8115ba84e885c5eb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f191cc30-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":404,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9ea5e6a4-c40e-4ed5-a556-455db33263ba","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348400.7607207} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":404,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.151903,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f191cc30-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"f191cc30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f191cc30-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/signaling 200 12ms","method":"POST","requestID":"f191cc30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f1941620-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":405,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"40e4ea0c-e771-442e-815b-2762a8529788","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348400.7768254} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":405,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.794497,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f1941620-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f1941620-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f1941620-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf/signaling 200 12ms","method":"POST","requestID":"f1941620-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwMH0.SihYH9w4AmbLObLvA0gXqCtV-pbGb1rWSPD8Wzwv58M","level":"info","message":"auth send jwt","requestID":"18ce85448c7602232d0b92f2b09dd67a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"18ce85448c7602232d0b92f2b09dd67a","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2","requestID":"18ce85448c7602232d0b92f2b09dd67a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":406,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":406,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.204111,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"18ce85448c7602232d0b92f2b09dd67a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348400,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwMH0.SihYH9w4AmbLObLvA0gXqCtV-pbGb1rWSPD8Wzwv58M"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"18ce85448c7602232d0b92f2b09dd67a","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2","requestID":"18ce85448c7602232d0b92f2b09dd67a"} gateway-1 | {"time_local":"30/Jul/2024:14:06:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2 HTTP/1.1","status": "200","body_bytes_sent":"1364","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"18ce85448c7602232d0b92f2b09dd67a"} experiment-1 | {"level":"info","message":"GET /experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2 200 11ms","method":"GET","requestID":"18ce85448c7602232d0b92f2b09dd67a","responseTime":11,"status":200,"url":"/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwMH0.SihYH9w4AmbLObLvA0gXqCtV-pbGb1rWSPD8Wzwv58M","level":"info","message":"auth send jwt","requestID":"879ca278449f3ce26a70df30d542d659"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"879ca278449f3ce26a70df30d542d659","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2","requestID":"879ca278449f3ce26a70df30d542d659"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":407,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":407,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.017162,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"879ca278449f3ce26a70df30d542d659","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348400,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwMH0.SihYH9w4AmbLObLvA0gXqCtV-pbGb1rWSPD8Wzwv58M"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"879ca278449f3ce26a70df30d542d659","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Attempting to finish experiment","requestID":"879ca278449f3ce26a70df30d542d659"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"f19eeb90-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":408,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":408,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.995815,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f19eeb90-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348400,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwMH0.SihYH9w4AmbLObLvA0gXqCtV-pbGb1rWSPD8Wzwv58M"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f19eeb90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a","device":"fb7d7f5e-d5e6-4569-97fa-f913982a29e4","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"e5ea628a-20b4-4d9a-8244-a78f29c525cf","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":"e5ea628a-20b4-4d9a-8244-a78f29c525cf","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":"e5ea628a-20b4-4d9a-8244-a78f29c525cf","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/be78b57b-4f94-40a2-b08b-55ff77a9128a' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"be78b57b-4f94-40a2-b08b-55ff77a9128a","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbe78b57b-4f94-40a2-b08b-55ff77a9128a': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbe78b57b-4f94-40a2-b08b-55ff77a9128a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"b5fe7c47-5930-447f-bc25-d55944eb9245","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348400.8606164} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4273ed9c-eb19-47e9-a453-c6ddb8ca8f42","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348400.860939} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"31a0db3f83e933f39d13b6a3c277bf98","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"31a0db3f83e933f39d13b6a3c277bf98","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9396f238c55d6a98ea7f61f86ba6d271","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/fb7d7f5e-d5e6-4569-97fa-f913982a29e4"},{"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/e5ea628a-20b4-4d9a-8244-a78f29c525cf"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a"}}},"level":"info","message":"received a callback","requestID":"31a0db3f83e933f39d13b6a3c277bf98"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9396f238c55d6a98ea7f61f86ba6d271","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"f19eeb90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4"},{"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/e5ea628a-20b4-4d9a-8244-a78f29c525cf"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a"}}},"level":"info","message":"received a callback","requestID":"9396f238c55d6a98ea7f61f86ba6d271"} device-1 | {"data":{"peerconnection":"be78b57b-4f94-40a2-b08b-55ff77a9128a","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"f19eeb90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a 204 44ms","method":"DELETE","requestID":"f19eeb90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":44,"status":204,"url":"/peerconnections/be78b57b-4f94-40a2-b08b-55ff77a9128a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"},"level":"info","message":"Successfully finished experiment","requestID":"879ca278449f3ce26a70df30d542d659"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f1a8d6a0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":409,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ffb7d7f5e-d5e6-4569-97fa-f913982a29e4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b6412a19-40eb-477c-9110-7d3650460420","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348400.9125881} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":409,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.225486,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f1a8d6a0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"f1a8d6a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F05ff2584-8f18-4b9f-9ac5-7983b4a04bc2': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F05ff2584-8f18-4b9f-9ac5-7983b4a04bc2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"eed3485b-74b3-4e99-82dc-cb49cc7a15d0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348400.9182796} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c7641e5a-5aa4-4885-a540-148dde896c85","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348400.9185715} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f1a8d6a0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/signaling 200 13ms","method":"POST","requestID":"f1a8d6a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/fb7d7f5e-d5e6-4569-97fa-f913982a29e4/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"879ca278449f3ce26a70df30d542d659","responseTime":16,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f1ab2090-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":410,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe5ea628a-20b4-4d9a-8244-a78f29c525cf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b9b6da2d-aec0-42f4-b536-012c96a51332","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348400.9284823} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":410,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.776315,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f1ab2090-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f1ab2090-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f1ab2090-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf/signaling 200 13ms","method":"POST","requestID":"f1ab2090-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/e5ea628a-20b4-4d9a-8244-a78f29c525cf/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2","requestID":"879ca278449f3ce26a70df30d542d659"} gateway-1 | {"time_local":"30/Jul/2024:14:06:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.157","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"879ca278449f3ce26a70df30d542d659"} experiment-1 | {"level":"info","message":"DELETE /experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2 204 153ms","method":"DELETE","requestID":"879ca278449f3ce26a70df30d542d659","responseTime":153,"status":204,"url":"/experiments/05ff2584-8f18-4b9f-9ac5-7983b4a04bc2"} gateway-1 | {"time_local":"30/Jul/2024:14:06:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2837","request_time":"4.183","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"82053c3b45a2d2433230fd87897117d8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"31a0db3f83e933f39d13b6a3c277bf98","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.125","http_referrer":"","http_user_agent":"node-fetch","requestID":"31a0db3f83e933f39d13b6a3c277bf98"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 120ms","method":"POST","requestID":"9396f238c55d6a98ea7f61f86ba6d271","responseTime":120,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.126","http_referrer":"","http_user_agent":"node-fetch","requestID":"9396f238c55d6a98ea7f61f86ba6d271"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwMH0.SihYH9w4AmbLObLvA0gXqCtV-pbGb1rWSPD8Wzwv58M","level":"info","message":"auth send jwt","requestID":"67e03e685b60f9921471a7102c541897"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"67e03e685b60f9921471a7102c541897","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"67e03e685b60f9921471a7102c541897"} gateway-1 | {"time_local":"30/Jul/2024:14:06:40 +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.758","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b9f39791d03c73b21bb890709d4c2310"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":411,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":411,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.195536,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:40Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"67e03e685b60f9921471a7102c541897","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348400,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwMH0.SihYH9w4AmbLObLvA0gXqCtV-pbGb1rWSPD8Wzwv58M"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"67e03e685b60f9921471a7102c541897","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/e5ea628a-20b4-4d9a-8244-a78f29c525cf' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3ea0f7c1-86bc-413c-9191-14b4ae87d865","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348401.0100145} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"67e03e685b60f9921471a7102c541897","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/fb7d7f5e-d5e6-4569-97fa-f913982a29e4' 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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"09801499-d393-40b1-be32-05ef7983b1e0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348401.0158641} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"67e03e685b60f9921471a7102c541897","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"1f91150b-746d-4665-a5f7-679144b8b547","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348401.0316713} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ad2e396a-4793-4808-be6c-015d39235b3c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348401.0319257} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"67e03e685b60f9921471a7102c541897","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:41.031649420Z"}]},"request_id":"fddd444b-c81e-492e-903c-c040d9d2f00a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348401.0364215} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"67e03e685b60f9921471a7102c541897","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"67e03e685b60f9921471a7102c541897"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"67e03e685b60f9921471a7102c541897","responseTime":49,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:41 +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":"67e03e685b60f9921471a7102c541897"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwMX0.9pjFv_0xN9W3qAhRvMr99JG98me75s6o3_SRIepViKE","level":"info","message":"auth send jwt","requestID":"7bb0fdf661e0913cfc1726c6825d0e9c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7bb0fdf661e0913cfc1726c6825d0e9c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"7bb0fdf661e0913cfc1726c6825d0e9c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":412,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:41Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":412,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.92304,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:41Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"7bb0fdf661e0913cfc1726c6825d0e9c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348401,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwMX0.9pjFv_0xN9W3qAhRvMr99JG98me75s6o3_SRIepViKE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7bb0fdf661e0913cfc1726c6825d0e9c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"41d6c6d6-7984-4d48-8c1c-05490963a158","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348401.0599341} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7bb0fdf661e0913cfc1726c6825d0e9c","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bb6e241e-e749-4332-b053-eb29ce956128","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348401.064621} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"7bb0fdf661e0913cfc1726c6825d0e9c","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"ed4efc34-bbd9-4b09-9f01-4a2670e92aea","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348401.075365} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e456a237-d9c4-4162-941f-bf6c2fdc83ae","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348401.0755246} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"7bb0fdf661e0913cfc1726c6825d0e9c","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:41.075343283Z"}]},"request_id":"57cb927a-d1d9-4057-90b7-b007fd747ac8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348401.0795739} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7bb0fdf661e0913cfc1726c6825d0e9c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"7bb0fdf661e0913cfc1726c6825d0e9c"} device-1 | {"level":"info","message":"POST /devices? 201 37ms","method":"POST","requestID":"7bb0fdf661e0913cfc1726c6825d0e9c","responseTime":37,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.042","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7bb0fdf661e0913cfc1726c6825d0e9c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwMX0.9pjFv_0xN9W3qAhRvMr99JG98me75s6o3_SRIepViKE","level":"info","message":"auth send jwt","requestID":"193a21e61b78888c5458961bcc708acf"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"193a21e61b78888c5458961bcc708acf","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"193a21e61b78888c5458961bcc708acf"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":413,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:41Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":413,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.827055,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:41Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"193a21e61b78888c5458961bcc708acf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348401,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwMX0.9pjFv_0xN9W3qAhRvMr99JG98me75s6o3_SRIepViKE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"193a21e61b78888c5458961bcc708acf","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:41.075343283Z"}]},"request_id":"67648da0-a51f-45f4-85d0-07e1ab446c7a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348401.5775788} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"193a21e61b78888c5458961bcc708acf","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2f3a7c9d-d790-4146-9ad0-759bf80864ad","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348401.5848877} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"193a21e61b78888c5458961bcc708acf","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:41.075343283Z"}]},"request_id":"9e0a7c9c-d8a4-4a33-9444-e1de5b610c7e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348401.5978992} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"193a21e61b78888c5458961bcc708acf","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"193a21e61b78888c5458961bcc708acf"} gateway-1 | {"time_local":"30/Jul/2024:14:06:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.044","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"193a21e61b78888c5458961bcc708acf"} device-1 | {"level":"info","message":"PATCH /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e 200 37ms","method":"PATCH","requestID":"193a21e61b78888c5458961bcc708acf","responseTime":37,"status":200,"url":"/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwMX0.9pjFv_0xN9W3qAhRvMr99JG98me75s6o3_SRIepViKE","level":"info","message":"auth send jwt","requestID":"dd52854720a79cd7b9411a65224faf41"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"dd52854720a79cd7b9411a65224faf41","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"dd52854720a79cd7b9411a65224faf41"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":414,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:41Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":414,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.171657,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:41Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dd52854720a79cd7b9411a65224faf41","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348401,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwMX0.9pjFv_0xN9W3qAhRvMr99JG98me75s6o3_SRIepViKE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dd52854720a79cd7b9411a65224faf41","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"dd52854720a79cd7b9411a65224faf41"} gateway-1 | {"time_local":"30/Jul/2024:14:06:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.029","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"dd52854720a79cd7b9411a65224faf41"} device-1 | {"level":"info","message":"POST /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e/websocket 200 22ms","method":"POST","requestID":"dd52854720a79cd7b9411a65224faf41","responseTime":22,"status":200,"url":"/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4097f7353e6cb27431d7f3095ba4e863","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4097f7353e6cb27431d7f3095ba4e863","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/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":"4097f7353e6cb27431d7f3095ba4e863"} device-1 | {"level":"info","message":"OPTIONS /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/websocket 200 1ms","method":"OPTIONS","requestID":"4097f7353e6cb27431d7f3095ba4e863","responseTime":1,"status":200,"url":"/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM","level":"info","message":"auth send jwt","requestID":"ae61c36c7712a050badd8db3dacad6e9"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ae61c36c7712a050badd8db3dacad6e9","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ae61c36c7712a050badd8db3dacad6e9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":415,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":415,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.181155,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ae61c36c7712a050badd8db3dacad6e9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348403,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ae61c36c7712a050badd8db3dacad6e9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ae61c36c7712a050badd8db3dacad6e9"} device-1 | {"level":"info","message":"POST /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/websocket 200 22ms","method":"POST","requestID":"ae61c36c7712a050badd8db3dacad6e9","responseTime":22,"status":200,"url":"/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:06:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/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":"ae61c36c7712a050badd8db3dacad6e9"} device-1 | {"level":"info","message":"device 'http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM","level":"info","message":"auth send jwt","requestID":"92683aa6f08ee48cca189f85f3168a64"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"92683aa6f08ee48cca189f85f3168a64","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"92683aa6f08ee48cca189f85f3168a64"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":416,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":416,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.345236,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"92683aa6f08ee48cca189f85f3168a64","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348403,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"92683aa6f08ee48cca189f85f3168a64","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:41.031649420Z"}]},"request_id":"979d7dba-0e54-41a7-bd29-51dcad81d297","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.122613} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"92683aa6f08ee48cca189f85f3168a64","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"92683aa6f08ee48cca189f85f3168a64"} gateway-1 | {"time_local":"30/Jul/2024:14:06:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a? 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":"92683aa6f08ee48cca189f85f3168a64"} device-1 | {"level":"info","message":"GET /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a? 200 18ms","method":"GET","requestID":"92683aa6f08ee48cca189f85f3168a64","responseTime":18,"status":200,"url":"/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM","level":"info","message":"auth send jwt","requestID":"5ea9fa7b2cb787886b574dc61557d313"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"5ea9fa7b2cb787886b574dc61557d313","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5ea9fa7b2cb787886b574dc61557d313"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":417,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":417,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.16567,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"5ea9fa7b2cb787886b574dc61557d313","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348403,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5ea9fa7b2cb787886b574dc61557d313","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:41.075343283Z"}]},"request_id":"68f05e0e-85ad-4257-b0ec-ea0384597c67","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.1490657} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5ea9fa7b2cb787886b574dc61557d313","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5ea9fa7b2cb787886b574dc61557d313"} gateway-1 | {"time_local":"30/Jul/2024:14:06:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5ea9fa7b2cb787886b574dc61557d313"} device-1 | {"level":"info","message":"GET /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e? 200 19ms","method":"GET","requestID":"5ea9fa7b2cb787886b574dc61557d313","responseTime":19,"status":200,"url":"/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM","level":"info","message":"auth send jwt","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"cc490ccb4f790077a2dc6faa04d9827c","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":418,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":418,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.244413,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"cc490ccb4f790077a2dc6faa04d9827c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348403,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cc490ccb4f790077a2dc6faa04d9827c","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Attempting to run experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Attempting to book experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Successfully booked experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f307f170-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f3083f90-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":419,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":419,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.958976,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f307f170-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348403,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f307f170-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:43130","level":"info","msg":"Received request.","req_id":420,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"client_addr":"127.0.0.1:43130","level":"info","msg":"Sent response.","req_id":420,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.281459,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f3083f90-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348403,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"f3083f90-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:41.031649420Z"}]},"request_id":"787bdfb5-fd23-4877-acb8-2fc847a1735a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.2183266} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f307f170-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:41.075343283Z"}]},"request_id":"9bea067f-2264-4995-9656-4e0da4a0d727","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.2228916} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f307f170-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f3083f90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a? 200 17ms","method":"GET","requestID":"f307f170-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f3083f90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e? 200 20ms","method":"GET","requestID":"f3083f90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":20,"status":200,"url":"/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Setting up experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Successfully locked booking for experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Attempting to update booking for experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Successfully updated booking for experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Successfully set up experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f3142670-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f3147490-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":421,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f31510d0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":421,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.797664,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"client_addr":"127.0.0.1:43130","level":"info","msg":"Received request.","req_id":422,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Successfully running experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f3142670-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348403,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"f3142670-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:43130","level":"info","msg":"Sent response.","req_id":422,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.244615,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f3147490-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348403,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"f3147490-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":423,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":423,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.467796,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b01a04fc-bfc3-43b1-bb8f-1724efd7669c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.3043776} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:41.075343283Z"}]},"request_id":"553b28bf-b870-4237-9c84-447e4da66652","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.3068829} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f31510d0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","object_type":"device","rebac_allow":false,"scope_allow":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":"f31510d0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"f3147490-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:41.031649420Z"}]},"request_id":"320581b5-2eb2-469f-afc2-a333d738a19b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.308749} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"f3142670-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f31510d0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/signaling 200 27ms","method":"POST","requestID":"f31510d0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":27,"status":200,"url":"/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f3147490-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e? 200 32ms","method":"GET","requestID":"f3147490-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":32,"status":200,"url":"/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f3142670-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F93b70dff-1d14-4ea9-b600-b9189be04578#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F93b70dff-1d14-4ea9-b600-b9189be04578","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"98864da4-f3af-473c-b954-5ce6570ed7dd","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.3240077} device-1 | {"level":"info","message":"GET /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a? 200 37ms","method":"GET","requestID":"f3142670-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":37,"status":200,"url":"/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"76216ea9-d003-4464-8ec7-f6ea88910388","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.3244452} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f31a19e0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"cc490ccb4f790077a2dc6faa04d9827c","responseTime":27,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f31a8f10-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":424,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"client_addr":"127.0.0.1:43130","level":"info","msg":"Received request.","req_id":425,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9c3db324-fde5-4fef-89a9-e97c0a554d42","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.3369923} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":424,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":7.130585,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f31a19e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","object_type":"device","rebac_allow":false,"scope_allow":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":"f31a19e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"98d568a6-0339-4e98-a79e-ff2a735489a5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.3399777} authorization-1 | {"client_addr":"127.0.0.1:43130","level":"info","msg":"Sent response.","req_id":425,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.169471,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f31a8f10-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","object_type":"device","rebac_allow":false,"scope_allow":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":"f31a8f10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"30/Jul/2024:14:06:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1291","request_time":"0.186","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} experiment-1 | {"level":"info","message":"POST /experiments? 201 178ms","method":"POST","requestID":"cc490ccb4f790077a2dc6faa04d9827c","responseTime":178,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f31a19e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e/signaling 200 22ms","method":"POST","requestID":"f31a19e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":22,"status":200,"url":"/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM","level":"info","message":"auth send jwt","requestID":"5c6187faedfd1a3a2d7749204f904274"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"5c6187faedfd1a3a2d7749204f904274","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5c6187faedfd1a3a2d7749204f904274"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f31a8f10-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/signaling 200 29ms","method":"POST","requestID":"f31a8f10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":29,"status":200,"url":"/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":426,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":426,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.510984,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"5c6187faedfd1a3a2d7749204f904274","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348403,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5c6187faedfd1a3a2d7749204f904274","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:41.031649420Z"}]},"request_id":"e80aa2d5-0cd6-4671-b9fe-84a87060309a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.3668933} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f3205b70-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5c6187faedfd1a3a2d7749204f904274","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":427,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5c6187faedfd1a3a2d7749204f904274"} gateway-1 | {"time_local":"30/Jul/2024:14:06:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a? 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":"5c6187faedfd1a3a2d7749204f904274"} device-1 | {"level":"info","message":"GET /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a? 200 17ms","method":"GET","requestID":"5c6187faedfd1a3a2d7749204f904274","responseTime":17,"status":200,"url":"/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"af0949c8-3ab9-4340-ba3f-a161d2fa2972","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.3725379} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":427,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.174692,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f3205b70-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f3205b70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM","level":"info","message":"auth send jwt","requestID":"0b1847294bab7526051b1f00cb324d3e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f3205b70-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e/signaling 200 10ms","method":"POST","requestID":"f3205b70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0b1847294bab7526051b1f00cb324d3e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0b1847294bab7526051b1f00cb324d3e","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Building connection plan","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} 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":"a9baaf17-4146-40cc-ae6a-d2aa45354513"},{"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":"13ff2ba3-fac4-41a0-a5af-9fd772f28a83"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"e46fb576-2be2-423f-8f48-a8cd0bc50539"}]},"level":"info","message":"Built pairwise service configurations","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} 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/3a0f9c79-ca9d-47a2-be90-345a2a9b747e"},{"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/115dc3bb-6275-41ce-9c78-f1364dbe1f8a"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":428,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"f3225740-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":428,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.064762,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0b1847294bab7526051b1f00cb324d3e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348403,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0b1847294bab7526051b1f00cb324d3e","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":429,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":429,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.659136,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f3225740-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348403,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwM30.sDmPBi6htuZWbc8wWbR59z2RBhL_poESvXKlpbGqKnM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f3225740-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:41.075343283Z"}]},"request_id":"06bb399f-7d1d-492f-9441-f66a035bb15b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.386652} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0b1847294bab7526051b1f00cb324d3e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0b1847294bab7526051b1f00cb324d3e"} gateway-1 | {"time_local":"30/Jul/2024:14:06:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e? 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":"0b1847294bab7526051b1f00cb324d3e"} device-1 | {"level":"info","message":"GET /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e? 200 15ms","method":"GET","requestID":"0b1847294bab7526051b1f00cb324d3e","responseTime":15,"status":200,"url":"/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"941dd6e1-7f5f-4754-a19e-3fd23570123c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.3977458} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5e3fb2d6-50c4-48b5-85aa-215b29e72478","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.398049} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"f3225740-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"f3225740-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"f3225740-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9'","requestID":"f3225740-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9'","requestID":"f3225740-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"f3225740-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 31ms","method":"POST","requestID":"f3225740-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":31,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"f3225740-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9","device":"115dc3bb-6275-41ce-9c78-f1364dbe1f8a","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/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"cc490ccb4f790077a2dc6faa04d9827c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f32bcd20-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":430,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} device-1 | {"device":"115dc3bb-6275-41ce-9c78-f1364dbe1f8a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"115dc3bb-6275-41ce-9c78-f1364dbe1f8a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fcb63ecb-884e-4204-a050-a6724f943600","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.4474142} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":430,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.840631,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f32bcd20-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f32bcd20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f32bcd20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/signaling 200 12ms","method":"POST","requestID":"f32bcd20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 666942803120236503 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:XIog\r\na=ice-pwd:fJ0JyCJFMztZ48VVEH/hAYcf\r\na=ice-options:trickle\r\na=fingerprint:sha-256 0D:81:53:CA:A9:49:18:C3:91:A7:1C:96:CA:F8:7B:7B:ED:FB:B3:08:1E:57:0D:1B:2E:65:86:32:2C:E5:9B:94\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"115dc3bb-6275-41ce-9c78-f1364dbe1f8a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f32df000-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":431,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"52b316da-10cd-413b-ba66-edb4a50661e3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348403.461645} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":431,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.170175,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f32df000-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f32df000-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f32df000-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e/signaling 200 10ms","method":"POST","requestID":"f32df000-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e/signaling"} device-1 | {"device":"115dc3bb-6275-41ce-9c78-f1364dbe1f8a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"3a0f9c79-ca9d-47a2-be90-345a2a9b747e","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":"03ef8986-3527-4a8b-b401-713af046aff9","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"3a0f9c79-ca9d-47a2-be90-345a2a9b747e","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":"3a0f9c79-ca9d-47a2-be90-345a2a9b747e","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":"3a0f9c79-ca9d-47a2-be90-345a2a9b747e","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":"3a0f9c79-ca9d-47a2-be90-345a2a9b747e","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/03ef8986-3527-4a8b-b401-713af046aff9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"03ef8986-3527-4a8b-b401-713af046aff9","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"df7374e8e84dacf8966108a7efe0c308","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"df7374e8e84dacf8966108a7efe0c308","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e"},{"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/115dc3bb-6275-41ce-9c78-f1364dbe1f8a"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9"}}},"level":"info","message":"received a callback","requestID":"df7374e8e84dacf8966108a7efe0c308"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"df7374e8e84dacf8966108a7efe0c308","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"df7374e8e84dacf8966108a7efe0c308"} device-1 | {"content":{"candidate":"candidate:958962080 1 udp 2113937151 6a714e08-c418-453e-8e2f-c8ae901fe544.local 46948 typ host generation 0 ufrag XIog network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"115dc3bb-6275-41ce-9c78-f1364dbe1f8a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:829477479 1 udp 1677729535 141.24.211.56 46948 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag XIog network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"115dc3bb-6275-41ce-9c78-f1364dbe1f8a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2405198229 1 udp 33562623 141.24.210.113 52868 typ relay raddr 141.24.211.56 rport 46948 generation 0 ufrag XIog network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"115dc3bb-6275-41ce-9c78-f1364dbe1f8a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"115dc3bb-6275-41ce-9c78-f1364dbe1f8a","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/115dc3bb-6275-41ce-9c78-f1364dbe1f8a'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a'"} device-1 | {"data":{"peerconnection":"03ef8986-3527-4a8b-b401-713af046aff9","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"3a0f9c79-ca9d-47a2-be90-345a2a9b747e","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":"115dc3bb-6275-41ce-9c78-f1364dbe1f8a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"3a0f9c79-ca9d-47a2-be90-345a2a9b747e","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":"03ef8986-3527-4a8b-b401-713af046aff9","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/03ef8986-3527-4a8b-b401-713af046aff9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"03ef8986-3527-4a8b-b401-713af046aff9","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"46dd0fac349a0e4cc86d860985d86de1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"46dd0fac349a0e4cc86d860985d86de1","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/3a0f9c79-ca9d-47a2-be90-345a2a9b747e"},{"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/115dc3bb-6275-41ce-9c78-f1364dbe1f8a"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9"}}},"level":"info","message":"received a callback","requestID":"46dd0fac349a0e4cc86d860985d86de1"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"f472a500-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":432,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F03ef8986-3527-4a8b-b401-713af046aff9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9113d792-d254-44c4-83c5-6ce7c29a1caf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.5925252} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":432,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.15279,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f472a500-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"f472a500-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"f472a500-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/03ef8986-3527-4a8b-b401-713af046aff9 200 14ms","method":"GET","requestID":"f472a500-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 44ms","method":"POST","requestID":"46dd0fac349a0e4cc86d860985d86de1","responseTime":44,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch","requestID":"46dd0fac349a0e4cc86d860985d86de1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f4782340-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":433,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"417ccb84-f909-47b6-8450-a29d2ea79045","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.6262949} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":433,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.511204,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f4782340-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"f4782340-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f4782340-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e/signaling 200 13ms","method":"POST","requestID":"f4782340-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f47a9440-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":434,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b3a4a186-4f34-432d-aa49-f0bfc0241fd8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.6441247} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":434,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.653059,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f47a9440-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","object_type":"device","rebac_allow":false,"scope_allow":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":"f47a9440-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f47a9440-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/signaling 200 15ms","method":"POST","requestID":"f47a9440-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwNX0.AnJg-rDGEH94agTLep5auk82gOIO_bZtaNZtTJxSR9k","level":"info","message":"auth send jwt","requestID":"27df48fdb5b460ffdaa700c2a905336b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"27df48fdb5b460ffdaa700c2a905336b","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/93b70dff-1d14-4ea9-b600-b9189be04578","requestID":"27df48fdb5b460ffdaa700c2a905336b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":435,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":435,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.945604,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"27df48fdb5b460ffdaa700c2a905336b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348405,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwNX0.AnJg-rDGEH94agTLep5auk82gOIO_bZtaNZtTJxSR9k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"27df48fdb5b460ffdaa700c2a905336b","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/93b70dff-1d14-4ea9-b600-b9189be04578","requestID":"27df48fdb5b460ffdaa700c2a905336b"} experiment-1 | {"level":"info","message":"GET /experiments/93b70dff-1d14-4ea9-b600-b9189be04578 200 13ms","method":"GET","requestID":"27df48fdb5b460ffdaa700c2a905336b","responseTime":13,"status":200,"url":"/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"} gateway-1 | {"time_local":"30/Jul/2024:14:06:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/93b70dff-1d14-4ea9-b600-b9189be04578 HTTP/1.1","status": "200","body_bytes_sent":"1364","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"27df48fdb5b460ffdaa700c2a905336b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwNX0.AnJg-rDGEH94agTLep5auk82gOIO_bZtaNZtTJxSR9k","level":"info","message":"auth send jwt","requestID":"80cbaa38fb1e7ba98d2d7faa87a77d74"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"80cbaa38fb1e7ba98d2d7faa87a77d74","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/93b70dff-1d14-4ea9-b600-b9189be04578","requestID":"80cbaa38fb1e7ba98d2d7faa87a77d74"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":436,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":436,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.101299,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"80cbaa38fb1e7ba98d2d7faa87a77d74","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348405,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwNX0.AnJg-rDGEH94agTLep5auk82gOIO_bZtaNZtTJxSR9k"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"80cbaa38fb1e7ba98d2d7faa87a77d74","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Attempting to finish experiment","requestID":"80cbaa38fb1e7ba98d2d7faa87a77d74"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"f4865410-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":437,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":437,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.605028,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f4865410-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348405,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwNX0.AnJg-rDGEH94agTLep5auk82gOIO_bZtaNZtTJxSR9k"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f4865410-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9","device":"115dc3bb-6275-41ce-9c78-f1364dbe1f8a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"3a0f9c79-ca9d-47a2-be90-345a2a9b747e","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":"3a0f9c79-ca9d-47a2-be90-345a2a9b747e","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":"3a0f9c79-ca9d-47a2-be90-345a2a9b747e","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/03ef8986-3527-4a8b-b401-713af046aff9' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"03ef8986-3527-4a8b-b401-713af046aff9","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2d8e9cbf78a61534140fbf519de6dd1b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"2d8e9cbf78a61534140fbf519de6dd1b","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9885a0aa827399fe487316dc12adcc9d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/3a0f9c79-ca9d-47a2-be90-345a2a9b747e"},{"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/115dc3bb-6275-41ce-9c78-f1364dbe1f8a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9"}}},"level":"info","message":"received a callback","requestID":"2d8e9cbf78a61534140fbf519de6dd1b"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9885a0aa827399fe487316dc12adcc9d","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e"},{"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/115dc3bb-6275-41ce-9c78-f1364dbe1f8a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9"}}},"level":"info","message":"received a callback","requestID":"9885a0aa827399fe487316dc12adcc9d"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F03ef8986-3527-4a8b-b401-713af046aff9': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F03ef8986-3527-4a8b-b401-713af046aff9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"84296434-87a6-4852-a792-0b54b90589e4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.752841} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"38f9c25b-8509-4444-89f7-fbcd66fcb7a2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.7532818} device-1 | {"data":{"peerconnection":"03ef8986-3527-4a8b-b401-713af046aff9","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"f4865410-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":23,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"f4865410-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/03ef8986-3527-4a8b-b401-713af046aff9 204 56ms","method":"DELETE","requestID":"f4865410-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":56,"status":204,"url":"/peerconnections/03ef8986-3527-4a8b-b401-713af046aff9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"},"level":"info","message":"Successfully finished experiment","requestID":"80cbaa38fb1e7ba98d2d7faa87a77d74"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f492b020-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":438,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a0f9c79-ca9d-47a2-be90-345a2a9b747e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8c8d6194-20c5-439f-a3a8-d9a6e60f4436","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.8006306} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":438,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.276041,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f492b020-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f492b020-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f492b020-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e/signaling 200 12ms","method":"POST","requestID":"f492b020-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/3a0f9c79-ca9d-47a2-be90-345a2a9b747e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f494fa10-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F93b70dff-1d14-4ea9-b600-b9189be04578': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F93b70dff-1d14-4ea9-b600-b9189be04578","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"ccaf1a3b-f1e3-4ef4-ac8f-e5452dda4a4f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.809825} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e57a660f-87e3-4e56-9a91-4f69cdbcd87e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.8102617} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"80cbaa38fb1e7ba98d2d7faa87a77d74","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":439,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F115dc3bb-6275-41ce-9c78-f1364dbe1f8a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"457f557c-80e3-4bc8-bd46-b139b2ad3c70","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.8172045} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":439,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.301331,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f494fa10-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f494fa10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f494fa10-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/signaling 200 14ms","method":"POST","requestID":"f494fa10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/115dc3bb-6275-41ce-9c78-f1364dbe1f8a/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/93b70dff-1d14-4ea9-b600-b9189be04578","requestID":"80cbaa38fb1e7ba98d2d7faa87a77d74"} gateway-1 | {"time_local":"30/Jul/2024:14:06:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/93b70dff-1d14-4ea9-b600-b9189be04578 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.179","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"80cbaa38fb1e7ba98d2d7faa87a77d74"} gateway-1 | {"time_local":"30/Jul/2024:14:06:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3227","request_time":"4.238","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"d7fa530a35453dbf081139b26be9cbda"} experiment-1 | {"level":"info","message":"DELETE /experiments/93b70dff-1d14-4ea9-b600-b9189be04578 204 175ms","method":"DELETE","requestID":"80cbaa38fb1e7ba98d2d7faa87a77d74","responseTime":175,"status":204,"url":"/experiments/93b70dff-1d14-4ea9-b600-b9189be04578"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 128ms","method":"POST","requestID":"2d8e9cbf78a61534140fbf519de6dd1b","responseTime":128,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.133","http_referrer":"","http_user_agent":"node-fetch","requestID":"2d8e9cbf78a61534140fbf519de6dd1b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 128ms","method":"POST","requestID":"9885a0aa827399fe487316dc12adcc9d","responseTime":128,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.134","http_referrer":"","http_user_agent":"node-fetch","requestID":"9885a0aa827399fe487316dc12adcc9d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwNX0.AnJg-rDGEH94agTLep5auk82gOIO_bZtaNZtTJxSR9k","level":"info","message":"auth send jwt","requestID":"22d36224600313e4089d9d7d1c820428"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"22d36224600313e4089d9d7d1c820428","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"22d36224600313e4089d9d7d1c820428"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":440,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":440,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.01727,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"22d36224600313e4089d9d7d1c820428","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348405,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwNX0.AnJg-rDGEH94agTLep5auk82gOIO_bZtaNZtTJxSR9k"} gateway-1 | {"time_local":"30/Jul/2024:14:06:45 +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.798","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e9f768a94cb659b03e91da7e4eeef88a"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"22d36224600313e4089d9d7d1c820428","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/3a0f9c79-ca9d-47a2-be90-345a2a9b747e' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f5f169c4-b28d-4176-a4ff-eb007088d2ef","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.9034383} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"22d36224600313e4089d9d7d1c820428","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/115dc3bb-6275-41ce-9c78-f1364dbe1f8a' 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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"84fbcd98-6e37-4868-a71f-c45165a39918","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.9091418} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"22d36224600313e4089d9d7d1c820428","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"2acb3ade-52e8-4af9-bbb6-953135cc8995","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.9208884} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"627c05d0-077e-467f-a450-a8835374e1f1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.9212465} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"22d36224600313e4089d9d7d1c820428","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:45.920867382Z"}]},"request_id":"4b1ab327-a13d-49ed-b73d-c65862bf31bb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.9261668} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"22d36224600313e4089d9d7d1c820428","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"22d36224600313e4089d9d7d1c820428"} gateway-1 | {"time_local":"30/Jul/2024:14:06:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.056","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"22d36224600313e4089d9d7d1c820428"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"22d36224600313e4089d9d7d1c820428","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwNX0.AnJg-rDGEH94agTLep5auk82gOIO_bZtaNZtTJxSR9k","level":"info","message":"auth send jwt","requestID":"06b6e4dc695b05b766dc40ec4b07b11c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"06b6e4dc695b05b766dc40ec4b07b11c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"06b6e4dc695b05b766dc40ec4b07b11c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":441,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":441,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.746018,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:45Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"06b6e4dc695b05b766dc40ec4b07b11c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348405,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwNX0.AnJg-rDGEH94agTLep5auk82gOIO_bZtaNZtTJxSR9k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"06b6e4dc695b05b766dc40ec4b07b11c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"6d308425-629c-423f-809c-b57bfd63324f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.9554725} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"06b6e4dc695b05b766dc40ec4b07b11c","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c08c7508-83ec-4584-a922-519df113c1fe","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.9606383} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"06b6e4dc695b05b766dc40ec4b07b11c","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"460eda45-797e-4506-b612-0162f79f8ea3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.9719589} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"291721ee-aebe-4346-9e5a-c6a0a6d62744","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.9722157} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"06b6e4dc695b05b766dc40ec4b07b11c","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:45.971930888Z"}]},"request_id":"835fe9e9-7098-47c9-ba9f-2acd6c998b41","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348405.9768164} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"06b6e4dc695b05b766dc40ec4b07b11c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"06b6e4dc695b05b766dc40ec4b07b11c"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"06b6e4dc695b05b766dc40ec4b07b11c","responseTime":45,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:45 +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":"06b6e4dc695b05b766dc40ec4b07b11c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwNn0.WnHcLdeZ4lTS7X0pXaqpY4TFpZsp5szUFDdyj8jljFc","level":"info","message":"auth send jwt","requestID":"1808e80699ed9d989ed808fedb6c35c7"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1808e80699ed9d989ed808fedb6c35c7","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"1808e80699ed9d989ed808fedb6c35c7"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":442,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:46Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":442,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.642066,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:46Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"1808e80699ed9d989ed808fedb6c35c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348406,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwNn0.WnHcLdeZ4lTS7X0pXaqpY4TFpZsp5szUFDdyj8jljFc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1808e80699ed9d989ed808fedb6c35c7","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:45.920867382Z"}]},"request_id":"73ca1683-2b39-43c1-9ed2-f8ad2183ff0a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348406.4727721} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1808e80699ed9d989ed808fedb6c35c7","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"30ec1467-a7c8-4370-b817-22c9ef7de505","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348406.4791944} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"1808e80699ed9d989ed808fedb6c35c7","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:45.920867382Z"}]},"request_id":"01e95b4f-c327-4c13-b269-edf89927e440","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348406.4922113} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1808e80699ed9d989ed808fedb6c35c7","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"1808e80699ed9d989ed808fedb6c35c7"} gateway-1 | {"time_local":"30/Jul/2024:14:06:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.042","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"1808e80699ed9d989ed808fedb6c35c7"} device-1 | {"level":"info","message":"PATCH /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8 200 35ms","method":"PATCH","requestID":"1808e80699ed9d989ed808fedb6c35c7","responseTime":35,"status":200,"url":"/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwNn0.WnHcLdeZ4lTS7X0pXaqpY4TFpZsp5szUFDdyj8jljFc","level":"info","message":"auth send jwt","requestID":"421bdd45f8ad25eb8ab13876703020ef"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"421bdd45f8ad25eb8ab13876703020ef","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"421bdd45f8ad25eb8ab13876703020ef"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":443,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:46Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":443,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.316348,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:46Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"421bdd45f8ad25eb8ab13876703020ef","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348406,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwNn0.WnHcLdeZ4lTS7X0pXaqpY4TFpZsp5szUFDdyj8jljFc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"421bdd45f8ad25eb8ab13876703020ef","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"421bdd45f8ad25eb8ab13876703020ef"} gateway-1 | {"time_local":"30/Jul/2024:14:06:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.025","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"421bdd45f8ad25eb8ab13876703020ef"} device-1 | {"level":"info","message":"POST /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8/websocket 200 20ms","method":"POST","requestID":"421bdd45f8ad25eb8ab13876703020ef","responseTime":20,"status":200,"url":"/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4e560b34cb379356efe85eaf8b1984de","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"4e560b34cb379356efe85eaf8b1984de","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/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":"4e560b34cb379356efe85eaf8b1984de"} device-1 | {"level":"info","message":"OPTIONS /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/websocket 200 2ms","method":"OPTIONS","requestID":"4e560b34cb379356efe85eaf8b1984de","responseTime":2,"status":200,"url":"/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwN30.b3mVlHUTO238mJtk0uLSRxcrGl8TXXt8O5cXMk8ydV4","level":"info","message":"auth send jwt","requestID":"8a3cd9f16ba42b2feb06f2130ca8c915"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8a3cd9f16ba42b2feb06f2130ca8c915","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"8a3cd9f16ba42b2feb06f2130ca8c915"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":444,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:47Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":444,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.379652,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:47Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8a3cd9f16ba42b2feb06f2130ca8c915","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348407,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwN30.b3mVlHUTO238mJtk0uLSRxcrGl8TXXt8O5cXMk8ydV4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8a3cd9f16ba42b2feb06f2130ca8c915","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"8a3cd9f16ba42b2feb06f2130ca8c915"} gateway-1 | {"time_local":"30/Jul/2024:14:06:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/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":"8a3cd9f16ba42b2feb06f2130ca8c915"} device-1 | {"level":"info","message":"POST /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/websocket 200 21ms","method":"POST","requestID":"8a3cd9f16ba42b2feb06f2130ca8c915","responseTime":21,"status":200,"url":"/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs","level":"info","message":"auth send jwt","requestID":"bf2559ce1a4013bb141249f27c515a76"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bf2559ce1a4013bb141249f27c515a76","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bf2559ce1a4013bb141249f27c515a76"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":445,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":445,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.308808,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bf2559ce1a4013bb141249f27c515a76","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348408,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"bf2559ce1a4013bb141249f27c515a76","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:45.920867382Z"}]},"request_id":"1f60b683-6571-4331-bbab-50a5367cf110","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.027033} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bf2559ce1a4013bb141249f27c515a76","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bf2559ce1a4013bb141249f27c515a76"} device-1 | {"level":"info","message":"GET /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8? 200 19ms","method":"GET","requestID":"bf2559ce1a4013bb141249f27c515a76","responseTime":19,"status":200,"url":"/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bf2559ce1a4013bb141249f27c515a76"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs","level":"info","message":"auth send jwt","requestID":"613ce38e1a88c5bc994a41f747aeec9c"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"613ce38e1a88c5bc994a41f747aeec9c","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"613ce38e1a88c5bc994a41f747aeec9c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":446,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":446,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.607993,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"613ce38e1a88c5bc994a41f747aeec9c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348408,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"613ce38e1a88c5bc994a41f747aeec9c","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:45.971930888Z"}]},"request_id":"17933e38-7b79-4ad0-9759-3b1146d0df95","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.0569215} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"613ce38e1a88c5bc994a41f747aeec9c","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"613ce38e1a88c5bc994a41f747aeec9c"} device-1 | {"level":"info","message":"GET /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f? 200 21ms","method":"GET","requestID":"613ce38e1a88c5bc994a41f747aeec9c","responseTime":21,"status":200,"url":"/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"613ce38e1a88c5bc994a41f747aeec9c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs","level":"info","message":"auth send jwt","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"c16cc816a11e75bf89e4d98653ae1a4a","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":447,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":447,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.416459,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"c16cc816a11e75bf89e4d98653ae1a4a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348408,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"c16cc816a11e75bf89e4d98653ae1a4a","responseTime":8,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Attempting to run experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Attempting to book experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Successfully booked experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f5f4ff40-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f5f57470-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":448,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":448,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.918155,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f5f4ff40-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348408,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f5f4ff40-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:43134","level":"info","msg":"Received request.","req_id":449,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"client_addr":"127.0.0.1:43134","level":"info","msg":"Sent response.","req_id":449,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.32102,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f5f57470-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348408,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f5f57470-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:45.920867382Z"}]},"request_id":"957b8390-7ce7-41e2-81ab-53b92109ddbf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.126437} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f5f4ff40-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:45.971930888Z"}]},"request_id":"0ac4d23c-ef78-407c-be1e-da0c49dee1e3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.1305027} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f5f4ff40-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f5f57470-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8? 200 16ms","method":"GET","requestID":"f5f4ff40-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f5f57470-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f? 200 18ms","method":"GET","requestID":"f5f57470-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Setting up experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Successfully locked booking for experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Attempting to update booking for experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Successfully updated booking for experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Successfully set up experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f60049e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f6009800-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f600bf10-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Successfully running experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":450,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":450,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.235467,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"client_addr":"127.0.0.1:43134","level":"info","msg":"Received request.","req_id":451,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f60049e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348408,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"f60049e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:43134","level":"info","msg":"Sent response.","req_id":451,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.582187,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f6009800-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348408,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"f6009800-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:43144","level":"info","msg":"Received request.","req_id":452,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"client_addr":"127.0.0.1:43144","level":"info","msg":"Sent response.","req_id":452,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.917012,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:45.920867382Z"}]},"request_id":"4e5f3f4d-e416-459b-9320-f66c0b47fcea","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.2111633} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a1ac88a7-8567-4fd2-8462-8b8fbe2a73bf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.2117093} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"f60049e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f600bf10-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 19ms","method":"POST","requestID":"f600bf10-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:45.971930888Z"}]},"request_id":"eeb8a9e6-c2a8-4573-83ec-905cdab58434","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.2135994} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"f6009800-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f600bf10-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8/signaling 200 31ms","method":"POST","requestID":"f600bf10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":31,"status":200,"url":"/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f60049e0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F091ab166-73cc-4d99-ad1f-2533d7b345ed#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F091ab166-73cc-4d99-ad1f-2533d7b345ed","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"a5097815-238e-46e1-8898-0abf2e73ea4e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.2248647} device-1 | {"level":"info","message":"GET /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8? 200 36ms","method":"GET","requestID":"f60049e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":36,"status":200,"url":"/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"947032ab-422c-47c2-8aef-02080f72bccb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.2255163} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f6009800-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f? 200 36ms","method":"GET","requestID":"f6009800-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":36,"status":200,"url":"/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"c16cc816a11e75bf89e4d98653ae1a4a","responseTime":26,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f6063d50-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f606b280-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":453,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a17b1ae4-6a41-4551-bf62-e9428c19e7eb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.2370806} authorization-1 | {"client_addr":"127.0.0.1:43134","level":"info","msg":"Received request.","req_id":454,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":453,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.499926,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f6063d50-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","object_type":"device","rebac_allow":false,"scope_allow":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":"f6063d50-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7b95332c-d868-4bcc-9e1c-f9d4b243bbf8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.2404206} authorization-1 | {"client_addr":"127.0.0.1:43134","level":"info","msg":"Sent response.","req_id":454,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.360317,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f606b280-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","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":"f6063d50-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/signaling 200 15ms","method":"POST","requestID":"f6063d50-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/signaling"} experiment-1 | {"level":"info","message":"POST /experiments? 201 172ms","method":"POST","requestID":"c16cc816a11e75bf89e4d98653ae1a4a","responseTime":172,"status":201,"url":"/experiments?"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"f606b280-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"30/Jul/2024:14:06:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1291","request_time":"0.179","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f606b280-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8/signaling 200 15ms","method":"POST","requestID":"f606b280-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs","level":"info","message":"auth send jwt","requestID":"9c98ba44d6c98d5de7e58760d7be03b1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9c98ba44d6c98d5de7e58760d7be03b1","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f60971a0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9c98ba44d6c98d5de7e58760d7be03b1"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":455,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"client_addr":"127.0.0.1:43134","level":"info","msg":"Received request.","req_id":456,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f0282eca-3383-41e2-908a-9df120d965b4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.256165} authorization-1 | {"client_addr":"127.0.0.1:43134","level":"info","msg":"Sent response.","req_id":456,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.187299,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":455,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.06421,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"9c98ba44d6c98d5de7e58760d7be03b1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348408,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9c98ba44d6c98d5de7e58760d7be03b1","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f60971a0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f60971a0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:45.920867382Z"}]},"request_id":"ef121bc6-51d2-4662-ad0d-db8571b820c3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.2623808} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f60971a0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/signaling 200 13ms","method":"POST","requestID":"f60971a0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9c98ba44d6c98d5de7e58760d7be03b1","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Building connection plan","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} 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":"e715f6f0-b194-47a3-aef6-da5e8e0163ee"},{"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":"a77186b0-73b2-4618-b249-adce19033fed"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"84173519-e7fd-4f9b-94c4-f1ed9dae6045"}]},"level":"info","message":"Built pairwise service configurations","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} 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/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8"},{"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/aabe96e2-0a43-4eeb-a911-071eaacace4f"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9c98ba44d6c98d5de7e58760d7be03b1"} gateway-1 | {"time_local":"30/Jul/2024:14:06:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8? 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":"9c98ba44d6c98d5de7e58760d7be03b1"} device-1 | {"level":"info","message":"GET /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8? 200 15ms","method":"GET","requestID":"9c98ba44d6c98d5de7e58760d7be03b1","responseTime":15,"status":200,"url":"/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"f60c30c0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":457,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs","level":"info","message":"auth send jwt","requestID":"7eb424de24a9cc3363cfd9236ecf5156"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":457,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":2.050442,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7eb424de24a9cc3363cfd9236ecf5156","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f60c30c0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348408,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7eb424de24a9cc3363cfd9236ecf5156"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f60c30c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":458,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":458,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.827579,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"7eb424de24a9cc3363cfd9236ecf5156","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348408,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQwOH0.TuYYSFrsrRj-3YOYRMpmpJvil6jP_NwqkoqY5m1SGDs"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7eb424de24a9cc3363cfd9236ecf5156","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"2e01b889-103a-4870-b8be-a98d00bed24c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.2847915} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a2df7e2c-1859-4583-9615-39ae4d5f8d38","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.285295} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:45.971930888Z"}]},"request_id":"fb7c1265-c1e7-4774-908f-80ce5e4f4d07","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.286338} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"f60c30c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7eb424de24a9cc3363cfd9236ecf5156","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7eb424de24a9cc3363cfd9236ecf5156"} gateway-1 | {"time_local":"30/Jul/2024:14:06:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f? 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":"7eb424de24a9cc3363cfd9236ecf5156"} device-1 | {"level":"info","message":"GET /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f? 200 19ms","method":"GET","requestID":"7eb424de24a9cc3363cfd9236ecf5156","responseTime":19,"status":200,"url":"/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"f60c30c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"f60c30c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e'","requestID":"f60c30c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e'","requestID":"f60c30c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"f60c30c0-4e7c-11ef-b6a3-8dff1d026ae9"} 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":"f60c30c0-4e7c-11ef-b6a3-8dff1d026ae9","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":"f60c30c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e","device":"aabe96e2-0a43-4eeb-a911-071eaacace4f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"c16cc816a11e75bf89e4d98653ae1a4a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f615cdb0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":459,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e5a81825-22f6-44f4-9b03-b2539471d338","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.3360536} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":459,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.165329,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f615cdb0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f615cdb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f615cdb0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8/signaling 200 9ms","method":"POST","requestID":"f615cdb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f6177b60-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":460,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"356a60e3-4c0a-4df7-878d-69fe58f2620d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348408.346068} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":460,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.391486,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f6177b60-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","object_type":"device","rebac_allow":false,"scope_allow":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":"f6177b60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f6177b60-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/signaling 200 8ms","method":"POST","requestID":"f6177b60-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/signaling"} device-1 | {"device":"aabe96e2-0a43-4eeb-a911-071eaacace4f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"aabe96e2-0a43-4eeb-a911-071eaacace4f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 6262840927102245910 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:nevf\r\na=ice-pwd:Dun/3H9rmtY3DQ+MCoNK2S1x\r\na=ice-options:trickle\r\na=fingerprint:sha-256 6B:ED:8F:D6:36:6C:13:8E:A0:C1:11:8C:05:2F:35:25:B7:EE:9C:A0:8D:A8:94:4D:C1:AA:97:8F:22:43:73:BA\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"aabe96e2-0a43-4eeb-a911-071eaacace4f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"device":"aabe96e2-0a43-4eeb-a911-071eaacace4f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","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":"413cd673-189c-4d32-b47f-784cc5e8171e","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","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":"dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","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":"dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","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":"dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","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/413cd673-189c-4d32-b47f-784cc5e8171e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"413cd673-189c-4d32-b47f-784cc5e8171e","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ec707090982c91d98e8ffb557783678e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ec707090982c91d98e8ffb557783678e","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/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8"},{"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/aabe96e2-0a43-4eeb-a911-071eaacace4f"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e"}}},"level":"info","message":"received a callback","requestID":"ec707090982c91d98e8ffb557783678e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"ec707090982c91d98e8ffb557783678e","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.010","http_referrer":"","http_user_agent":"node-fetch","requestID":"ec707090982c91d98e8ffb557783678e"} device-1 | {"content":{"candidate":"candidate:3361519993 1 udp 2113937151 e1b82dd4-8384-4e1c-a836-5b971dbc5f3b.local 60222 typ host generation 0 ufrag nevf network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"aabe96e2-0a43-4eeb-a911-071eaacace4f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3221549758 1 udp 1677729535 141.24.211.56 60222 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag nevf network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"aabe96e2-0a43-4eeb-a911-071eaacace4f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2116569420 1 udp 33562623 141.24.210.113 54553 typ relay raddr 141.24.211.56 rport 60222 generation 0 ufrag nevf network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"aabe96e2-0a43-4eeb-a911-071eaacace4f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"aabe96e2-0a43-4eeb-a911-071eaacace4f","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/aabe96e2-0a43-4eeb-a911-071eaacace4f'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f'"} device-1 | {"data":{"peerconnection":"413cd673-189c-4d32-b47f-784cc5e8171e","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","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":"aabe96e2-0a43-4eeb-a911-071eaacace4f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","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":"413cd673-189c-4d32-b47f-784cc5e8171e","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/413cd673-189c-4d32-b47f-784cc5e8171e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"413cd673-189c-4d32-b47f-784cc5e8171e","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d8cd63d33ccbc8d37f602216685f9fb8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d8cd63d33ccbc8d37f602216685f9fb8","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/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8"},{"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/aabe96e2-0a43-4eeb-a911-071eaacace4f"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e"}}},"level":"info","message":"received a callback","requestID":"d8cd63d33ccbc8d37f602216685f9fb8"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"f75a82b0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":461,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F413cd673-189c-4d32-b47f-784cc5e8171e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9794800b-5cbc-462b-b496-a05b5285c570","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.466646} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":461,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.957677,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f75a82b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e","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":"f75a82b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"f75a82b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e 200 14ms","method":"GET","requestID":"f75a82b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 47ms","method":"POST","requestID":"d8cd63d33ccbc8d37f602216685f9fb8","responseTime":47,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch","requestID":"d8cd63d33ccbc8d37f602216685f9fb8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f7609d30-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":462,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f2e936c5-a2c1-4ad3-be57-224a4ef3c9f8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.507953} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":462,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.922989,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f7609d30-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","object_type":"device","rebac_allow":false,"scope_allow":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":"f7609d30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f7609d30-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8/signaling 200 15ms","method":"POST","requestID":"f7609d30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f7638360-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":463,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b92e3121-d964-4534-b15a-0bc5e75923b3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.5262263} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":463,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.624024,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f7638360-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","object_type":"device","rebac_allow":false,"scope_allow":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":"f7638360-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f7638360-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/signaling 200 16ms","method":"POST","requestID":"f7638360-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMH0.1YGNTJWXtsyYIX2PmcmePgtuAlbYvTjKFgxg8gCGj2s","level":"info","message":"auth send jwt","requestID":"ebec71a8f15f9b88fa5561feda2983b8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ebec71a8f15f9b88fa5561feda2983b8","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed","requestID":"ebec71a8f15f9b88fa5561feda2983b8"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":464,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":464,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.224052,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ebec71a8f15f9b88fa5561feda2983b8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348410,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMH0.1YGNTJWXtsyYIX2PmcmePgtuAlbYvTjKFgxg8gCGj2s"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ebec71a8f15f9b88fa5561feda2983b8","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed","requestID":"ebec71a8f15f9b88fa5561feda2983b8"} experiment-1 | {"level":"info","message":"GET /experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed 200 16ms","method":"GET","requestID":"ebec71a8f15f9b88fa5561feda2983b8","responseTime":16,"status":200,"url":"/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"} gateway-1 | {"time_local":"30/Jul/2024:14:06:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed HTTP/1.1","status": "200","body_bytes_sent":"1364","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ebec71a8f15f9b88fa5561feda2983b8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMH0.1YGNTJWXtsyYIX2PmcmePgtuAlbYvTjKFgxg8gCGj2s","level":"info","message":"auth send jwt","requestID":"568b5882f5395ff83bc4b78e5e1c48e2"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"568b5882f5395ff83bc4b78e5e1c48e2","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed","requestID":"568b5882f5395ff83bc4b78e5e1c48e2"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":465,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":465,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.370734,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"568b5882f5395ff83bc4b78e5e1c48e2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348410,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMH0.1YGNTJWXtsyYIX2PmcmePgtuAlbYvTjKFgxg8gCGj2s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"568b5882f5395ff83bc4b78e5e1c48e2","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Attempting to finish experiment","requestID":"568b5882f5395ff83bc4b78e5e1c48e2"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"f76f4330-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":466,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":466,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.238502,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f76f4330-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348410,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMH0.1YGNTJWXtsyYIX2PmcmePgtuAlbYvTjKFgxg8gCGj2s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f76f4330-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e","device":"aabe96e2-0a43-4eeb-a911-071eaacace4f","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","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":"dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","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":"dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","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/413cd673-189c-4d32-b47f-784cc5e8171e' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"413cd673-189c-4d32-b47f-784cc5e8171e","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F413cd673-189c-4d32-b47f-784cc5e8171e': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F413cd673-189c-4d32-b47f-784cc5e8171e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"b2d757ec-ece1-4872-b19a-c994d954e26b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.6247754} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8ce8555e816d6638dd8e25194ffcd9d4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bba16160-6753-4f20-b0df-1e609afc25de","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.6252563} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"8ce8555e816d6638dd8e25194ffcd9d4","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8"},{"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/aabe96e2-0a43-4eeb-a911-071eaacace4f"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e"}}},"level":"info","message":"received a callback","requestID":"8ce8555e816d6638dd8e25194ffcd9d4"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"54a4782436e5d0edf8ebfe2786ecd543","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"54a4782436e5d0edf8ebfe2786ecd543","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"f76f4330-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8"},{"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/aabe96e2-0a43-4eeb-a911-071eaacace4f"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e"}}},"level":"info","message":"received a callback","requestID":"54a4782436e5d0edf8ebfe2786ecd543"} device-1 | {"data":{"peerconnection":"413cd673-189c-4d32-b47f-784cc5e8171e","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"f76f4330-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e 204 54ms","method":"DELETE","requestID":"f76f4330-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":54,"status":204,"url":"/peerconnections/413cd673-189c-4d32-b47f-784cc5e8171e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"},"level":"info","message":"Successfully finished experiment","requestID":"568b5882f5395ff83bc4b78e5e1c48e2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f77b2a10-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":467,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"071b9354-91b9-428f-85fd-d35a327f3f42","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.6808577} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":467,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.760229,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f77b2a10-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8","object_type":"device","rebac_allow":false,"scope_allow":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":"f77b2a10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f77b2a10-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8/signaling 200 15ms","method":"POST","requestID":"f77b2a10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F091ab166-73cc-4d99-ad1f-2533d7b345ed': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F091ab166-73cc-4d99-ad1f-2533d7b345ed","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"7ad6755b-a9cd-4e18-a079-8cccae075fc7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.6882653} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"53216496-7433-42b4-badb-3fc515fb7f1f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.6886284} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"568b5882f5395ff83bc4b78e5e1c48e2","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f77de930-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":468,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Faabe96e2-0a43-4eeb-a911-071eaacace4f","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3f527f6c-1330-47bf-854b-7ca687a26494","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.6976218} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":468,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.590883,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f77de930-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f77de930-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f77de930-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/signaling 200 13ms","method":"POST","requestID":"f77de930-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed","requestID":"568b5882f5395ff83bc4b78e5e1c48e2"} gateway-1 | {"time_local":"30/Jul/2024:14:06:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.185","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"568b5882f5395ff83bc4b78e5e1c48e2"} experiment-1 | {"level":"info","message":"DELETE /experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed 204 179ms","method":"DELETE","requestID":"568b5882f5395ff83bc4b78e5e1c48e2","responseTime":179,"status":204,"url":"/experiments/091ab166-73cc-4d99-ad1f-2533d7b345ed"} gateway-1 | {"time_local":"30/Jul/2024:14:06:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3232","request_time":"4.235","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"9da7bcc2c04b2ab123a6543458bd30ec"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 132ms","method":"POST","requestID":"8ce8555e816d6638dd8e25194ffcd9d4","responseTime":132,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.139","http_referrer":"","http_user_agent":"node-fetch","requestID":"8ce8555e816d6638dd8e25194ffcd9d4"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 132ms","method":"POST","requestID":"54a4782436e5d0edf8ebfe2786ecd543","responseTime":132,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.140","http_referrer":"","http_user_agent":"node-fetch","requestID":"54a4782436e5d0edf8ebfe2786ecd543"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMH0.1YGNTJWXtsyYIX2PmcmePgtuAlbYvTjKFgxg8gCGj2s","level":"info","message":"auth send jwt","requestID":"cc2e84a910506a486d2af9e90379fbcb"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"cc2e84a910506a486d2af9e90379fbcb","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"cc2e84a910506a486d2af9e90379fbcb"} gateway-1 | {"time_local":"30/Jul/2024:14:06:50 +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.778","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"412b51767b31985b81f620f5d618eae0"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":469,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":469,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.034588,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"cc2e84a910506a486d2af9e90379fbcb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348410,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMH0.1YGNTJWXtsyYIX2PmcmePgtuAlbYvTjKFgxg8gCGj2s"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"cc2e84a910506a486d2af9e90379fbcb","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/dfe05a8f-3608-47ee-b7a1-ce2bd3a93ea8' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"add7acc2-fabc-4609-a1a2-b2e78dd875f1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.7884195} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"cc2e84a910506a486d2af9e90379fbcb","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/aabe96e2-0a43-4eeb-a911-071eaacace4f' 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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8e9fa6c5-aa34-482b-afba-c9a616c49415","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.795536} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"cc2e84a910506a486d2af9e90379fbcb","responseTime":7,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"7e50eae6-7edb-4223-8ceb-60cd10972995","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.8060665} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"86b2fdba-e940-463c-9a4e-96f93d19b805","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.8062751} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"cc2e84a910506a486d2af9e90379fbcb","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:50.806040386Z"}]},"request_id":"7ba9b1e6-455b-45d6-bf71-e2a926e6e4ae","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.811697} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"cc2e84a910506a486d2af9e90379fbcb","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"cc2e84a910506a486d2af9e90379fbcb"} gateway-1 | {"time_local":"30/Jul/2024:14:06:50 +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":"cc2e84a910506a486d2af9e90379fbcb"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"cc2e84a910506a486d2af9e90379fbcb","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMH0.1YGNTJWXtsyYIX2PmcmePgtuAlbYvTjKFgxg8gCGj2s","level":"info","message":"auth send jwt","requestID":"8f162eca3689eb2c84bd2384fd0a5529"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8f162eca3689eb2c84bd2384fd0a5529","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"8f162eca3689eb2c84bd2384fd0a5529"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":470,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":470,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.929059,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:50Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8f162eca3689eb2c84bd2384fd0a5529","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348410,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMH0.1YGNTJWXtsyYIX2PmcmePgtuAlbYvTjKFgxg8gCGj2s"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8f162eca3689eb2c84bd2384fd0a5529","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"75a86153-6553-47df-a99b-840435a164e0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.8427756} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8f162eca3689eb2c84bd2384fd0a5529","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"649c90d4-6679-4cce-bbb0-105e2443581d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.8481627} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"8f162eca3689eb2c84bd2384fd0a5529","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"6a980d62-48e1-4095-b893-3a6381d3d4fc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.8598466} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e5e80cc5-a8b9-44eb-a33e-afa03e68a33a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.8600605} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"8f162eca3689eb2c84bd2384fd0a5529","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:50.859818649Z"}]},"request_id":"5d0c3c9e-8954-4762-8792-0eae03ad8509","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348410.8649166} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"8f162eca3689eb2c84bd2384fd0a5529","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"8f162eca3689eb2c84bd2384fd0a5529"} gateway-1 | {"time_local":"30/Jul/2024:14:06:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8f162eca3689eb2c84bd2384fd0a5529"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"8f162eca3689eb2c84bd2384fd0a5529","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMX0.-EOetHSWLQqQ7R1wCmsEbwiiMA8GgJ9V0HhPUrgX-g8","level":"info","message":"auth send jwt","requestID":"c48ac727665b2bb0c173aa02404e3275"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c48ac727665b2bb0c173aa02404e3275","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"c48ac727665b2bb0c173aa02404e3275"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":471,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:51Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":471,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.824714,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:51Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"c48ac727665b2bb0c173aa02404e3275","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348411,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMX0.-EOetHSWLQqQ7R1wCmsEbwiiMA8GgJ9V0HhPUrgX-g8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c48ac727665b2bb0c173aa02404e3275","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:50.806040386Z"}]},"request_id":"617cb198-e816-4102-8d74-91ab8511266e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348411.3607185} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c48ac727665b2bb0c173aa02404e3275","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8a889f96-c074-46bf-ab5b-c97baad8d3dc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348411.36639} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c48ac727665b2bb0c173aa02404e3275","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:50.806040386Z"}]},"request_id":"91971fa5-710c-4efa-8dc9-126e82a3d4aa","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348411.378908} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c48ac727665b2bb0c173aa02404e3275","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"c48ac727665b2bb0c173aa02404e3275"} device-1 | {"level":"info","message":"PATCH /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7 200 33ms","method":"PATCH","requestID":"c48ac727665b2bb0c173aa02404e3275","responseTime":33,"status":200,"url":"/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7"} gateway-1 | {"time_local":"30/Jul/2024:14:06:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"c48ac727665b2bb0c173aa02404e3275"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMX0.-EOetHSWLQqQ7R1wCmsEbwiiMA8GgJ9V0HhPUrgX-g8","level":"info","message":"auth send jwt","requestID":"b94afb20f6ee80c2515dfee183fe647b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b94afb20f6ee80c2515dfee183fe647b","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"b94afb20f6ee80c2515dfee183fe647b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":472,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:51Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":472,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.654336,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:51Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"b94afb20f6ee80c2515dfee183fe647b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348411,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMX0.-EOetHSWLQqQ7R1wCmsEbwiiMA8GgJ9V0HhPUrgX-g8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b94afb20f6ee80c2515dfee183fe647b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"b94afb20f6ee80c2515dfee183fe647b"} gateway-1 | {"time_local":"30/Jul/2024:14:06:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"b94afb20f6ee80c2515dfee183fe647b"} device-1 | {"level":"info","message":"POST /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7/websocket 200 20ms","method":"POST","requestID":"b94afb20f6ee80c2515dfee183fe647b","responseTime":20,"status":200,"url":"/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8a8b33e298dbb2881df3b8aa7264f586","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"8a8b33e298dbb2881df3b8aa7264f586","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:06:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/2165d246-7293-45dd-8be2-b0b85c2119cb/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":"8a8b33e298dbb2881df3b8aa7264f586"} device-1 | {"level":"info","message":"OPTIONS /devices/2165d246-7293-45dd-8be2-b0b85c2119cb/websocket 200 1ms","method":"OPTIONS","requestID":"8a8b33e298dbb2881df3b8aa7264f586","responseTime":1,"status":200,"url":"/devices/2165d246-7293-45dd-8be2-b0b85c2119cb/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMn0.vfeCU6nGHzXsUGEbwI8o_uR5RmZtk7-eeI2kV1Y75o8","level":"info","message":"auth send jwt","requestID":"6df9e9d9424eb58f7755773611ef5f93"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"6df9e9d9424eb58f7755773611ef5f93","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"6df9e9d9424eb58f7755773611ef5f93"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":473,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":473,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.433013,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6df9e9d9424eb58f7755773611ef5f93","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348412,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMn0.vfeCU6nGHzXsUGEbwI8o_uR5RmZtk7-eeI2kV1Y75o8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6df9e9d9424eb58f7755773611ef5f93","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"6df9e9d9424eb58f7755773611ef5f93"} device-1 | {"level":"info","message":"POST /devices/2165d246-7293-45dd-8be2-b0b85c2119cb/websocket 200 22ms","method":"POST","requestID":"6df9e9d9424eb58f7755773611ef5f93","responseTime":22,"status":200,"url":"/devices/2165d246-7293-45dd-8be2-b0b85c2119cb/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:06:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/2165d246-7293-45dd-8be2-b0b85c2119cb/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":"6df9e9d9424eb58f7755773611ef5f93"} device-1 | {"level":"info","message":"device 'http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMn0.vfeCU6nGHzXsUGEbwI8o_uR5RmZtk7-eeI2kV1Y75o8","level":"info","message":"auth send jwt","requestID":"f5c2edfa2ebc423cb1b4705ece75dae4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f5c2edfa2ebc423cb1b4705ece75dae4","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f5c2edfa2ebc423cb1b4705ece75dae4"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":474,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":474,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.245611,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f5c2edfa2ebc423cb1b4705ece75dae4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348412,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMn0.vfeCU6nGHzXsUGEbwI8o_uR5RmZtk7-eeI2kV1Y75o8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"f5c2edfa2ebc423cb1b4705ece75dae4","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:50.806040386Z"}]},"request_id":"ced0aa51-d622-4f4b-84ff-1dbfcddd1054","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348412.9034107} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"f5c2edfa2ebc423cb1b4705ece75dae4","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f5c2edfa2ebc423cb1b4705ece75dae4"} device-1 | {"level":"info","message":"GET /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7? 200 23ms","method":"GET","requestID":"f5c2edfa2ebc423cb1b4705ece75dae4","responseTime":23,"status":200,"url":"/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7? 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":"f5c2edfa2ebc423cb1b4705ece75dae4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMn0.vfeCU6nGHzXsUGEbwI8o_uR5RmZtk7-eeI2kV1Y75o8","level":"info","message":"auth send jwt","requestID":"7152e3052f7d769c04d32f2d0a7d155b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"7152e3052f7d769c04d32f2d0a7d155b","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7152e3052f7d769c04d32f2d0a7d155b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":475,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":475,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.844895,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"7152e3052f7d769c04d32f2d0a7d155b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348412,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMn0.vfeCU6nGHzXsUGEbwI8o_uR5RmZtk7-eeI2kV1Y75o8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7152e3052f7d769c04d32f2d0a7d155b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:50.859818649Z"}]},"request_id":"b144e952-4b76-400a-982e-b566724ff233","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348412.934897} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7152e3052f7d769c04d32f2d0a7d155b","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7152e3052f7d769c04d32f2d0a7d155b"} gateway-1 | {"time_local":"30/Jul/2024:14:06:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2165d246-7293-45dd-8be2-b0b85c2119cb? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7152e3052f7d769c04d32f2d0a7d155b"} device-1 | {"level":"info","message":"GET /devices/2165d246-7293-45dd-8be2-b0b85c2119cb? 200 21ms","method":"GET","requestID":"7152e3052f7d769c04d32f2d0a7d155b","responseTime":21,"status":200,"url":"/devices/2165d246-7293-45dd-8be2-b0b85c2119cb?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMn0.vfeCU6nGHzXsUGEbwI8o_uR5RmZtk7-eeI2kV1Y75o8","level":"info","message":"auth send jwt","requestID":"ac8bf015fb733226dd2066092be1651a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ac8bf015fb733226dd2066092be1651a","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"ac8bf015fb733226dd2066092be1651a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":476,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":476,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.25105,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ac8bf015fb733226dd2066092be1651a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348412,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMn0.vfeCU6nGHzXsUGEbwI8o_uR5RmZtk7-eeI2kV1Y75o8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ac8bf015fb733226dd2066092be1651a","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Attempting to run experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Attempting to book experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Successfully booked experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f8dc67c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f8dcb5e0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":477,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":477,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.939374,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f8dc67c0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348412,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMn0.vfeCU6nGHzXsUGEbwI8o_uR5RmZtk7-eeI2kV1Y75o8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"f8dc67c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Received request.","req_id":478,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:52Z"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Sent response.","req_id":478,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.423224,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:52Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f8dcb5e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348412,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMn0.vfeCU6nGHzXsUGEbwI8o_uR5RmZtk7-eeI2kV1Y75o8"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"f8dcb5e0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:50.806040386Z"}]},"request_id":"8ba3da37-3894-4966-9796-5321b12c020c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.0019238} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"f8dc67c0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:50.859818649Z"}]},"request_id":"b4d7a8f3-0db0-483b-80c7-557925c47abe","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.0073717} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f8dc67c0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7? 200 21ms","method":"GET","requestID":"f8dc67c0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":21,"status":200,"url":"/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f8dcb5e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f8dcb5e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/2165d246-7293-45dd-8be2-b0b85c2119cb? 200 23ms","method":"GET","requestID":"f8dcb5e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":23,"status":200,"url":"/devices/2165d246-7293-45dd-8be2-b0b85c2119cb?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Setting up experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Successfully locked booking for experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Attempting to update booking for experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Successfully updated booking for experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Successfully set up experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f8e98720-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f8e9fc50-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Successfully running experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f8ea4a70-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":479,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":479,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.294601,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Received request.","req_id":480,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f8e98720-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348412,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMn0.vfeCU6nGHzXsUGEbwI8o_uR5RmZtk7-eeI2kV1Y75o8"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f8e98720-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Sent response.","req_id":480,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.035461,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f8e9fc50-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348412,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMn0.vfeCU6nGHzXsUGEbwI8o_uR5RmZtk7-eeI2kV1Y75o8"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"f8e9fc50-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48116","level":"info","msg":"Received request.","req_id":481,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"client_addr":"127.0.0.1:48116","level":"info","msg":"Sent response.","req_id":481,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.866572,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:50.859818649Z"}]},"request_id":"764f3d52-86e0-4077-b6f1-82e19eec5dfc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.0935647} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3325e572-46f6-4842-8599-2c9b6b94b432","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.0935962} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"f8e9fc50-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f8ea4a70-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","object_type":"device","rebac_allow":false,"scope_allow":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":"f8ea4a70-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:50.806040386Z"}]},"request_id":"6e8e0a82-aa27-42f2-9e99-beaf418d609c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.0955367} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"f8e98720-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9cfb93ec-4af2-444c-9ae8-533ace35a5f0#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9cfb93ec-4af2-444c-9ae8-533ace35a5f0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"e11e4a8e-acb4-4c70-891c-f2e429d1bbc8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.1035001} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f8e9fc50-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/2165d246-7293-45dd-8be2-b0b85c2119cb? 200 28ms","method":"GET","requestID":"f8e9fc50-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":28,"status":200,"url":"/devices/2165d246-7293-45dd-8be2-b0b85c2119cb?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"169b55c3-af55-4b28-8431-a62ce09a6453","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.1039052} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f8ea4a70-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"ac8bf015fb733226dd2066092be1651a","responseTime":24,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"POST /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7/signaling 200 27ms","method":"POST","requestID":"f8ea4a70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":27,"status":200,"url":"/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f8e98720-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7? 200 34ms","method":"GET","requestID":"f8e98720-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":34,"status":200,"url":"/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f8ef7a90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f8efc8b0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":482,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Received request.","req_id":483,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:53Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"ac8bf015fb733226dd2066092be1651a"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bfe36635-752f-4c20-be8f-a4eaa34ddd29","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.1206894} gateway-1 | {"time_local":"30/Jul/2024:14:06:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1291","request_time":"0.177","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ac8bf015fb733226dd2066092be1651a"} experiment-1 | {"level":"info","message":"POST /experiments? 201 172ms","method":"POST","requestID":"ac8bf015fb733226dd2066092be1651a","responseTime":172,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":482,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.297173,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f8ef7a90-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","object_type":"device","rebac_allow":false,"scope_allow":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":"f8ef7a90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Sent response.","req_id":483,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.227466,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fbf4e781-3353-458f-a629-b12e0fcc09b0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.1218085} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f8efc8b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","object_type":"device","rebac_allow":false,"scope_allow":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":"f8efc8b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxM30.vmJvkOaUy-xRcwa1S9iM9trq6aH-aQrAYr2bib7T0JI","level":"info","message":"auth send jwt","requestID":"ff0f139ad1ad7956271b6ccde1ce4f1d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ff0f139ad1ad7956271b6ccde1ce4f1d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f8ef7a90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/2165d246-7293-45dd-8be2-b0b85c2119cb/signaling 200 16ms","method":"POST","requestID":"f8ef7a90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/2165d246-7293-45dd-8be2-b0b85c2119cb/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ff0f139ad1ad7956271b6ccde1ce4f1d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f8efc8b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7/signaling 200 17ms","method":"POST","requestID":"f8efc8b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":484,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:53Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f8f2aee0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":484,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.016378,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ff0f139ad1ad7956271b6ccde1ce4f1d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348413,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxM30.vmJvkOaUy-xRcwa1S9iM9trq6aH-aQrAYr2bib7T0JI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ff0f139ad1ad7956271b6ccde1ce4f1d","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":485,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"16486ac5-6d97-406e-92b6-5c2394087d84","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.1416924} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:50.806040386Z"}]},"request_id":"587d328f-2921-4f63-8b78-af35154bf20f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.142471} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ff0f139ad1ad7956271b6ccde1ce4f1d","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":485,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.101522,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f8f2aee0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"f8f2aee0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ff0f139ad1ad7956271b6ccde1ce4f1d"} gateway-1 | {"time_local":"30/Jul/2024:14:06:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ff0f139ad1ad7956271b6ccde1ce4f1d"} device-1 | {"level":"info","message":"GET /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7? 200 19ms","method":"GET","requestID":"ff0f139ad1ad7956271b6ccde1ce4f1d","responseTime":19,"status":200,"url":"/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f8f2aee0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/2165d246-7293-45dd-8be2-b0b85c2119cb/signaling 200 15ms","method":"POST","requestID":"f8f2aee0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/2165d246-7293-45dd-8be2-b0b85c2119cb/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Building connection plan","requestID":"ac8bf015fb733226dd2066092be1651a"} 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":"c974cdbe-655f-4bdf-be74-b509bd68ae16"},{"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":"fa79dc50-1143-4c19-a064-dbcb10851971"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"cf393b51-2863-4b1a-8009-d872b52852ea"}]},"level":"info","message":"Built pairwise service configurations","requestID":"ac8bf015fb733226dd2066092be1651a"} 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/2165d246-7293-45dd-8be2-b0b85c2119cb"},{"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/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"ac8bf015fb733226dd2066092be1651a"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"f8f59510-4e7c-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxM30.vmJvkOaUy-xRcwa1S9iM9trq6aH-aQrAYr2bib7T0JI","level":"info","message":"auth send jwt","requestID":"1f704658fcc136d62ed5c3cf680168df"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1f704658fcc136d62ed5c3cf680168df","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1f704658fcc136d62ed5c3cf680168df"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":486,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":486,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.127971,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f8f59510-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348412,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxMn0.vfeCU6nGHzXsUGEbwI8o_uR5RmZtk7-eeI2kV1Y75o8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f8f59510-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Received request.","req_id":487,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Sent response.","req_id":487,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.992435,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"1f704658fcc136d62ed5c3cf680168df","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348413,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxM30.vmJvkOaUy-xRcwa1S9iM9trq6aH-aQrAYr2bib7T0JI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1f704658fcc136d62ed5c3cf680168df","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:50.859818649Z"}]},"request_id":"d2c8948b-d5e8-4991-9f70-a7ffcdb95345","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.1642256} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1f704658fcc136d62ed5c3cf680168df","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1f704658fcc136d62ed5c3cf680168df"} gateway-1 | {"time_local":"30/Jul/2024:14:06:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2165d246-7293-45dd-8be2-b0b85c2119cb? 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":"1f704658fcc136d62ed5c3cf680168df"} device-1 | {"level":"info","message":"GET /devices/2165d246-7293-45dd-8be2-b0b85c2119cb? 200 13ms","method":"GET","requestID":"1f704658fcc136d62ed5c3cf680168df","responseTime":13,"status":200,"url":"/devices/2165d246-7293-45dd-8be2-b0b85c2119cb?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"48bd97d2-5454-4157-b7e7-6e1050752d89","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.1687613} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bd5bbf54-eaae-40fa-973b-68d071f2f95e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.1691275} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"f8f59510-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"f8f59510-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"f8f59510-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295'","requestID":"f8f59510-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295'","requestID":"f8f59510-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"f8f59510-4e7c-11ef-b6a3-8dff1d026ae9"} 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":"f8f59510-4e7c-11ef-b6a3-8dff1d026ae9","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":"f8f59510-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295","device":"2165d246-7293-45dd-8be2-b0b85c2119cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"ac8bf015fb733226dd2066092be1651a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f8fdd270-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":488,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3b8aef64-12f1-4970-9178-4503a39936a2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.2111695} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":488,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":1.97092,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f8fdd270-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","object_type":"device","rebac_allow":false,"scope_allow":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":"f8fdd270-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f8fdd270-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7/signaling 200 8ms","method":"POST","requestID":"f8fdd270-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"f8ff5910-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":489,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:53Z"} device-1 | {"device":"2165d246-7293-45dd-8be2-b0b85c2119cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"2165d246-7293-45dd-8be2-b0b85c2119cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"abf3ab42-3217-4cc8-b2d0-deb0a28cd3eb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348413.2228217} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":489,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.618784,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f8ff5910-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f8ff5910-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"f8ff5910-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/2165d246-7293-45dd-8be2-b0b85c2119cb/signaling 200 8ms","method":"POST","requestID":"f8ff5910-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/2165d246-7293-45dd-8be2-b0b85c2119cb/signaling"} device-1 | {"device":"f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","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":"b4beec21-8819-4cdc-b603-8627420d8295","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 340016265591752608 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:93sL\r\na=ice-pwd:sTbyDe76OraDAYtBh301QnP9\r\na=ice-options:trickle\r\na=fingerprint:sha-256 FD:F0:70:0F:D8:1A:CC:7A:F2:06:F3:8F:8B:AA:CA:64:D9:7B:B6:01:95:AB:E2:C0:46:17:8F:15:00:E0:B5:76\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"2165d246-7293-45dd-8be2-b0b85c2119cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3846935080 1 udp 2113937151 3b2e0d6a-3d9e-460b-9541-d63c06e2b5a3.local 42620 typ host generation 0 ufrag 93sL network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"2165d246-7293-45dd-8be2-b0b85c2119cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"2165d246-7293-45dd-8be2-b0b85c2119cb","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/b4beec21-8819-4cdc-b603-8627420d8295' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b4beec21-8819-4cdc-b603-8627420d8295","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","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":"f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","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":"f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","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":"92a3463604f4af9246c67a720d8290db","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"92a3463604f4af9246c67a720d8290db","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb"},{"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/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295"}}},"level":"info","message":"received a callback","requestID":"92a3463604f4af9246c67a720d8290db"} device-1 | {"content":{"candidate":"candidate:3977501167 1 udp 1677729535 141.24.211.56 42620 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 93sL network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"2165d246-7293-45dd-8be2-b0b85c2119cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"2165d246-7293-45dd-8be2-b0b85c2119cb","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/2165d246-7293-45dd-8be2-b0b85c2119cb'"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"92a3463604f4af9246c67a720d8290db","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"92a3463604f4af9246c67a720d8290db"} device-1 | {"data":{"peerconnection":"b4beec21-8819-4cdc-b603-8627420d8295","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","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":"2165d246-7293-45dd-8be2-b0b85c2119cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","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":"b4beec21-8819-4cdc-b603-8627420d8295","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"2165d246-7293-45dd-8be2-b0b85c2119cb","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/b4beec21-8819-4cdc-b603-8627420d8295' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b4beec21-8819-4cdc-b603-8627420d8295","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"79e3133677ebd44fc9d8ee5eabe7402e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"79e3133677ebd44fc9d8ee5eabe7402e","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb"},{"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/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295"}}},"level":"info","message":"received a callback","requestID":"79e3133677ebd44fc9d8ee5eabe7402e"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"fa4805b0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":490,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb4beec21-8819-4cdc-b603-8627420d8295","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7207f3e4-bc09-4d8b-948f-0a5ef7160db2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.378295} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":490,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.955313,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fa4805b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295","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":"fa4805b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"fa4805b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/b4beec21-8819-4cdc-b603-8627420d8295 200 13ms","method":"GET","requestID":"fa4805b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 45ms","method":"POST","requestID":"79e3133677ebd44fc9d8ee5eabe7402e","responseTime":45,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.050","http_referrer":"","http_user_agent":"node-fetch","requestID":"79e3133677ebd44fc9d8ee5eabe7402e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fa4dab00-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":491,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fabb59ab-71b1-4d22-9030-8265237dc7ec","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.417112} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":491,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.597284,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fa4dab00-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","object_type":"device","rebac_allow":false,"scope_allow":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":"fa4dab00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fa4dab00-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/2165d246-7293-45dd-8be2-b0b85c2119cb/signaling 200 15ms","method":"POST","requestID":"fa4dab00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/2165d246-7293-45dd-8be2-b0b85c2119cb/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fa506a20-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":492,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c6e7cef4-e01a-4d39-b9e8-d7a4873a31d6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.4330146} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":492,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.804801,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fa506a20-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","object_type":"device","rebac_allow":false,"scope_allow":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":"fa506a20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fa506a20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7/signaling 200 14ms","method":"POST","requestID":"fa506a20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNX0.7TeWCpQJKNF2JvdsxcCW9MkQRq51zq7EIIHN4oDU-D0","level":"info","message":"auth send jwt","requestID":"339c60525075859868928c49d1b60185"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"339c60525075859868928c49d1b60185","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0","requestID":"339c60525075859868928c49d1b60185"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":493,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":493,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.233873,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"339c60525075859868928c49d1b60185","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348415,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNX0.7TeWCpQJKNF2JvdsxcCW9MkQRq51zq7EIIHN4oDU-D0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"339c60525075859868928c49d1b60185","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0","requestID":"339c60525075859868928c49d1b60185"} gateway-1 | {"time_local":"30/Jul/2024:14:06:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0 HTTP/1.1","status": "200","body_bytes_sent":"1364","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"339c60525075859868928c49d1b60185"} experiment-1 | {"level":"info","message":"GET /experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0 200 16ms","method":"GET","requestID":"339c60525075859868928c49d1b60185","responseTime":16,"status":200,"url":"/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNX0.7TeWCpQJKNF2JvdsxcCW9MkQRq51zq7EIIHN4oDU-D0","level":"info","message":"auth send jwt","requestID":"2327d6f531239fbdc616eefeaa5ef086"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2327d6f531239fbdc616eefeaa5ef086","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0","requestID":"2327d6f531239fbdc616eefeaa5ef086"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":494,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":494,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.169908,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"2327d6f531239fbdc616eefeaa5ef086","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348415,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNX0.7TeWCpQJKNF2JvdsxcCW9MkQRq51zq7EIIHN4oDU-D0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2327d6f531239fbdc616eefeaa5ef086","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Attempting to finish experiment","requestID":"2327d6f531239fbdc616eefeaa5ef086"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"fa5c7810-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":495,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":495,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.196141,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fa5c7810-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348415,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNX0.7TeWCpQJKNF2JvdsxcCW9MkQRq51zq7EIIHN4oDU-D0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"fa5c7810-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295","device":"2165d246-7293-45dd-8be2-b0b85c2119cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","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":"f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","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":"f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","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/b4beec21-8819-4cdc-b603-8627420d8295' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b4beec21-8819-4cdc-b603-8627420d8295","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb4beec21-8819-4cdc-b603-8627420d8295': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb4beec21-8819-4cdc-b603-8627420d8295","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"7bc1a94d-6f87-4bfd-904b-c7ab58aaeae5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.5330033} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"582df77d76c02103d21fb1b2057c6a81","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"582df77d76c02103d21fb1b2057c6a81","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"34d0d35c-3d21-4b09-96d4-e16863e75982","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.534443} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e6e0c6dd0201b20c4e1abe4015b4dc21","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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 15ms","method":"POST","requestID":"fa5c7810-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e6e0c6dd0201b20c4e1abe4015b4dc21","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb"},{"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/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295"}}},"level":"info","message":"received a callback","requestID":"582df77d76c02103d21fb1b2057c6a81"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb"},{"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/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295"}}},"level":"info","message":"received a callback","requestID":"e6e0c6dd0201b20c4e1abe4015b4dc21"} device-1 | {"data":{"peerconnection":"b4beec21-8819-4cdc-b603-8627420d8295","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"fa5c7810-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/b4beec21-8819-4cdc-b603-8627420d8295 204 53ms","method":"DELETE","requestID":"fa5c7810-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":53,"status":204,"url":"/peerconnections/b4beec21-8819-4cdc-b603-8627420d8295"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"},"level":"info","message":"Successfully finished experiment","requestID":"2327d6f531239fbdc616eefeaa5ef086"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fa6837e0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":496,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2165d246-7293-45dd-8be2-b0b85c2119cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3c83a975-b4ad-4169-9f85-0f07ba60b64a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.5896645} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":496,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.992163,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fa6837e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2165d246-7293-45dd-8be2-b0b85c2119cb","object_type":"device","rebac_allow":false,"scope_allow":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":"fa6837e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9cfb93ec-4af2-444c-9ae8-533ace35a5f0': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9cfb93ec-4af2-444c-9ae8-533ace35a5f0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"c4dc0786-3337-48af-b678-8eef3e1063f7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.5971613} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fa6837e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/2165d246-7293-45dd-8be2-b0b85c2119cb/signaling 200 15ms","method":"POST","requestID":"fa6837e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/2165d246-7293-45dd-8be2-b0b85c2119cb/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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1e80475b-b5b6-48ef-9a07-9986d5a97a24","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.5976057} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"2327d6f531239fbdc616eefeaa5ef086","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fa6b1e10-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":497,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff9c927f7-5dd5-4e47-a880-d0ff00f78dc7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4f49428d-1971-4db3-92c1-6aed42c5ad38","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.6097777} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":497,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.742571,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fa6b1e10-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7","object_type":"device","rebac_allow":false,"scope_allow":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":"fa6b1e10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fa6b1e10-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7/signaling 200 16ms","method":"POST","requestID":"fa6b1e10-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0","requestID":"2327d6f531239fbdc616eefeaa5ef086"} gateway-1 | {"time_local":"30/Jul/2024:14:06:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.190","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2327d6f531239fbdc616eefeaa5ef086"} gateway-1 | {"time_local":"30/Jul/2024:14:06:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2838","request_time":"4.262","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"21ecf51d6068294fa70010e03bb3c49d"} experiment-1 | {"level":"info","message":"DELETE /experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0 204 185ms","method":"DELETE","requestID":"2327d6f531239fbdc616eefeaa5ef086","responseTime":185,"status":204,"url":"/experiments/9cfb93ec-4af2-444c-9ae8-533ace35a5f0"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 135ms","method":"POST","requestID":"582df77d76c02103d21fb1b2057c6a81","responseTime":135,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.144","http_referrer":"","http_user_agent":"node-fetch","requestID":"582df77d76c02103d21fb1b2057c6a81"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"e6e0c6dd0201b20c4e1abe4015b4dc21","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06: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.146","http_referrer":"","http_user_agent":"node-fetch","requestID":"e6e0c6dd0201b20c4e1abe4015b4dc21"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNX0.7TeWCpQJKNF2JvdsxcCW9MkQRq51zq7EIIHN4oDU-D0","level":"info","message":"auth send jwt","requestID":"8ee824ac2d4cf6c3ba182a65fe8f1854"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8ee824ac2d4cf6c3ba182a65fe8f1854","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"8ee824ac2d4cf6c3ba182a65fe8f1854"} gateway-1 | {"time_local":"30/Jul/2024:14:06:55 +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.814","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2c8cc015758a545a1f729d0e3d407d2f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":498,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":498,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.871927,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8ee824ac2d4cf6c3ba182a65fe8f1854","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348415,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNX0.7TeWCpQJKNF2JvdsxcCW9MkQRq51zq7EIIHN4oDU-D0"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/f9c927f7-5dd5-4e47-a880-d0ff00f78dc7' closed"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8ee824ac2d4cf6c3ba182a65fe8f1854","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/2165d246-7293-45dd-8be2-b0b85c2119cb' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"48d1cfa5-0372-4265-a775-bcb9e9f285e5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.7004614} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8ee824ac2d4cf6c3ba182a65fe8f1854","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d345e0d7-aacb-49dc-bb90-a0c334d8fa46","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.706263} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"8ee824ac2d4cf6c3ba182a65fe8f1854","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"6df60ed4-21e4-4359-a4d1-1d4ec0e46d01","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.715919} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9366959b-5823-49e0-8a32-49322d74f031","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.7166183} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"8ee824ac2d4cf6c3ba182a65fe8f1854","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.715889467Z"}]},"request_id":"bbf1edcd-4064-4fbb-9941-03448468b6ec","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.7235878} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8ee824ac2d4cf6c3ba182a65fe8f1854","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"8ee824ac2d4cf6c3ba182a65fe8f1854"} gateway-1 | {"time_local":"30/Jul/2024:14:06:55 +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":"8ee824ac2d4cf6c3ba182a65fe8f1854"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"8ee824ac2d4cf6c3ba182a65fe8f1854","responseTime":50,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNX0.7TeWCpQJKNF2JvdsxcCW9MkQRq51zq7EIIHN4oDU-D0","level":"info","message":"auth send jwt","requestID":"e28fef9390bcbfd1ff2687d00655b923"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e28fef9390bcbfd1ff2687d00655b923","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e28fef9390bcbfd1ff2687d00655b923"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":499,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":499,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.244477,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:55Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e28fef9390bcbfd1ff2687d00655b923","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348415,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNX0.7TeWCpQJKNF2JvdsxcCW9MkQRq51zq7EIIHN4oDU-D0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e28fef9390bcbfd1ff2687d00655b923","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"cf296ced-a7de-4ab5-a779-f18e4d1bcff1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.7604544} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e28fef9390bcbfd1ff2687d00655b923","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1e3d343f-58d6-423d-af32-6e47387e0124","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.765227} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e28fef9390bcbfd1ff2687d00655b923","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"b384e7e4-56c7-4d37-8ce2-42332c0ba6f0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.7762642} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9447aaa5-c81d-4c1a-8478-9c91340748ad","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.7765546} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"e28fef9390bcbfd1ff2687d00655b923","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.776243988Z"}]},"request_id":"b3fe89e9-16d3-43d7-8222-d12f4963d995","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348415.7801654} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e28fef9390bcbfd1ff2687d00655b923","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e28fef9390bcbfd1ff2687d00655b923"} gateway-1 | {"time_local":"30/Jul/2024:14:06:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e28fef9390bcbfd1ff2687d00655b923"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"e28fef9390bcbfd1ff2687d00655b923","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA","level":"info","message":"auth send jwt","requestID":"5ae6f15abb3b4560678406b6b4cf87c6"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"5ae6f15abb3b4560678406b6b4cf87c6","responseTime":7,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA","level":"info","message":"auth send jwt","requestID":"b99c54993e7ea271b6d76b12e0a5a29e"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"b99c54993e7ea271b6d76b12e0a5a29e","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"5ae6f15abb3b4560678406b6b4cf87c6"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b99c54993e7ea271b6d76b12e0a5a29e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":500,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":500,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.639074,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"5ae6f15abb3b4560678406b6b4cf87c6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5ae6f15abb3b4560678406b6b4cf87c6","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Received request.","req_id":501,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Sent response.","req_id":501,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.581812,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"b99c54993e7ea271b6d76b12e0a5a29e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b99c54993e7ea271b6d76b12e0a5a29e","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.776243988Z"}]},"request_id":"8c90b031-930f-4021-9a66-c1e24b02c1dd","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.2692158} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5ae6f15abb3b4560678406b6b4cf87c6","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.715889467Z"}]},"request_id":"336d5643-bbfb-4365-b791-1a78a071eb61","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.2700088} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b99c54993e7ea271b6d76b12e0a5a29e","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8fb9d5dd-2a67-48ea-9365-7b3be1df2444","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.2740083} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"5ae6f15abb3b4560678406b6b4cf87c6","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3d2abc48-0594-426f-948e-17cceb3dd56a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.2765431} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b99c54993e7ea271b6d76b12e0a5a29e","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.715889467Z"}]},"request_id":"faf455c3-1a59-4e84-af2a-b1aadbcf1c00","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.2798548} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b99c54993e7ea271b6d76b12e0a5a29e","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b99c54993e7ea271b6d76b12e0a5a29e"} gateway-1 | {"time_local":"30/Jul/2024:14:06:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.032","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"b99c54993e7ea271b6d76b12e0a5a29e"} device-1 | {"level":"info","message":"PATCH /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405 200 22ms","method":"PATCH","requestID":"b99c54993e7ea271b6d76b12e0a5a29e","responseTime":22,"status":200,"url":"/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA","level":"info","message":"auth send jwt","requestID":"6a02b7dec20450b13af4b73ba5d98bc0"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"6a02b7dec20450b13af4b73ba5d98bc0","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"6a02b7dec20450b13af4b73ba5d98bc0"} gateway-1 | {"time_local":"30/Jul/2024:14:06:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/8341a051-e101-49e6-8297-8f47afc2ecbf HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.044","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"5ae6f15abb3b4560678406b6b4cf87c6"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"5ae6f15abb3b4560678406b6b4cf87c6"} device-1 | {"level":"info","message":"PATCH /devices/8341a051-e101-49e6-8297-8f47afc2ecbf 200 34ms","method":"PATCH","requestID":"5ae6f15abb3b4560678406b6b4cf87c6","responseTime":34,"status":200,"url":"/devices/8341a051-e101-49e6-8297-8f47afc2ecbf"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.776243988Z"}]},"request_id":"be96d326-2543-4fb7-9960-00f3aad7933b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.291095} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5ae6f15abb3b4560678406b6b4cf87c6","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":502,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":502,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.913291,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6a02b7dec20450b13af4b73ba5d98bc0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6a02b7dec20450b13af4b73ba5d98bc0","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA","level":"info","message":"auth send jwt","requestID":"138e5aa5abbc2c040d60b9af08f88f2f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"138e5aa5abbc2c040d60b9af08f88f2f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"138e5aa5abbc2c040d60b9af08f88f2f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":503,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":503,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.813443,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"138e5aa5abbc2c040d60b9af08f88f2f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"138e5aa5abbc2c040d60b9af08f88f2f","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"6a02b7dec20450b13af4b73ba5d98bc0"} gateway-1 | {"time_local":"30/Jul/2024:14:06:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"6a02b7dec20450b13af4b73ba5d98bc0"} device-1 | {"level":"info","message":"POST /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405/websocket 200 21ms","method":"POST","requestID":"6a02b7dec20450b13af4b73ba5d98bc0","responseTime":21,"status":200,"url":"/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"138e5aa5abbc2c040d60b9af08f88f2f"} device-1 | {"level":"info","message":"POST /devices/8341a051-e101-49e6-8297-8f47afc2ecbf/websocket 200 21ms","method":"POST","requestID":"138e5aa5abbc2c040d60b9af08f88f2f","responseTime":21,"status":200,"url":"/devices/8341a051-e101-49e6-8297-8f47afc2ecbf/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:06:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/8341a051-e101-49e6-8297-8f47afc2ecbf/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"138e5aa5abbc2c040d60b9af08f88f2f"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA","level":"info","message":"auth send jwt","requestID":"8dacc5bd161184eac9ba419fe4316921"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8dacc5bd161184eac9ba419fe4316921","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8dacc5bd161184eac9ba419fe4316921"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":504,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":504,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.851978,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8dacc5bd161184eac9ba419fe4316921","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8dacc5bd161184eac9ba419fe4316921","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.715889467Z"}]},"request_id":"d50b3416-a5c0-4efe-a15a-a3a0a1605f33","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.3544693} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8dacc5bd161184eac9ba419fe4316921","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8dacc5bd161184eac9ba419fe4316921"} device-1 | {"level":"info","message":"GET /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405? 200 11ms","method":"GET","requestID":"8dacc5bd161184eac9ba419fe4316921","responseTime":11,"status":200,"url":"/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405? 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":"8dacc5bd161184eac9ba419fe4316921"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA","level":"info","message":"auth send jwt","requestID":"66844df8dada4f0750a4554f0c27a417"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"66844df8dada4f0750a4554f0c27a417","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"66844df8dada4f0750a4554f0c27a417"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":505,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":505,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.668947,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"66844df8dada4f0750a4554f0c27a417","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"66844df8dada4f0750a4554f0c27a417","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.776243988Z"}]},"request_id":"4ace8101-ddc1-4145-bda4-6a114c1f57ee","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.3695974} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"66844df8dada4f0750a4554f0c27a417","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"66844df8dada4f0750a4554f0c27a417"} gateway-1 | {"time_local":"30/Jul/2024:14:06:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8341a051-e101-49e6-8297-8f47afc2ecbf? 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":"66844df8dada4f0750a4554f0c27a417"} device-1 | {"level":"info","message":"GET /devices/8341a051-e101-49e6-8297-8f47afc2ecbf? 200 10ms","method":"GET","requestID":"66844df8dada4f0750a4554f0c27a417","responseTime":10,"status":200,"url":"/devices/8341a051-e101-49e6-8297-8f47afc2ecbf?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA","level":"info","message":"auth send jwt","requestID":"6397dea944aeeba407fce01db076d45b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6397dea944aeeba407fce01db076d45b","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"6397dea944aeeba407fce01db076d45b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":506,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":506,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.896862,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6397dea944aeeba407fce01db076d45b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6397dea944aeeba407fce01db076d45b","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Attempting to run experiment","requestID":"6397dea944aeeba407fce01db076d45b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Attempting to book experiment","requestID":"6397dea944aeeba407fce01db076d45b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Successfully booked experiment","requestID":"6397dea944aeeba407fce01db076d45b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fae6b6b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fae6ddc0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":507,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":507,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.738573,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fae6b6b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fae6b6b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Received request.","req_id":508,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Sent response.","req_id":508,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.568325,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fae6ddc0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fae6ddc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.715889467Z"}]},"request_id":"54f038a2-0764-44ac-9db3-f15ca3fe91f9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.4221623} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"fae6b6b0-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.776243988Z"}]},"request_id":"6bd16d31-6f33-4ca1-9a72-2b58b663fad6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.4230485} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fae6ddc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fae6b6b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405? 200 17ms","method":"GET","requestID":"fae6b6b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fae6ddc0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/8341a051-e101-49e6-8297-8f47afc2ecbf? 200 17ms","method":"GET","requestID":"fae6ddc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/8341a051-e101-49e6-8297-8f47afc2ecbf?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Setting up experiment","requestID":"6397dea944aeeba407fce01db076d45b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"6397dea944aeeba407fce01db076d45b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Successfully locked booking for experiment","requestID":"6397dea944aeeba407fce01db076d45b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"6397dea944aeeba407fce01db076d45b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"6397dea944aeeba407fce01db076d45b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Attempting to update booking for experiment","requestID":"6397dea944aeeba407fce01db076d45b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Successfully updated booking for experiment","requestID":"6397dea944aeeba407fce01db076d45b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Successfully set up experiment","requestID":"6397dea944aeeba407fce01db076d45b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"faf18c20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"faf1b330-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"faf20150-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Successfully running experiment","requestID":"6397dea944aeeba407fce01db076d45b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":509,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":509,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.944822,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Received request.","req_id":510,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"faf18c20-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"faf18c20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Sent response.","req_id":510,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.094601,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48116","level":"info","msg":"Received request.","req_id":511,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"faf1b330-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"faf1b330-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48116","level":"info","msg":"Sent response.","req_id":511,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.108984,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c619846c-913d-4ee5-936e-e3b9e4e4f37d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.49211} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"faf20150-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"faf20150-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"faf20150-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405/signaling 200 13ms","method":"POST","requestID":"faf20150-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405/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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.776243988Z"}]},"request_id":"f8e6e8b0-459d-499a-a45b-d379c3aaadde","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.4978096} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"faf1b330-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.715889467Z"}]},"request_id":"7c42794c-82a6-4f10-bae1-2b9a63624614","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.4994578} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"faf18c20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"faf49960-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":512,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"faf1b330-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/8341a051-e101-49e6-8297-8f47afc2ecbf? 200 25ms","method":"GET","requestID":"faf1b330-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":25,"status":200,"url":"/devices/8341a051-e101-49e6-8297-8f47afc2ecbf?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"faf18c20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405? 200 27ms","method":"GET","requestID":"faf18c20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":27,"status":200,"url":"/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d7d644a0-d617-49ae-bb03-cbfe40ca22eb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.508766} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":512,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.190831,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"faf49960-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","object_type":"device","rebac_allow":false,"scope_allow":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":"faf49960-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F47041225-d812-46f4-8909-65ae22134832#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F47041225-d812-46f4-8909-65ae22134832","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"ed5ec973-b301-4683-815e-e4b57cff2314","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.5109637} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"faf62000-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"52d9705c-a818-4a06-8482-aa920dd29757","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.5112066} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"6397dea944aeeba407fce01db076d45b","responseTime":24,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"faf49960-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8341a051-e101-49e6-8297-8f47afc2ecbf/signaling 200 14ms","method":"POST","requestID":"faf49960-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/8341a051-e101-49e6-8297-8f47afc2ecbf/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":513,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"82150b6a-71bd-40dc-932c-c5f920fe2704","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.5205374} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":513,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.933115,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"faf62000-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","object_type":"device","rebac_allow":false,"scope_allow":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":"faf62000-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"6397dea944aeeba407fce01db076d45b"} gateway-1 | {"time_local":"30/Jul/2024:14:06:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1295","request_time":"0.150","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6397dea944aeeba407fce01db076d45b"} experiment-1 | {"level":"info","message":"POST /experiments? 201 145ms","method":"POST","requestID":"6397dea944aeeba407fce01db076d45b","responseTime":145,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"faf62000-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405/signaling 200 15ms","method":"POST","requestID":"faf62000-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA","level":"info","message":"auth send jwt","requestID":"bf055cd43162600d27ac6c68eb266985"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"faf8df20-4e7c-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bf055cd43162600d27ac6c68eb266985","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bf055cd43162600d27ac6c68eb266985"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":514,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Received request.","req_id":515,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"71808797-554a-45fc-8b90-30dfaef102be","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.5356314} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Sent response.","req_id":515,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.127581,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bf055cd43162600d27ac6c68eb266985","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"bf055cd43162600d27ac6c68eb266985","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":514,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.954413,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"faf8df20-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"faf8df20-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.715889467Z"}]},"request_id":"19c67c09-bf9e-4440-9423-65c597428e91","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.5414853} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"faf8df20-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"bf055cd43162600d27ac6c68eb266985","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/8341a051-e101-49e6-8297-8f47afc2ecbf/signaling 200 12ms","method":"POST","requestID":"faf8df20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/8341a051-e101-49e6-8297-8f47afc2ecbf/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"6397dea944aeeba407fce01db076d45b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Building connection plan","requestID":"6397dea944aeeba407fce01db076d45b"} 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":"4de451d4-f07f-41de-ab17-a9ac3b7800a6"},{"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":"7c3de56d-b774-4ae5-a436-4d5c671f7a34"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"385d8512-f5e9-45c2-b75a-ab8fec5f604f"}]},"level":"info","message":"Built pairwise service configurations","requestID":"6397dea944aeeba407fce01db076d45b"} 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/8341a051-e101-49e6-8297-8f47afc2ecbf"},{"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/a34b05aa-b6fe-4a67-a50d-57f42a84e405"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"6397dea944aeeba407fce01db076d45b"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"fafb2910-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bf055cd43162600d27ac6c68eb266985"} gateway-1 | {"time_local":"30/Jul/2024:14:06:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405? 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":"bf055cd43162600d27ac6c68eb266985"} device-1 | {"level":"info","message":"GET /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405? 200 15ms","method":"GET","requestID":"bf055cd43162600d27ac6c68eb266985","responseTime":15,"status":200,"url":"/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":516,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":516,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.258911,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fafb2910-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fafb2910-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA","level":"info","message":"auth send jwt","requestID":"b064a33ededb94a6e549e7617fe0e3e0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b064a33ededb94a6e549e7617fe0e3e0","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b064a33ededb94a6e549e7617fe0e3e0"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":517,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":517,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.850286,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"b064a33ededb94a6e549e7617fe0e3e0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348416,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxNn0.tWz-Ixdx1bNGbuXbsumZk4mmqpt91nZs0tXQFmqRRxA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b064a33ededb94a6e549e7617fe0e3e0","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"efa03cbc-a06f-47b5-af50-bd79576d5acf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.5613275} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e1f3eb7a-39b8-494f-83ee-39ccf34389cb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.5616288} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:55.776243988Z"}]},"request_id":"5ec06a7b-d407-4c80-9989-ceb8c302fa25","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.5623543} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"fafb2910-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b064a33ededb94a6e549e7617fe0e3e0","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b064a33ededb94a6e549e7617fe0e3e0"} device-1 | {"level":"info","message":"GET /devices/8341a051-e101-49e6-8297-8f47afc2ecbf? 200 15ms","method":"GET","requestID":"b064a33ededb94a6e549e7617fe0e3e0","responseTime":15,"status":200,"url":"/devices/8341a051-e101-49e6-8297-8f47afc2ecbf?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:56 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8341a051-e101-49e6-8297-8f47afc2ecbf? 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":"b064a33ededb94a6e549e7617fe0e3e0"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"fafb2910-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"fafb2910-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30'","requestID":"fafb2910-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30'","requestID":"fafb2910-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"fafb2910-4e7c-11ef-b6a3-8dff1d026ae9"} 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":"fafb2910-4e7c-11ef-b6a3-8dff1d026ae9","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":"fafb2910-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"6397dea944aeeba407fce01db076d45b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fb051420-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":518,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"25413bc5-1f67-4d58-ab17-af538f6118e6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.6155071} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":518,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.106258,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fb051420-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"fb051420-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fb051420-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405/signaling 200 10ms","method":"POST","requestID":"fb051420-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fb06e8e0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":519,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f829af10-74fa-49bc-a335-8136f9cfe13e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348416.6276677} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":519,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.971381,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fb06e8e0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fb06e8e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fb06e8e0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8341a051-e101-49e6-8297-8f47afc2ecbf/signaling 200 11ms","method":"POST","requestID":"fb06e8e0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/8341a051-e101-49e6-8297-8f47afc2ecbf/signaling"} device-1 | {"device":"a34b05aa-b6fe-4a67-a50d-57f42a84e405","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":"a12bd916-3268-403f-90e5-88d4ec17eb30","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8341a051-e101-49e6-8297-8f47afc2ecbf","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":"a12bd916-3268-403f-90e5-88d4ec17eb30","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8341a051-e101-49e6-8297-8f47afc2ecbf","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":"8341a051-e101-49e6-8297-8f47afc2ecbf","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":"8341a051-e101-49e6-8297-8f47afc2ecbf","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":"8341a051-e101-49e6-8297-8f47afc2ecbf","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/a12bd916-3268-403f-90e5-88d4ec17eb30' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a12bd916-3268-403f-90e5-88d4ec17eb30","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3270de74022d63dfd47df3349917ba20","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"3270de74022d63dfd47df3349917ba20","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf"},{"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/a34b05aa-b6fe-4a67-a50d-57f42a84e405"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30"}}},"level":"info","message":"received a callback","requestID":"3270de74022d63dfd47df3349917ba20"} device-1 | {"device":"a34b05aa-b6fe-4a67-a50d-57f42a84e405","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":"a34b05aa-b6fe-4a67-a50d-57f42a84e405","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":"a34b05aa-b6fe-4a67-a50d-57f42a84e405","deviceName":"Python Device 1","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"3270de74022d63dfd47df3349917ba20","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"3270de74022d63dfd47df3349917ba20"} device-1 | {"data":{"peerconnection":"a12bd916-3268-403f-90e5-88d4ec17eb30","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8341a051-e101-49e6-8297-8f47afc2ecbf","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":"a34b05aa-b6fe-4a67-a50d-57f42a84e405","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":"a34b05aa-b6fe-4a67-a50d-57f42a84e405","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":"8341a051-e101-49e6-8297-8f47afc2ecbf","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":"a12bd916-3268-403f-90e5-88d4ec17eb30","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/a12bd916-3268-403f-90e5-88d4ec17eb30' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a12bd916-3268-403f-90e5-88d4ec17eb30","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"12f6cab5148fc2c92d6b1946a5bd24fd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"12f6cab5148fc2c92d6b1946a5bd24fd","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/8341a051-e101-49e6-8297-8f47afc2ecbf"},{"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/a34b05aa-b6fe-4a67-a50d-57f42a84e405"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30"}}},"level":"info","message":"received a callback","requestID":"12f6cab5148fc2c92d6b1946a5bd24fd"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"fc43fcc0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":520,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa12bd916-3268-403f-90e5-88d4ec17eb30","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"62df4aa1-fdee-4fd4-8601-5b7b76927fa6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348418.7056835} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":520,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.837007,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fc43fcc0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30","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":"fc43fcc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"fc43fcc0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30 200 10ms","method":"GET","requestID":"fc43fcc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 44ms","method":"POST","requestID":"12f6cab5148fc2c92d6b1946a5bd24fd","responseTime":44,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch","requestID":"12f6cab5148fc2c92d6b1946a5bd24fd"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fc49c920-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":521,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d0b1ff43-7f3d-44e5-bd25-4dcc9a2e73a0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348418.7441988} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":521,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.317617,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fc49c920-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"fc49c920-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fc49c920-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8341a051-e101-49e6-8297-8f47afc2ecbf/signaling 200 11ms","method":"POST","requestID":"fc49c920-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/8341a051-e101-49e6-8297-8f47afc2ecbf/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fc4bc4f0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":522,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f17b63f9-84a1-430a-8519-5a3a955ca862","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348418.7574313} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":522,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.6851,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fc4bc4f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"fc4bc4f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fc4bc4f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405/signaling 200 11ms","method":"POST","requestID":"fc4bc4f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOH0.Zfjm82x8Q1YTX0pqNw0MUH-CxZy9O-zR6l_7B0ikMOI","level":"info","message":"auth send jwt","requestID":"794237b0fce997228df7c03e7d1f028e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"794237b0fce997228df7c03e7d1f028e","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/47041225-d812-46f4-8909-65ae22134832","requestID":"794237b0fce997228df7c03e7d1f028e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":523,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":523,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.387575,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"794237b0fce997228df7c03e7d1f028e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348418,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOH0.Zfjm82x8Q1YTX0pqNw0MUH-CxZy9O-zR6l_7B0ikMOI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"794237b0fce997228df7c03e7d1f028e","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/47041225-d812-46f4-8909-65ae22134832","requestID":"794237b0fce997228df7c03e7d1f028e"} gateway-1 | {"time_local":"30/Jul/2024:14:06:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/47041225-d812-46f4-8909-65ae22134832 HTTP/1.1","status": "200","body_bytes_sent":"1368","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"794237b0fce997228df7c03e7d1f028e"} experiment-1 | {"level":"info","message":"GET /experiments/47041225-d812-46f4-8909-65ae22134832 200 16ms","method":"GET","requestID":"794237b0fce997228df7c03e7d1f028e","responseTime":16,"status":200,"url":"/experiments/47041225-d812-46f4-8909-65ae22134832"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOH0.Zfjm82x8Q1YTX0pqNw0MUH-CxZy9O-zR6l_7B0ikMOI","level":"info","message":"auth send jwt","requestID":"9f4d0f5f4698f9cad02a7389daccb638"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"9f4d0f5f4698f9cad02a7389daccb638","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/47041225-d812-46f4-8909-65ae22134832","requestID":"9f4d0f5f4698f9cad02a7389daccb638"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":524,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":524,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.667371,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"9f4d0f5f4698f9cad02a7389daccb638","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348418,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOH0.Zfjm82x8Q1YTX0pqNw0MUH-CxZy9O-zR6l_7B0ikMOI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9f4d0f5f4698f9cad02a7389daccb638","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Attempting to finish experiment","requestID":"9f4d0f5f4698f9cad02a7389daccb638"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"fc57f9f0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":525,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":525,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.256188,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fc57f9f0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348418,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOH0.Zfjm82x8Q1YTX0pqNw0MUH-CxZy9O-zR6l_7B0ikMOI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"fc57f9f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"device":"8341a051-e101-49e6-8297-8f47afc2ecbf","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":"8341a051-e101-49e6-8297-8f47afc2ecbf","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":"8341a051-e101-49e6-8297-8f47afc2ecbf","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":"a34b05aa-b6fe-4a67-a50d-57f42a84e405","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":"a34b05aa-b6fe-4a67-a50d-57f42a84e405","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":"a34b05aa-b6fe-4a67-a50d-57f42a84e405","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/a12bd916-3268-403f-90e5-88d4ec17eb30' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a12bd916-3268-403f-90e5-88d4ec17eb30","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5e38a0e032270582e61db69493a1d595","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"5e38a0e032270582e61db69493a1d595","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fdf5ffa60a1675495c38161932b0027e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"fdf5ffa60a1675495c38161932b0027e","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","driver":"device2","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","driver":"device2","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf"},{"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/a34b05aa-b6fe-4a67-a50d-57f42a84e405"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30"}}},"level":"info","message":"received a callback","requestID":"5e38a0e032270582e61db69493a1d595"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa12bd916-3268-403f-90e5-88d4ec17eb30': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa12bd916-3268-403f-90e5-88d4ec17eb30","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"dcfe95bf-ff80-4ad2-84b5-da1eaad63a8d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348418.8658028} 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/8341a051-e101-49e6-8297-8f47afc2ecbf"},{"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/a34b05aa-b6fe-4a67-a50d-57f42a84e405"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30"}}},"level":"info","message":"received a callback","requestID":"fdf5ffa60a1675495c38161932b0027e"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1fab6da1-bdba-4ef8-b655-7f0d844693cc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348418.86625} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"fc57f9f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"a12bd916-3268-403f-90e5-88d4ec17eb30","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"fc57f9f0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30 204 55ms","method":"DELETE","requestID":"fc57f9f0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":55,"status":204,"url":"/peerconnections/a12bd916-3268-403f-90e5-88d4ec17eb30"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/47041225-d812-46f4-8909-65ae22134832"},"level":"info","message":"Successfully finished experiment","requestID":"9f4d0f5f4698f9cad02a7389daccb638"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fc645600-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":526,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8341a051-e101-49e6-8297-8f47afc2ecbf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"70dcf923-5cce-4bce-9fd4-e8581ac8fa3d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348418.919786} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":526,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.915039,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fc645600-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf","object_type":"device","rebac_allow":false,"scope_allow":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":"fc645600-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fc645600-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8341a051-e101-49e6-8297-8f47afc2ecbf/signaling 200 16ms","method":"POST","requestID":"fc645600-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/8341a051-e101-49e6-8297-8f47afc2ecbf/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fc673c30-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F47041225-d812-46f4-8909-65ae22134832': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F47041225-d812-46f4-8909-65ae22134832","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"f0a94c9b-5f4d-4304-8349-9454774a6bcf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348418.9338408} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1f4a34c4-ab88-4c7b-848b-2fe5d12eae41","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348418.9343882} authorization-1 | {"level":"info","message":"POST /relations/update 200 30ms","method":"POST","requestID":"9f4d0f5f4698f9cad02a7389daccb638","responseTime":30,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":527,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":527,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.99091,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:58Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa34b05aa-b6fe-4a67-a50d-57f42a84e405","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"803774d1-4c3e-49a2-b9c2-f653c2af9ade","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348418.9394484} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fc673c30-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405","object_type":"device","rebac_allow":false,"scope_allow":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":"fc673c30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fc673c30-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405/signaling 200 15ms","method":"POST","requestID":"fc673c30-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/a34b05aa-b6fe-4a67-a50d-57f42a84e405/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/47041225-d812-46f4-8909-65ae22134832","requestID":"9f4d0f5f4698f9cad02a7389daccb638"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/47041225-d812-46f4-8909-65ae22134832 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.196","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9f4d0f5f4698f9cad02a7389daccb638"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +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.696","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"3018fcb23c25e0f443cf182d8943491e"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +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.684","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"fb0ce63d42d98ddc0a0b778c0a5a1a24"} experiment-1 | {"level":"info","message":"DELETE /experiments/47041225-d812-46f4-8909-65ae22134832 204 192ms","method":"DELETE","requestID":"9f4d0f5f4698f9cad02a7389daccb638","responseTime":192,"status":204,"url":"/experiments/47041225-d812-46f4-8909-65ae22134832"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 149ms","method":"POST","requestID":"5e38a0e032270582e61db69493a1d595","responseTime":149,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.154","http_referrer":"","http_user_agent":"node-fetch","requestID":"5e38a0e032270582e61db69493a1d595"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 148ms","method":"POST","requestID":"fdf5ffa60a1675495c38161932b0027e","responseTime":148,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.154","http_referrer":"","http_user_agent":"node-fetch","requestID":"fdf5ffa60a1675495c38161932b0027e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU","level":"info","message":"auth send jwt","requestID":"c84131818f1c9d35327216c085a59638"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c84131818f1c9d35327216c085a59638","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c84131818f1c9d35327216c085a59638"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/8341a051-e101-49e6-8297-8f47afc2ecbf' closed"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":528,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":528,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.902962,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"c84131818f1c9d35327216c085a59638","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c84131818f1c9d35327216c085a59638","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/a34b05aa-b6fe-4a67-a50d-57f42a84e405' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3d488808-550f-4b61-9a7a-e3ffaabad73e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.0396395} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c84131818f1c9d35327216c085a59638","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"069aa2a2-e11d-490f-8d66-93f2d063210c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.0456936} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c84131818f1c9d35327216c085a59638","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"a55cf83c-0522-4ac8-a177-311b7c57ef74","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.057232} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ec2bb522-32ef-40e8-b708-fd609ff7ff3e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.0573952} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"c84131818f1c9d35327216c085a59638","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.057204074Z"}]},"request_id":"9347ef49-92dd-4ce5-9c87-8bc9e3fcbed2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.0630336} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c84131818f1c9d35327216c085a59638","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c84131818f1c9d35327216c085a59638"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.056","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c84131818f1c9d35327216c085a59638"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"c84131818f1c9d35327216c085a59638","responseTime":49,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU","level":"info","message":"auth send jwt","requestID":"11c1564657884c767a97948629998030"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"11c1564657884c767a97948629998030","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"11c1564657884c767a97948629998030"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":529,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":529,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.773282,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"11c1564657884c767a97948629998030","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"11c1564657884c767a97948629998030","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"752c805d-e1d0-4de4-bda9-cf9f5e3005a2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.0926843} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"11c1564657884c767a97948629998030","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f0d8fdf3-4139-4d36-8d4d-2a258a037228","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.0983737} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"11c1564657884c767a97948629998030","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"a5d8eef3-41aa-41d3-9ae6-27b18c8a9f4d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.109427} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"813b2e36-2a80-4351-84d3-c066c21b2d8d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.1096296} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"11c1564657884c767a97948629998030","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.109405175Z"}]},"request_id":"1ebd0af7-6d44-4552-839b-b3751f4e0e09","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.114555} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"11c1564657884c767a97948629998030","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"11c1564657884c767a97948629998030"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"11c1564657884c767a97948629998030"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"11c1564657884c767a97948629998030","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU","level":"info","message":"auth send jwt","requestID":"6704eac3990ecaad8fc400b45b606c3b"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"6704eac3990ecaad8fc400b45b606c3b","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"6704eac3990ecaad8fc400b45b606c3b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU","level":"info","message":"auth send jwt","requestID":"b8992f54c60aece6ebab6acb65d78932"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"b8992f54c60aece6ebab6acb65d78932","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b8992f54c60aece6ebab6acb65d78932"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":530,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":530,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.288414,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Received request.","req_id":531,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6704eac3990ecaad8fc400b45b606c3b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6704eac3990ecaad8fc400b45b606c3b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Sent response.","req_id":531,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.865995,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"b8992f54c60aece6ebab6acb65d78932","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b8992f54c60aece6ebab6acb65d78932","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.109405175Z"}]},"request_id":"8ad57766-67f2-4c6d-9a4f-7242f594176a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.6137912} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6704eac3990ecaad8fc400b45b606c3b","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.057204074Z"}]},"request_id":"98d74400-f7c7-4b01-a0bd-6bd45d4337c2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.6151528} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b8992f54c60aece6ebab6acb65d78932","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6fda3589-f570-4bfe-b764-e926ebf79617","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.6212597} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"6704eac3990ecaad8fc400b45b606c3b","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4866c55d-87d4-4fb4-adf0-2061d4d2a9e5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.6236656} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"b8992f54c60aece6ebab6acb65d78932","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.057204074Z"}]},"request_id":"186eb769-b06c-4e92-8d7f-0928c733614f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.6266942} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b8992f54c60aece6ebab6acb65d78932","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b8992f54c60aece6ebab6acb65d78932"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/d3086274-eb18-4789-bd1b-a1604f583ba4 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"b8992f54c60aece6ebab6acb65d78932"} device-1 | {"level":"info","message":"PATCH /devices/d3086274-eb18-4789-bd1b-a1604f583ba4 200 30ms","method":"PATCH","requestID":"b8992f54c60aece6ebab6acb65d78932","responseTime":30,"status":200,"url":"/devices/d3086274-eb18-4789-bd1b-a1604f583ba4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU","level":"info","message":"auth send jwt","requestID":"2e452311c2978eb9912673b8899b9908"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2e452311c2978eb9912673b8899b9908","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"2e452311c2978eb9912673b8899b9908"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.109405175Z"}]},"request_id":"64cd0bc1-b46e-4948-8e5e-1771d1d890a1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.6375706} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6704eac3990ecaad8fc400b45b606c3b","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":532,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":532,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.692633,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"6704eac3990ecaad8fc400b45b606c3b"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6c478ced-d572-4261-a7ae-34ec62418fca HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.053","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"6704eac3990ecaad8fc400b45b606c3b"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"2e452311c2978eb9912673b8899b9908","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} device-1 | {"level":"info","message":"PATCH /devices/6c478ced-d572-4261-a7ae-34ec62418fca 200 45ms","method":"PATCH","requestID":"6704eac3990ecaad8fc400b45b606c3b","responseTime":45,"status":200,"url":"/devices/6c478ced-d572-4261-a7ae-34ec62418fca"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2e452311c2978eb9912673b8899b9908","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU","level":"info","message":"auth send jwt","requestID":"556b4b6b7312f1bf9452150ee5a2a912"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"556b4b6b7312f1bf9452150ee5a2a912","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"556b4b6b7312f1bf9452150ee5a2a912"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":533,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":533,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.933982,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"556b4b6b7312f1bf9452150ee5a2a912","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"556b4b6b7312f1bf9452150ee5a2a912","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"2e452311c2978eb9912673b8899b9908"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d3086274-eb18-4789-bd1b-a1604f583ba4/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.025","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"2e452311c2978eb9912673b8899b9908"} device-1 | {"level":"info","message":"POST /devices/d3086274-eb18-4789-bd1b-a1604f583ba4/websocket 200 19ms","method":"POST","requestID":"2e452311c2978eb9912673b8899b9908","responseTime":19,"status":200,"url":"/devices/d3086274-eb18-4789-bd1b-a1604f583ba4/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"556b4b6b7312f1bf9452150ee5a2a912"} device-1 | {"level":"info","message":"POST /devices/6c478ced-d572-4261-a7ae-34ec62418fca/websocket 200 16ms","method":"POST","requestID":"556b4b6b7312f1bf9452150ee5a2a912","responseTime":16,"status":200,"url":"/devices/6c478ced-d572-4261-a7ae-34ec62418fca/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6c478ced-d572-4261-a7ae-34ec62418fca/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.021","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"556b4b6b7312f1bf9452150ee5a2a912"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU","level":"info","message":"auth send jwt","requestID":"7734bfdca5c02d7ba2ca770c882d9959"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7734bfdca5c02d7ba2ca770c882d9959","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7734bfdca5c02d7ba2ca770c882d9959"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":534,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":534,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.842116,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"7734bfdca5c02d7ba2ca770c882d9959","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7734bfdca5c02d7ba2ca770c882d9959","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.057204074Z"}]},"request_id":"55ccfbb5-1646-4dbf-abab-93d61072fb0b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.7017944} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7734bfdca5c02d7ba2ca770c882d9959","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7734bfdca5c02d7ba2ca770c882d9959"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d3086274-eb18-4789-bd1b-a1604f583ba4? 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":"7734bfdca5c02d7ba2ca770c882d9959"} device-1 | {"level":"info","message":"GET /devices/d3086274-eb18-4789-bd1b-a1604f583ba4? 200 12ms","method":"GET","requestID":"7734bfdca5c02d7ba2ca770c882d9959","responseTime":12,"status":200,"url":"/devices/d3086274-eb18-4789-bd1b-a1604f583ba4?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU","level":"info","message":"auth send jwt","requestID":"f32b02a667fed4efab26c50bf07762c2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f32b02a667fed4efab26c50bf07762c2","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f32b02a667fed4efab26c50bf07762c2"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":535,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":535,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.044887,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f32b02a667fed4efab26c50bf07762c2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f32b02a667fed4efab26c50bf07762c2","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.109405175Z"}]},"request_id":"82611cc2-7fb5-44e1-8d8e-ca9daf070479","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.722743} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f32b02a667fed4efab26c50bf07762c2","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f32b02a667fed4efab26c50bf07762c2"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6c478ced-d572-4261-a7ae-34ec62418fca? 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":"f32b02a667fed4efab26c50bf07762c2"} device-1 | {"level":"info","message":"GET /devices/6c478ced-d572-4261-a7ae-34ec62418fca? 200 13ms","method":"GET","requestID":"f32b02a667fed4efab26c50bf07762c2","responseTime":13,"status":200,"url":"/devices/6c478ced-d572-4261-a7ae-34ec62418fca?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU","level":"info","message":"auth send jwt","requestID":"b3ed73cacfa8aa69df586a75098636c9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b3ed73cacfa8aa69df586a75098636c9","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"b3ed73cacfa8aa69df586a75098636c9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":536,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":536,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.750741,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"b3ed73cacfa8aa69df586a75098636c9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b3ed73cacfa8aa69df586a75098636c9","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Attempting to run experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Attempting to book experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Successfully booked experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fce71a90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fce768b0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":537,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":537,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.868691,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Received request.","req_id":538,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fce71a90-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"fce71a90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Sent response.","req_id":538,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.646972,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fce768b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fce768b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.057204074Z"}]},"request_id":"1558d7d3-5ba4-40f9-859a-1c5c04040fd2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.7789173} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"fce71a90-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.109405175Z"}]},"request_id":"a2f739b5-8518-40f0-a08a-3643a70f64a0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.7809062} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"fce768b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fce71a90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/d3086274-eb18-4789-bd1b-a1604f583ba4? 200 17ms","method":"GET","requestID":"fce71a90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/d3086274-eb18-4789-bd1b-a1604f583ba4?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fce768b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/6c478ced-d572-4261-a7ae-34ec62418fca? 200 16ms","method":"GET","requestID":"fce768b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/6c478ced-d572-4261-a7ae-34ec62418fca?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Setting up experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Successfully locked booking for experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Attempting to update booking for experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Successfully updated booking for experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Successfully set up experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fcefa610-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fceff430-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Successfully running experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fcf04250-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":539,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":539,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.192277,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Received request.","req_id":540,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fcefa610-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"fcefa610-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Sent response.","req_id":540,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.92461,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48116","level":"info","msg":"Received request.","req_id":541,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fceff430-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"fceff430-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48116","level":"info","msg":"Sent response.","req_id":541,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.450096,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2826606d-cbed-43fb-b277-20d2e2ee507d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.8401363} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fcf04250-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"fcf04250-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.057204074Z"}]},"request_id":"7d09e649-292f-48ba-96bd-77308c9c48f7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.8424933} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fcf04250-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"fcefa610-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.109405175Z"}]},"request_id":"33e6d0d0-53c9-4f23-bb35-00ef78898284","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.8465736} device-1 | {"level":"info","message":"POST /devices/d3086274-eb18-4789-bd1b-a1604f583ba4/signaling 200 19ms","method":"POST","requestID":"fcf04250-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/devices/d3086274-eb18-4789-bd1b-a1604f583ba4/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"fceff430-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fcf39db0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F307f3b3c-d35a-4197-9fa0-ec2e33e4c48c#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F307f3b3c-d35a-4197-9fa0-ec2e33e4c48c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"c65cf461-0088-4755-a50e-70e2ecc3db61","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.852028} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"21333cbb-ffd7-4fcd-817d-641fec98d6eb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.8523202} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"b3ed73cacfa8aa69df586a75098636c9","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fcefa610-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/d3086274-eb18-4789-bd1b-a1604f583ba4? 200 29ms","method":"GET","requestID":"fcefa610-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":29,"status":200,"url":"/devices/d3086274-eb18-4789-bd1b-a1604f583ba4?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fceff430-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/6c478ced-d572-4261-a7ae-34ec62418fca? 200 29ms","method":"GET","requestID":"fceff430-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":29,"status":200,"url":"/devices/6c478ced-d572-4261-a7ae-34ec62418fca?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":542,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d8ffe7cb-658f-4a8e-9a61-873c3cf0d240","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.858169} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":542,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.64525,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fcf39db0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","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":"fcf4d630-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"fcf39db0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"b3ed73cacfa8aa69df586a75098636c9"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1295","request_time":"0.133","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b3ed73cacfa8aa69df586a75098636c9"} experiment-1 | {"level":"info","message":"POST /experiments? 201 127ms","method":"POST","requestID":"b3ed73cacfa8aa69df586a75098636c9","responseTime":127,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":543,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fcf39db0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/6c478ced-d572-4261-a7ae-34ec62418fca/signaling 200 13ms","method":"POST","requestID":"fcf39db0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/6c478ced-d572-4261-a7ae-34ec62418fca/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d970d813-1ff2-4931-b9b6-c0e669732e73","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.8647182} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":543,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.921562,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fcf4d630-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fcf4d630-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU","level":"info","message":"auth send jwt","requestID":"77338fb733d67ea59e64de0c7c9f6a43"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"77338fb733d67ea59e64de0c7c9f6a43","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"77338fb733d67ea59e64de0c7c9f6a43"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fcf4d630-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d3086274-eb18-4789-bd1b-a1604f583ba4/signaling 200 11ms","method":"POST","requestID":"fcf4d630-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/d3086274-eb18-4789-bd1b-a1604f583ba4/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":544,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":544,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.204644,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fcf6f910-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"77338fb733d67ea59e64de0c7c9f6a43","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"77338fb733d67ea59e64de0c7c9f6a43","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":545,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.057204074Z"}]},"request_id":"760b5f02-11d2-4be1-88db-41daa5ab448c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.876967} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a7ac4429-f043-4a8b-acfb-f2d1ad7bf78c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.8771243} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"77338fb733d67ea59e64de0c7c9f6a43","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":545,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.227936,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fcf6f910-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fcf6f910-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"77338fb733d67ea59e64de0c7c9f6a43"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d3086274-eb18-4789-bd1b-a1604f583ba4? 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":"77338fb733d67ea59e64de0c7c9f6a43"} device-1 | {"level":"info","message":"GET /devices/d3086274-eb18-4789-bd1b-a1604f583ba4? 200 13ms","method":"GET","requestID":"77338fb733d67ea59e64de0c7c9f6a43","responseTime":13,"status":200,"url":"/devices/d3086274-eb18-4789-bd1b-a1604f583ba4?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fcf6f910-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/6c478ced-d572-4261-a7ae-34ec62418fca/signaling 200 9ms","method":"POST","requestID":"fcf6f910-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/6c478ced-d572-4261-a7ae-34ec62418fca/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Building connection plan","requestID":"b3ed73cacfa8aa69df586a75098636c9"} 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":"8f2763d5-becf-4acb-ace1-efc65e30e3a8"},{"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":"c4891ec5-c752-4062-be89-c42303afe8de"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"c5a98fd0-27e6-40c8-b168-c41dff2a3136"}]},"level":"info","message":"Built pairwise service configurations","requestID":"b3ed73cacfa8aa69df586a75098636c9"} 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/d3086274-eb18-4789-bd1b-a1604f583ba4"},{"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/6c478ced-d572-4261-a7ae-34ec62418fca"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"b3ed73cacfa8aa69df586a75098636c9"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"fcf8cdd0-4e7c-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU","level":"info","message":"auth send jwt","requestID":"a06a305c1643e750eb20d94ba5f32a00"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a06a305c1643e750eb20d94ba5f32a00","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a06a305c1643e750eb20d94ba5f32a00"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":546,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":546,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.054104,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Received request.","req_id":547,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fcf8cdd0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fcf8cdd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48114","level":"info","msg":"Sent response.","req_id":547,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.706898,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"a06a305c1643e750eb20d94ba5f32a00","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348419,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQxOX0.MKjrRekEGwAGigX8QQnAH8Kz7asZgs4hPGEtPSy60hU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a06a305c1643e750eb20d94ba5f32a00","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:06:59.109405175Z"}]},"request_id":"751a507a-2953-4e23-b5bb-e7dcc5b3d36f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.8949785} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a06a305c1643e750eb20d94ba5f32a00","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a06a305c1643e750eb20d94ba5f32a00"} device-1 | {"level":"info","message":"GET /devices/6c478ced-d572-4261-a7ae-34ec62418fca? 200 12ms","method":"GET","requestID":"a06a305c1643e750eb20d94ba5f32a00","responseTime":12,"status":200,"url":"/devices/6c478ced-d572-4261-a7ae-34ec62418fca?"} gateway-1 | {"time_local":"30/Jul/2024:14:06:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6c478ced-d572-4261-a7ae-34ec62418fca? 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":"a06a305c1643e750eb20d94ba5f32a00"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"1ea113f2-8af9-4244-941f-cd4e169e12cf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.8993607} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9d4603c7-867c-4506-bf34-23e9d040b786","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.8996596} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"fcf8cdd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"fcf8cdd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"fcf8cdd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48'","requestID":"fcf8cdd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48'","requestID":"fcf8cdd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"fcf8cdd0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 28ms","method":"POST","requestID":"fcf8cdd0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":28,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"fcf8cdd0-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"b3ed73cacfa8aa69df586a75098636c9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fd01f590-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":548,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"72df284e-9f19-430b-883b-951bc89c54dc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.9510071} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":548,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.821804,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fd01f590-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fd01f590-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fd01f590-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d3086274-eb18-4789-bd1b-a1604f583ba4/signaling 200 9ms","method":"POST","requestID":"fd01f590-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/d3086274-eb18-4789-bd1b-a1604f583ba4/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fd03a340-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":549,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ebafebe6-5047-40fe-bffd-7854ee2735fa","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348419.9605405} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":549,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.131727,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:06:59Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fd03a340-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fd03a340-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fd03a340-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/6c478ced-d572-4261-a7ae-34ec62418fca/signaling 200 8ms","method":"POST","requestID":"fd03a340-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/6c478ced-d572-4261-a7ae-34ec62418fca/signaling"} device-1 | {"device":"6c478ced-d572-4261-a7ae-34ec62418fca","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":"13201e48-558a-4fd9-a676-e2ae9dfb3b48","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d3086274-eb18-4789-bd1b-a1604f583ba4","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":"13201e48-558a-4fd9-a676-e2ae9dfb3b48","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d3086274-eb18-4789-bd1b-a1604f583ba4","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":"d3086274-eb18-4789-bd1b-a1604f583ba4","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":"d3086274-eb18-4789-bd1b-a1604f583ba4","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":"d3086274-eb18-4789-bd1b-a1604f583ba4","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/13201e48-558a-4fd9-a676-e2ae9dfb3b48' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"13201e48-558a-4fd9-a676-e2ae9dfb3b48","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7888f06744de8c2bd3c92d534e81df5d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"7888f06744de8c2bd3c92d534e81df5d","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4"},{"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/6c478ced-d572-4261-a7ae-34ec62418fca"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48"}}},"level":"info","message":"received a callback","requestID":"7888f06744de8c2bd3c92d534e81df5d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 10ms","method":"POST","requestID":"7888f06744de8c2bd3c92d534e81df5d","responseTime":10,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.014","http_referrer":"","http_user_agent":"node-fetch","requestID":"7888f06744de8c2bd3c92d534e81df5d"} device-1 | {"device":"6c478ced-d572-4261-a7ae-34ec62418fca","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":"6c478ced-d572-4261-a7ae-34ec62418fca","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":"6c478ced-d572-4261-a7ae-34ec62418fca","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} device-1 | {"data":{"peerconnection":"13201e48-558a-4fd9-a676-e2ae9dfb3b48","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d3086274-eb18-4789-bd1b-a1604f583ba4","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":"6c478ced-d572-4261-a7ae-34ec62418fca","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":"d3086274-eb18-4789-bd1b-a1604f583ba4","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":"6c478ced-d572-4261-a7ae-34ec62418fca","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":"13201e48-558a-4fd9-a676-e2ae9dfb3b48","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/13201e48-558a-4fd9-a676-e2ae9dfb3b48' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"13201e48-558a-4fd9-a676-e2ae9dfb3b48","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a1643dec2de691cfe150d9cb7eb6c481","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a1643dec2de691cfe150d9cb7eb6c481","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/d3086274-eb18-4789-bd1b-a1604f583ba4"},{"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/6c478ced-d572-4261-a7ae-34ec62418fca"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48"}}},"level":"info","message":"received a callback","requestID":"a1643dec2de691cfe150d9cb7eb6c481"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"fe4216b0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":550,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F13201e48-558a-4fd9-a676-e2ae9dfb3b48","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3e6348da-6006-4e36-a328-801424b743dc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.0491347} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":550,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.333521,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fe4216b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48","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":"fe4216b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"fe4216b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48 200 10ms","method":"GET","requestID":"fe4216b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 44ms","method":"POST","requestID":"a1643dec2de691cfe150d9cb7eb6c481","responseTime":44,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch","requestID":"a1643dec2de691cfe150d9cb7eb6c481"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fe480a20-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":551,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a86ecc54-7d32-419e-a2ae-5c64923ddb58","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.0892406} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":551,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.717504,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fe480a20-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","object_type":"device","rebac_allow":false,"scope_allow":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":"fe480a20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fe480a20-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d3086274-eb18-4789-bd1b-a1604f583ba4/signaling 200 14ms","method":"POST","requestID":"fe480a20-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/d3086274-eb18-4789-bd1b-a1604f583ba4/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fe4aa230-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":552,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f98e3d34-cc04-46a2-9186-f0b665c2205e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.1056862} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":552,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.722129,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fe4aa230-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"fe4aa230-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fe4aa230-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/6c478ced-d572-4261-a7ae-34ec62418fca/signaling 200 13ms","method":"POST","requestID":"fe4aa230-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/6c478ced-d572-4261-a7ae-34ec62418fca/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyMn0.iFCmK0CO57FY7t1eoy3hNwOlBLgPJLy-MAEIkRmdmcE","level":"info","message":"auth send jwt","requestID":"ec8b5bd86ca9b53754bda0bc01e901d6"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ec8b5bd86ca9b53754bda0bc01e901d6","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c","requestID":"ec8b5bd86ca9b53754bda0bc01e901d6"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":553,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":553,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.151986,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ec8b5bd86ca9b53754bda0bc01e901d6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348422,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyMn0.iFCmK0CO57FY7t1eoy3hNwOlBLgPJLy-MAEIkRmdmcE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ec8b5bd86ca9b53754bda0bc01e901d6","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c","requestID":"ec8b5bd86ca9b53754bda0bc01e901d6"} gateway-1 | {"time_local":"30/Jul/2024:14:07:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c HTTP/1.1","status": "200","body_bytes_sent":"1368","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ec8b5bd86ca9b53754bda0bc01e901d6"} experiment-1 | {"level":"info","message":"GET /experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c 200 15ms","method":"GET","requestID":"ec8b5bd86ca9b53754bda0bc01e901d6","responseTime":15,"status":200,"url":"/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyMn0.iFCmK0CO57FY7t1eoy3hNwOlBLgPJLy-MAEIkRmdmcE","level":"info","message":"auth send jwt","requestID":"572baed649a9b22896a640a92e7b5b16"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"572baed649a9b22896a640a92e7b5b16","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c","requestID":"572baed649a9b22896a640a92e7b5b16"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":554,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":554,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.230298,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"572baed649a9b22896a640a92e7b5b16","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348422,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyMn0.iFCmK0CO57FY7t1eoy3hNwOlBLgPJLy-MAEIkRmdmcE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"572baed649a9b22896a640a92e7b5b16","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Attempting to finish experiment","requestID":"572baed649a9b22896a640a92e7b5b16"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"fe559eb0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":555,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":555,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.163191,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fe559eb0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348422,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyMn0.iFCmK0CO57FY7t1eoy3hNwOlBLgPJLy-MAEIkRmdmcE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fe559eb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"d3086274-eb18-4789-bd1b-a1604f583ba4","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":"d3086274-eb18-4789-bd1b-a1604f583ba4","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":"d3086274-eb18-4789-bd1b-a1604f583ba4","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":"6c478ced-d572-4261-a7ae-34ec62418fca","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":"6c478ced-d572-4261-a7ae-34ec62418fca","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":"6c478ced-d572-4261-a7ae-34ec62418fca","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/13201e48-558a-4fd9-a676-e2ae9dfb3b48' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"13201e48-558a-4fd9-a676-e2ae9dfb3b48","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F13201e48-558a-4fd9-a676-e2ae9dfb3b48': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F13201e48-558a-4fd9-a676-e2ae9dfb3b48","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"71a73f2a-06c9-46b7-8755-10ad169fe904","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.1990178} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5a63676d064f45e0161c547844a25175","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"5a63676d064f45e0161c547844a25175","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1cbcb47f-f651-4377-9537-d91cfb783c9b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.199712} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"fe559eb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a5da55b0b7c5112ce2b9000cf3f5b65a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/d3086274-eb18-4789-bd1b-a1604f583ba4"},{"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/6c478ced-d572-4261-a7ae-34ec62418fca"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48"}}},"level":"info","message":"received a callback","requestID":"5a63676d064f45e0161c547844a25175"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a5da55b0b7c5112ce2b9000cf3f5b65a","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","driver":"device1","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","driver":"device1","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4"},{"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/6c478ced-d572-4261-a7ae-34ec62418fca"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48"}}},"level":"info","message":"received a callback","requestID":"a5da55b0b7c5112ce2b9000cf3f5b65a"} device-1 | {"data":{"peerconnection":"13201e48-558a-4fd9-a676-e2ae9dfb3b48","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"fe559eb0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48 204 54ms","method":"DELETE","requestID":"fe559eb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":54,"status":204,"url":"/peerconnections/13201e48-558a-4fd9-a676-e2ae9dfb3b48"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"},"level":"info","message":"Successfully finished experiment","requestID":"572baed649a9b22896a640a92e7b5b16"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fe618590-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":556,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd3086274-eb18-4789-bd1b-a1604f583ba4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9367c756-2063-4c3e-8a2c-7656170a3a04","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.2562895} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":556,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.979321,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fe618590-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d3086274-eb18-4789-bd1b-a1604f583ba4","object_type":"device","rebac_allow":false,"scope_allow":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":"fe618590-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fe618590-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d3086274-eb18-4789-bd1b-a1604f583ba4/signaling 200 14ms","method":"POST","requestID":"fe618590-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/d3086274-eb18-4789-bd1b-a1604f583ba4/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F307f3b3c-d35a-4197-9fa0-ec2e33e4c48c': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F307f3b3c-d35a-4197-9fa0-ec2e33e4c48c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"a3c75705-8b46-4d61-aae3-7a8b60b0d901","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.265201} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"503a885c-5639-4cf6-b029-674391d5cdcb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.2656796} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fe6444b0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"572baed649a9b22896a640a92e7b5b16","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":557,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6c478ced-d572-4261-a7ae-34ec62418fca","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"58de317f-6c89-42ec-b8a8-6205b726cf78","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.2745903} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":557,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.75273,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fe6444b0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca","object_type":"device","rebac_allow":false,"scope_allow":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":"fe6444b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fe6444b0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/6c478ced-d572-4261-a7ae-34ec62418fca/signaling 200 14ms","method":"POST","requestID":"fe6444b0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/6c478ced-d572-4261-a7ae-34ec62418fca/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c","requestID":"572baed649a9b22896a640a92e7b5b16"} gateway-1 | {"time_local":"30/Jul/2024:14:07:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.190","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"572baed649a9b22896a640a92e7b5b16"} gateway-1 | {"time_local":"30/Jul/2024:14:07:02 +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.674","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"12f8b9d739379768a25791d6fb43f857"} experiment-1 | {"level":"info","message":"DELETE /experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c 204 186ms","method":"DELETE","requestID":"572baed649a9b22896a640a92e7b5b16","responseTime":186,"status":204,"url":"/experiments/307f3b3c-d35a-4197-9fa0-ec2e33e4c48c"} gateway-1 | {"time_local":"30/Jul/2024:14:07:02 +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.684","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"489b19d96cc6808b4a8cb10c41c9fe54"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 140ms","method":"POST","requestID":"5a63676d064f45e0161c547844a25175","responseTime":140,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.145","http_referrer":"","http_user_agent":"node-fetch","requestID":"5a63676d064f45e0161c547844a25175"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 140ms","method":"POST","requestID":"a5da55b0b7c5112ce2b9000cf3f5b65a","responseTime":140,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.148","http_referrer":"","http_user_agent":"node-fetch","requestID":"a5da55b0b7c5112ce2b9000cf3f5b65a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyMn0.iFCmK0CO57FY7t1eoy3hNwOlBLgPJLy-MAEIkRmdmcE","level":"info","message":"auth send jwt","requestID":"a1df8d52977ff62309e9465f9470d740"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/6c478ced-d572-4261-a7ae-34ec62418fca' closed"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a1df8d52977ff62309e9465f9470d740","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"a1df8d52977ff62309e9465f9470d740"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":558,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":558,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.985628,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"a1df8d52977ff62309e9465f9470d740","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348422,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyMn0.iFCmK0CO57FY7t1eoy3hNwOlBLgPJLy-MAEIkRmdmcE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a1df8d52977ff62309e9465f9470d740","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/d3086274-eb18-4789-bd1b-a1604f583ba4' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"98ea07a4-db50-43bf-a8d1-045656b16074","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.371979} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a1df8d52977ff62309e9465f9470d740","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"653fed0c-34fc-42e3-af09-592fedd815e0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.3778393} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"a1df8d52977ff62309e9465f9470d740","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"b64463e8-513e-4c1f-8abe-2e74902228fd","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.3900816} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4a82551a-d032-4f07-af88-701559798836","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.3902972} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"a1df8d52977ff62309e9465f9470d740","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:02.390053991Z"}]},"request_id":"17255693-9629-408b-9293-aba51d2272e2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.39551} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a1df8d52977ff62309e9465f9470d740","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a1df8d52977ff62309e9465f9470d740"} gateway-1 | {"time_local":"30/Jul/2024:14:07:02 +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":"a1df8d52977ff62309e9465f9470d740"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"a1df8d52977ff62309e9465f9470d740","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyMn0.iFCmK0CO57FY7t1eoy3hNwOlBLgPJLy-MAEIkRmdmcE","level":"info","message":"auth send jwt","requestID":"a27666cb10d75110dfeb57db52b5d50a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a27666cb10d75110dfeb57db52b5d50a","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"a27666cb10d75110dfeb57db52b5d50a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":559,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":559,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.092285,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:02Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"a27666cb10d75110dfeb57db52b5d50a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348422,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyMn0.iFCmK0CO57FY7t1eoy3hNwOlBLgPJLy-MAEIkRmdmcE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a27666cb10d75110dfeb57db52b5d50a","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"bb06687a-c28d-474a-8283-41a1c1ce5c40","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.4209259} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a27666cb10d75110dfeb57db52b5d50a","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e0bc0cf4-781c-414d-8168-55288f798065","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.426812} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"a27666cb10d75110dfeb57db52b5d50a","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"098d53ab-dce2-4ddc-9e5d-c0a0b25f478d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.443405} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8f63640b-9dd1-4ece-b453-a59e0378a516","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.4437084} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"a27666cb10d75110dfeb57db52b5d50a","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:02.443371903Z"}]},"request_id":"e0832b97-e61b-4320-8c2c-15a82a906a5f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348422.4489129} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a27666cb10d75110dfeb57db52b5d50a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a27666cb10d75110dfeb57db52b5d50a"} gateway-1 | {"time_local":"30/Jul/2024:14:07:02 +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":"a27666cb10d75110dfeb57db52b5d50a"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"a27666cb10d75110dfeb57db52b5d50a","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9eb677d732a0d20530eee680a9664bea","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"9eb677d732a0d20530eee680a9664bea","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:07:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/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":"9eb677d732a0d20530eee680a9664bea"} device-1 | {"level":"info","message":"OPTIONS /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/websocket 200 1ms","method":"OPTIONS","requestID":"9eb677d732a0d20530eee680a9664bea","responseTime":2,"status":200,"url":"/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4","level":"info","message":"auth send jwt","requestID":"20aa70e95f9985878dc1d9e9575df3ed"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"20aa70e95f9985878dc1d9e9575df3ed","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"20aa70e95f9985878dc1d9e9575df3ed"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6f0b17ac6c4efd7b9820d664668181c0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6f0b17ac6c4efd7b9820d664668181c0","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:07:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/35732d35-6176-4946-900e-7aad9f9574cb/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":"6f0b17ac6c4efd7b9820d664668181c0"} device-1 | {"level":"info","message":"OPTIONS /devices/35732d35-6176-4946-900e-7aad9f9574cb/websocket 200 1ms","method":"OPTIONS","requestID":"6f0b17ac6c4efd7b9820d664668181c0","responseTime":1,"status":200,"url":"/devices/35732d35-6176-4946-900e-7aad9f9574cb/websocket"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":560,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":560,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.903537,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"20aa70e95f9985878dc1d9e9575df3ed","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"20aa70e95f9985878dc1d9e9575df3ed","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4","level":"info","message":"auth send jwt","requestID":"075f7cd0948895610c308ba1f4f68b5b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"075f7cd0948895610c308ba1f4f68b5b","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"075f7cd0948895610c308ba1f4f68b5b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":561,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":561,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.042901,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"075f7cd0948895610c308ba1f4f68b5b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"075f7cd0948895610c308ba1f4f68b5b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"20aa70e95f9985878dc1d9e9575df3ed"} device-1 | {"level":"info","message":"POST /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/websocket 200 24ms","method":"POST","requestID":"20aa70e95f9985878dc1d9e9575df3ed","responseTime":24,"status":200,"url":"/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:07:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.031","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"20aa70e95f9985878dc1d9e9575df3ed"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"075f7cd0948895610c308ba1f4f68b5b"} gateway-1 | {"time_local":"30/Jul/2024:14:07:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/35732d35-6176-4946-900e-7aad9f9574cb/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.028","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"075f7cd0948895610c308ba1f4f68b5b"} device-1 | {"level":"info","message":"POST /devices/35732d35-6176-4946-900e-7aad9f9574cb/websocket 200 21ms","method":"POST","requestID":"075f7cd0948895610c308ba1f4f68b5b","responseTime":21,"status":200,"url":"/devices/35732d35-6176-4946-900e-7aad9f9574cb/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4","level":"info","message":"auth send jwt","requestID":"bd1d9dab5f5ebb8bc755c40fc5f2099d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bd1d9dab5f5ebb8bc755c40fc5f2099d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bd1d9dab5f5ebb8bc755c40fc5f2099d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":562,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":562,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.739439,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bd1d9dab5f5ebb8bc755c40fc5f2099d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"bd1d9dab5f5ebb8bc755c40fc5f2099d","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:02.390053991Z"}]},"request_id":"602ee40e-8ff1-4de1-b458-15b0e7aed836","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.4674985} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bd1d9dab5f5ebb8bc755c40fc5f2099d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bd1d9dab5f5ebb8bc755c40fc5f2099d"} device-1 | {"level":"info","message":"GET /devices/35732d35-6176-4946-900e-7aad9f9574cb? 200 16ms","method":"GET","requestID":"bd1d9dab5f5ebb8bc755c40fc5f2099d","responseTime":16,"status":200,"url":"/devices/35732d35-6176-4946-900e-7aad9f9574cb?"} gateway-1 | {"time_local":"30/Jul/2024:14:07:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/35732d35-6176-4946-900e-7aad9f9574cb? 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":"bd1d9dab5f5ebb8bc755c40fc5f2099d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4","level":"info","message":"auth send jwt","requestID":"1f3ee3d91f3fdebfe95ece336b9c4aeb"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1f3ee3d91f3fdebfe95ece336b9c4aeb","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1f3ee3d91f3fdebfe95ece336b9c4aeb"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":563,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":563,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.022429,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"1f3ee3d91f3fdebfe95ece336b9c4aeb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1f3ee3d91f3fdebfe95ece336b9c4aeb","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:02.443371903Z"}]},"request_id":"8a394afd-b750-49ef-b81a-5e301f10bf6a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.4934678} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1f3ee3d91f3fdebfe95ece336b9c4aeb","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1f3ee3d91f3fdebfe95ece336b9c4aeb"} gateway-1 | {"time_local":"30/Jul/2024:14:07:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e? 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":"1f3ee3d91f3fdebfe95ece336b9c4aeb"} device-1 | {"level":"info","message":"GET /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e? 200 17ms","method":"GET","requestID":"1f3ee3d91f3fdebfe95ece336b9c4aeb","responseTime":17,"status":200,"url":"/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4","level":"info","message":"auth send jwt","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0d5bb9ed1ab395341532073fc8dcb21f","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":564,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":564,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.767659,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0d5bb9ed1ab395341532073fc8dcb21f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0d5bb9ed1ab395341532073fc8dcb21f","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Attempting to run experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Attempting to book experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Successfully booked experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ffc0c770-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ffc0ee80-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":565,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":565,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.060967,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ffc0c770-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ffc0c770-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Received request.","req_id":566,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Sent response.","req_id":566,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.07633,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ffc0ee80-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"ffc0ee80-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:02.390053991Z"}]},"request_id":"54ede993-dc33-4672-9bb0-07cc671aaf27","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.5616133} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ffc0c770-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:02.443371903Z"}]},"request_id":"0ab6c13a-7cbe-4f69-a94a-adc212a5d033","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.5658395} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ffc0c770-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/35732d35-6176-4946-900e-7aad9f9574cb? 200 16ms","method":"GET","requestID":"ffc0c770-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/35732d35-6176-4946-900e-7aad9f9574cb?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ffc0ee80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ffc0ee80-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e? 200 19ms","method":"GET","requestID":"ffc0ee80-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Setting up experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Successfully locked booking for experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Attempting to update booking for experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Successfully updated booking for experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Successfully set up experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ffcb9ce0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ffcbeb00-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ffcc3920-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Successfully running experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":567,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":567,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.773068,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Received request.","req_id":568,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ffcb9ce0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"ffcb9ce0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Sent response.","req_id":568,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.25852,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ffcbeb00-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"ffcbeb00-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:02.443371903Z"}]},"request_id":"57c09b6c-bc4d-4112-b2ef-5718fc5bae78","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.643464} authorization-1 | {"client_addr":"127.0.0.1:39018","level":"info","msg":"Received request.","req_id":569,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"ffcbeb00-4e7c-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:02.390053991Z"}]},"request_id":"1e69be0b-5770-4b13-9714-dcfb00b103a5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.6456928} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a54222d3-3b64-43ba-afc3-407c74716525","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.6458893} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"ffcb9ce0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:39018","level":"info","msg":"Sent response.","req_id":569,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.241078,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ffcc3920-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","object_type":"device","rebac_allow":false,"scope_allow":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":"ffcc3920-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ffcbeb00-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e? 200 29ms","method":"GET","requestID":"ffcbeb00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":29,"status":200,"url":"/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc96abaf3-b1b8-4576-b3ac-d65987a18d5e#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc96abaf3-b1b8-4576-b3ac-d65987a18d5e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"a3796b6f-8226-4778-9c9d-e4ca8aa3605f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.6539326} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ffcb9ce0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/35732d35-6176-4946-900e-7aad9f9574cb? 200 33ms","method":"GET","requestID":"ffcb9ce0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":33,"status":200,"url":"/devices/35732d35-6176-4946-900e-7aad9f9574cb?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a56b4972-130b-4bc4-8456-2bb7545377a8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.6543422} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ffcc3920-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"0d5bb9ed1ab395341532073fc8dcb21f","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"POST /devices/35732d35-6176-4946-900e-7aad9f9574cb/signaling 200 29ms","method":"POST","requestID":"ffcc3920-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":29,"status":200,"url":"/devices/35732d35-6176-4946-900e-7aad9f9574cb/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ffd0f410-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":570,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ffd22c90-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"40c50217-837d-49c7-a9cc-9acb797f6ef5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.6652782} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":570,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.670648,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ffd0f410-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","object_type":"device","rebac_allow":false,"scope_allow":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":"ffd0f410-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":571,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ffd0f410-4e7c-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"level":"info","message":"POST /experiments? 201 164ms","method":"POST","requestID":"0d5bb9ed1ab395341532073fc8dcb21f","responseTime":164,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"30/Jul/2024:14:07:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1211","request_time":"0.170","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} device-1 | {"level":"info","message":"POST /devices/35732d35-6176-4946-900e-7aad9f9574cb/signaling 200 14ms","method":"POST","requestID":"ffd0f410-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/35732d35-6176-4946-900e-7aad9f9574cb/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e18d549d-4510-40bc-812d-a5c4cabb7ee0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.675822} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ffd3da40-4e7c-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4","level":"info","message":"auth send jwt","requestID":"e8c9980bfe9553cef3c7419d09b4db9c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e8c9980bfe9553cef3c7419d09b4db9c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e8c9980bfe9553cef3c7419d09b4db9c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":571,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":8.849808,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ffd22c90-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","object_type":"device","rebac_allow":false,"scope_allow":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":"ffd22c90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ffd22c90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/signaling 200 19ms","method":"POST","requestID":"ffd22c90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/signaling"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Received request.","req_id":572,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:39018","level":"info","msg":"Received request.","req_id":573,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:39018","level":"info","msg":"Sent response.","req_id":573,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.026499,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e8c9980bfe9553cef3c7419d09b4db9c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e8c9980bfe9553cef3c7419d09b4db9c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Sent response.","req_id":572,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.750073,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"14ae74a5-69a9-46bb-9990-7ed7d826bcba","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.6865928} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ffd3da40-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","object_type":"device","rebac_allow":false,"scope_allow":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":"ffd3da40-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ffd3da40-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/signaling 200 16ms","method":"POST","requestID":"ffd3da40-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:02.390053991Z"}]},"request_id":"4f77ec86-ae95-44d9-8262-9db6122be99c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.6925864} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"e8c9980bfe9553cef3c7419d09b4db9c","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Building connection plan","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} 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":"f7e1a0fe-fa3e-4c4e-8526-60001e4641dd"},{"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":"1e1fb8a4-5b1c-4c37-a781-a4dd334f5336"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"c3fd2b2a-a914-46eb-aad3-2a6dca3aed26"}]},"level":"info","message":"Built pairwise service configurations","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} 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/8256af9d-32f0-42a6-93fa-11c64cbb5f4e"},{"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/35732d35-6176-4946-900e-7aad9f9574cb"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"ffd70e90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e8c9980bfe9553cef3c7419d09b4db9c"} device-1 | {"level":"info","message":"GET /devices/35732d35-6176-4946-900e-7aad9f9574cb? 200 21ms","method":"GET","requestID":"e8c9980bfe9553cef3c7419d09b4db9c","responseTime":21,"status":200,"url":"/devices/35732d35-6176-4946-900e-7aad9f9574cb?"} gateway-1 | {"time_local":"30/Jul/2024:14:07:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/35732d35-6176-4946-900e-7aad9f9574cb? 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":"e8c9980bfe9553cef3c7419d09b4db9c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":574,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":574,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.997664,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ffd70e90-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ffd70e90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4","level":"info","message":"auth send jwt","requestID":"4b8218e4e8745680244e6534bc695551"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4b8218e4e8745680244e6534bc695551","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4b8218e4e8745680244e6534bc695551"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":575,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":575,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.851934,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"4b8218e4e8745680244e6534bc695551","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4b8218e4e8745680244e6534bc695551","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"f809c031-7f56-479a-b945-2e41bb069202","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.7133594} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d08128d5-382a-4870-8583-2eba82395f35","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.713693} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:02.443371903Z"}]},"request_id":"a4bcb2ca-17fa-42e7-a5c7-f27b32d2a5d1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.714538} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"ffd70e90-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4b8218e4e8745680244e6534bc695551","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4b8218e4e8745680244e6534bc695551"} gateway-1 | {"time_local":"30/Jul/2024:14:07:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e? 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":"4b8218e4e8745680244e6534bc695551"} device-1 | {"level":"info","message":"GET /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e? 200 14ms","method":"GET","requestID":"4b8218e4e8745680244e6534bc695551","responseTime":14,"status":200,"url":"/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"ffd70e90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"ffd70e90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38'","requestID":"ffd70e90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38'","requestID":"ffd70e90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"ffd70e90-4e7c-11ef-b6a3-8dff1d026ae9"} 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":"ffd70e90-4e7c-11ef-b6a3-8dff1d026ae9","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":"ffd70e90-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38","device":"8256af9d-32f0-42a6-93fa-11c64cbb5f4e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38","device":"35732d35-6176-4946-900e-7aad9f9574cb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":true} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"0d5bb9ed1ab395341532073fc8dcb21f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ffdfc120-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":576,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e55ed3da-afb3-486c-83dc-a09031631b1e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.75911} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":576,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.690897,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ffdfc120-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ffdfc120-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ffdfc120-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/35732d35-6176-4946-900e-7aad9f9574cb/signaling 200 11ms","method":"POST","requestID":"ffdfc120-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/35732d35-6176-4946-900e-7aad9f9574cb/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ffe1bcf0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"device":"35732d35-6176-4946-900e-7aad9f9574cb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":577,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} device-1 | {"content":{"canTrickle":true},"device":"35732d35-6176-4946-900e-7aad9f9574cb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8393630c-f41c-442e-a365-9a1dfeb354ab","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.7729967} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":577,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.984986,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ffe1bcf0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ffe1bcf0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ffe1bcf0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/signaling 200 11ms","method":"POST","requestID":"ffe1bcf0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/signaling"} device-1 | {"device":"8256af9d-32f0-42a6-93fa-11c64cbb5f4e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"8256af9d-32f0-42a6-93fa-11c64cbb5f4e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 4248611993421998852 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:8L1p\r\na=ice-pwd:rkgafFa6qAb1n0tH1m+f5F1l\r\na=ice-options:trickle\r\na=fingerprint:sha-256 39:5A:DF:75:FF:BD:46:54:AB:12:41:DE:D9:84:D5:64:79:36:A6:5C:73:BF:4F:7D:4E:DC:FF:D2:10:14:3B:40\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"35732d35-6176-4946-900e-7aad9f9574cb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 3263689525340436533 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:kg5g\r\na=ice-pwd:0Riq/IxG3trUmfiUdvzXjjDW\r\na=ice-options:trickle\r\na=fingerprint:sha-256 22:00:4B:C7:B8:8C:68:9C:21:EF:E0:91:57:DA:26:6A:13:E5:00:9F:03:51:CA:27:0C:2A:FD:C2:D5:9D:80:CD\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"8256af9d-32f0-42a6-93fa-11c64cbb5f4e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2372842942 1 udp 2113937151 ca9d7dd3-b003-4be0-a2ce-1787aa9952ad.local 42244 typ host generation 0 ufrag kg5g network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"8256af9d-32f0-42a6-93fa-11c64cbb5f4e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2288433894 1 udp 1677729535 141.24.211.56 42244 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag kg5g network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"8256af9d-32f0-42a6-93fa-11c64cbb5f4e","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/8256af9d-32f0-42a6-93fa-11c64cbb5f4e'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e'"} device-1 | {"content":{"candidate":"candidate:2324018039 1 udp 2113937151 7abbae44-7db9-4722-9f33-10bc50ec4de8.local 42058 typ host generation 0 ufrag 8L1p network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"35732d35-6176-4946-900e-7aad9f9574cb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2195585200 1 udp 1677729535 141.24.211.56 42058 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 8L1p network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"35732d35-6176-4946-900e-7aad9f9574cb","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/35732d35-6176-4946-900e-7aad9f9574cb'"} device-1 | {"device":"35732d35-6176-4946-900e-7aad9f9574cb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"8256af9d-32f0-42a6-93fa-11c64cbb5f4e","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/38ffb87c-cf9c-4de1-9a40-2b1b01484e38' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"38ffb87c-cf9c-4de1-9a40-2b1b01484e38","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8256af9d-32f0-42a6-93fa-11c64cbb5f4e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"35732d35-6176-4946-900e-7aad9f9574cb","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"69f372870c338b56aa5e77912ffa3949","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"35732d35-6176-4946-900e-7aad9f9574cb","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":"69f372870c338b56aa5e77912ffa3949","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"8256af9d-32f0-42a6-93fa-11c64cbb5f4e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"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/8256af9d-32f0-42a6-93fa-11c64cbb5f4e"},{"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/35732d35-6176-4946-900e-7aad9f9574cb"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38"}}},"level":"info","message":"received a callback","requestID":"69f372870c338b56aa5e77912ffa3949"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"69f372870c338b56aa5e77912ffa3949","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.010","http_referrer":"","http_user_agent":"node-fetch","requestID":"69f372870c338b56aa5e77912ffa3949"} device-1 | {"device":"8256af9d-32f0-42a6-93fa-11c64cbb5f4e","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"38ffb87c-cf9c-4de1-9a40-2b1b01484e38","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"38ffb87c-cf9c-4de1-9a40-2b1b01484e38","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/38ffb87c-cf9c-4de1-9a40-2b1b01484e38' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"38ffb87c-cf9c-4de1-9a40-2b1b01484e38","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f321af1439068fb5c5e4b61cb463e9b2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f321af1439068fb5c5e4b61cb463e9b2","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/8256af9d-32f0-42a6-93fa-11c64cbb5f4e"},{"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/35732d35-6176-4946-900e-7aad9f9574cb"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38"}}},"level":"info","message":"received a callback","requestID":"f321af1439068fb5c5e4b61cb463e9b2"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"ffed7cc0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":578,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F38ffb87c-cf9c-4de1-9a40-2b1b01484e38","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"34ddfebb-652c-472f-83f7-f0fc349988b5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.84808} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":578,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.157858,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ffed7cc0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38","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":"ffed7cc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"ffed7cc0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38 200 7ms","method":"GET","requestID":"ffed7cc0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 31ms","method":"POST","requestID":"f321af1439068fb5c5e4b61cb463e9b2","responseTime":31,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.033","http_referrer":"","http_user_agent":"node-fetch","requestID":"f321af1439068fb5c5e4b61cb463e9b2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fff19b70-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":579,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cd823ca9-f47f-4c9e-95a9-20b29919625d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.875232} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":579,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.095955,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fff19b70-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","object_type":"device","rebac_allow":false,"scope_allow":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":"fff19b70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fff19b70-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/signaling 200 7ms","method":"POST","requestID":"fff19b70-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"fff2fb00-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":580,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"663f0c98-3e0f-4717-bba4-1d2d05cb25ea","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.8843963} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":580,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.19076,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fff2fb00-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","object_type":"device","rebac_allow":false,"scope_allow":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":"fff2fb00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"fff2fb00-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/35732d35-6176-4946-900e-7aad9f9574cb/signaling 200 8ms","method":"POST","requestID":"fff2fb00-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/35732d35-6176-4946-900e-7aad9f9574cb/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4","level":"info","message":"auth send jwt","requestID":"59913c869a460e00922deff2914868e0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"59913c869a460e00922deff2914868e0","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e","requestID":"59913c869a460e00922deff2914868e0"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":581,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":581,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.214148,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"59913c869a460e00922deff2914868e0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"59913c869a460e00922deff2914868e0","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e","requestID":"59913c869a460e00922deff2914868e0"} experiment-1 | {"level":"info","message":"GET /experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e 200 11ms","method":"GET","requestID":"59913c869a460e00922deff2914868e0","responseTime":11,"status":200,"url":"/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"} gateway-1 | {"time_local":"30/Jul/2024:14:07:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e HTTP/1.1","status": "200","body_bytes_sent":"1284","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"59913c869a460e00922deff2914868e0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4","level":"info","message":"auth send jwt","requestID":"8e5a655889043c14143eef16edee3043"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8e5a655889043c14143eef16edee3043","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e","requestID":"8e5a655889043c14143eef16edee3043"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":582,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":582,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.724605,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8e5a655889043c14143eef16edee3043","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8e5a655889043c14143eef16edee3043","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Attempting to finish experiment","requestID":"8e5a655889043c14143eef16edee3043"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"fffe6cb0-4e7c-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":583,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":583,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.362544,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:04Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fffe6cb0-4e7c-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348424,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNH0.D6STLQi93bK7eDvhtQwvrkZAe-dpLIaBb3BbmP5Z0C4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fffe6cb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38","device":"8256af9d-32f0-42a6-93fa-11c64cbb5f4e","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38","device":"35732d35-6176-4946-900e-7aad9f9574cb","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/38ffb87c-cf9c-4de1-9a40-2b1b01484e38' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"38ffb87c-cf9c-4de1-9a40-2b1b01484e38","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F38ffb87c-cf9c-4de1-9a40-2b1b01484e38': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F38ffb87c-cf9c-4de1-9a40-2b1b01484e38","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"b0af904b-e703-4cae-aa04-122802de5673","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.981128} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ae3754b196be7320b28eb986c469c053","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"ae3754b196be7320b28eb986c469c053","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1b08c25a-5b55-4282-b5a1-59ec3746c5e3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348424.9817584} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"fffe6cb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b75c58dc14fbb48f59fa8a20382c9d6c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/8256af9d-32f0-42a6-93fa-11c64cbb5f4e"},{"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/35732d35-6176-4946-900e-7aad9f9574cb"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38"}}},"level":"info","message":"received a callback","requestID":"ae3754b196be7320b28eb986c469c053"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b75c58dc14fbb48f59fa8a20382c9d6c","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/8256af9d-32f0-42a6-93fa-11c64cbb5f4e"},{"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/35732d35-6176-4946-900e-7aad9f9574cb"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38"}}},"level":"info","message":"received a callback","requestID":"b75c58dc14fbb48f59fa8a20382c9d6c"} device-1 | {"data":{"peerconnection":"38ffb87c-cf9c-4de1-9a40-2b1b01484e38","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"fffe6cb0-4e7c-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38 204 47ms","method":"DELETE","requestID":"fffe6cb0-4e7c-11ef-b6a3-8dff1d026ae9","responseTime":47,"status":204,"url":"/peerconnections/38ffb87c-cf9c-4de1-9a40-2b1b01484e38"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"},"level":"info","message":"Successfully finished experiment","requestID":"8e5a655889043c14143eef16edee3043"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"00096930-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":584,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:05Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8256af9d-32f0-42a6-93fa-11c64cbb5f4e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"72e4a95c-e30e-468a-99bf-1a069198b462","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.0361643} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":584,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.359025,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"00096930-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e","object_type":"device","rebac_allow":false,"scope_allow":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":"00096930-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"00096930-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc96abaf3-b1b8-4576-b3ac-d65987a18d5e': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc96abaf3-b1b8-4576-b3ac-d65987a18d5e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"b1a8dcf1-2a45-45d4-b257-d00c2425b018","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.0418327} device-1 | {"level":"info","message":"POST /devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/signaling 200 15ms","method":"POST","requestID":"00096930-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e/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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dcc4cb68-61ed-4884-a1cf-eaabc837fd1d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.0421667} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"8e5a655889043c14143eef16edee3043","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"000c0140-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":585,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:05Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F35732d35-6176-4946-900e-7aad9f9574cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0569a4ac-be9e-483f-a4ec-b2331d69a61c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.0494123} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":585,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.062992,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"000c0140-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"000c0140-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"000c0140-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/35732d35-6176-4946-900e-7aad9f9574cb/signaling 200 10ms","method":"POST","requestID":"000c0140-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/35732d35-6176-4946-900e-7aad9f9574cb/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e","requestID":"8e5a655889043c14143eef16edee3043"} gateway-1 | {"time_local":"30/Jul/2024:14:07:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.172","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8e5a655889043c14143eef16edee3043"} experiment-1 | {"level":"info","message":"DELETE /experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e 204 168ms","method":"DELETE","requestID":"8e5a655889043c14143eef16edee3043","responseTime":168,"status":204,"url":"/experiments/c96abaf3-b1b8-4576-b3ac-d65987a18d5e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 131ms","method":"POST","requestID":"ae3754b196be7320b28eb986c469c053","responseTime":131,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.135","http_referrer":"","http_user_agent":"node-fetch","requestID":"ae3754b196be7320b28eb986c469c053"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 129ms","method":"POST","requestID":"b75c58dc14fbb48f59fa8a20382c9d6c","responseTime":129,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.137","http_referrer":"","http_user_agent":"node-fetch","requestID":"b75c58dc14fbb48f59fa8a20382c9d6c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNX0.0Au4ZypkpXuSQIdjqqNBaLAeyib3UDb86i8ZTyDai1o","level":"info","message":"auth send jwt","requestID":"e0a47c3fe01be4405b0d315086cd31cd"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e0a47c3fe01be4405b0d315086cd31cd","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e0a47c3fe01be4405b0d315086cd31cd"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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":"0.685","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d566fa6fadf19a2dc8b0b46984ab9bed"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":586,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":586,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.968076,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e0a47c3fe01be4405b0d315086cd31cd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348425,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNX0.0Au4ZypkpXuSQIdjqqNBaLAeyib3UDb86i8ZTyDai1o"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e0a47c3fe01be4405b0d315086cd31cd","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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":"0.701","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"36490d5dc274b2e58aedbe6dfe8dd680"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/35732d35-6176-4946-900e-7aad9f9574cb' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/8256af9d-32f0-42a6-93fa-11c64cbb5f4e' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8630c2ec-2200-4259-9a2b-c3529f4a4cd1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.1444118} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e0a47c3fe01be4405b0d315086cd31cd","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6c13803e-51b1-493a-a018-ca37034abd82","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.1485827} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e0a47c3fe01be4405b0d315086cd31cd","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"2624b98f-e366-4d7d-86a0-c302ce36135a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.1597047} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b0f02ea0-0d36-4716-a81a-1675912f1879","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.159784} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"e0a47c3fe01be4405b0d315086cd31cd","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:05.159672179Z"}]},"request_id":"f663eb0c-e698-4b66-bca0-058e6f665892","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.1636815} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e0a47c3fe01be4405b0d315086cd31cd","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e0a47c3fe01be4405b0d315086cd31cd"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e0a47c3fe01be4405b0d315086cd31cd"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"e0a47c3fe01be4405b0d315086cd31cd","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNX0.0Au4ZypkpXuSQIdjqqNBaLAeyib3UDb86i8ZTyDai1o","level":"info","message":"auth send jwt","requestID":"7ad431709b8bffbef0c3ec04dec5cf4a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7ad431709b8bffbef0c3ec04dec5cf4a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"7ad431709b8bffbef0c3ec04dec5cf4a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":587,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:05Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":587,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.91294,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"7ad431709b8bffbef0c3ec04dec5cf4a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348425,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyNX0.0Au4ZypkpXuSQIdjqqNBaLAeyib3UDb86i8ZTyDai1o"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7ad431709b8bffbef0c3ec04dec5cf4a","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c53b1873-92da-4703-b34b-131fc57d81c8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.1855822} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7ad431709b8bffbef0c3ec04dec5cf4a","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"04e744af-b228-454d-9f27-e88cb825fb70","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.1898901} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"7ad431709b8bffbef0c3ec04dec5cf4a","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"4e48876f-f95e-435d-a9ab-5fa16bf9b2b9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.2060616} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"90677522-d959-4b27-9215-37ef3eafe393","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.206242} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"7ad431709b8bffbef0c3ec04dec5cf4a","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:05.206038272Z"}]},"request_id":"393c11ed-267d-4269-a63f-8074e138b748","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348425.2100828} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7ad431709b8bffbef0c3ec04dec5cf4a","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"7ad431709b8bffbef0c3ec04dec5cf4a"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"7ad431709b8bffbef0c3ec04dec5cf4a","responseTime":41,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7ad431709b8bffbef0c3ec04dec5cf4a"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"72a19ec3a5820a2ac033969b360fc169","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"72a19ec3a5820a2ac033969b360fc169","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/f51abed3-9b68-4afc-af4f-bd35b5165464/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":"72a19ec3a5820a2ac033969b360fc169"} device-1 | {"level":"info","message":"OPTIONS /devices/f51abed3-9b68-4afc-af4f-bd35b5165464/websocket 200 0ms","method":"OPTIONS","requestID":"72a19ec3a5820a2ac033969b360fc169","responseTime":0,"status":200,"url":"/devices/f51abed3-9b68-4afc-af4f-bd35b5165464/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0a2ff6ce3f9466484db3a057ed158d2d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0a2ff6ce3f9466484db3a057ed158d2d","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/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":"0a2ff6ce3f9466484db3a057ed158d2d"} device-1 | {"level":"info","message":"OPTIONS /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/websocket 200 1ms","method":"OPTIONS","requestID":"0a2ff6ce3f9466484db3a057ed158d2d","responseTime":1,"status":200,"url":"/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ","level":"info","message":"auth send jwt","requestID":"c59a5a24c3cbae661267aa85f567ba63"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c59a5a24c3cbae661267aa85f567ba63","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c59a5a24c3cbae661267aa85f567ba63"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ","level":"info","message":"auth send jwt","requestID":"f74cdb1a2c39c06657fd0593350375c1"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"f74cdb1a2c39c06657fd0593350375c1","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"f74cdb1a2c39c06657fd0593350375c1"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":588,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":588,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.443887,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"c59a5a24c3cbae661267aa85f567ba63","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"c59a5a24c3cbae661267aa85f567ba63","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":589,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":589,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.677376,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f74cdb1a2c39c06657fd0593350375c1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f74cdb1a2c39c06657fd0593350375c1","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c59a5a24c3cbae661267aa85f567ba63"} device-1 | {"level":"info","message":"POST /devices/f51abed3-9b68-4afc-af4f-bd35b5165464/websocket 200 25ms","method":"POST","requestID":"c59a5a24c3cbae661267aa85f567ba63","responseTime":25,"status":200,"url":"/devices/f51abed3-9b68-4afc-af4f-bd35b5165464/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f51abed3-9b68-4afc-af4f-bd35b5165464/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.031","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"c59a5a24c3cbae661267aa85f567ba63"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"f74cdb1a2c39c06657fd0593350375c1"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.040","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f74cdb1a2c39c06657fd0593350375c1"} device-1 | {"level":"info","message":"POST /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/websocket 200 31ms","method":"POST","requestID":"f74cdb1a2c39c06657fd0593350375c1","responseTime":31,"status":200,"url":"/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ","level":"info","message":"auth send jwt","requestID":"4fd63c5a75d428e757597b9dfbe0e874"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4fd63c5a75d428e757597b9dfbe0e874","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4fd63c5a75d428e757597b9dfbe0e874"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":590,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":590,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.787883,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"4fd63c5a75d428e757597b9dfbe0e874","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4fd63c5a75d428e757597b9dfbe0e874","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:05.159672179Z"}]},"request_id":"d1d4fe9f-284c-4c4e-a042-35681f2772a9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.2121325} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4fd63c5a75d428e757597b9dfbe0e874","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4fd63c5a75d428e757597b9dfbe0e874"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f51abed3-9b68-4afc-af4f-bd35b5165464? 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":"4fd63c5a75d428e757597b9dfbe0e874"} device-1 | {"level":"info","message":"GET /devices/f51abed3-9b68-4afc-af4f-bd35b5165464? 200 15ms","method":"GET","requestID":"4fd63c5a75d428e757597b9dfbe0e874","responseTime":15,"status":200,"url":"/devices/f51abed3-9b68-4afc-af4f-bd35b5165464?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ","level":"info","message":"auth send jwt","requestID":"682969f41045af162a6b897750afb78d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"682969f41045af162a6b897750afb78d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"682969f41045af162a6b897750afb78d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":591,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":591,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.666884,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"682969f41045af162a6b897750afb78d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"682969f41045af162a6b897750afb78d","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:05.206038272Z"}]},"request_id":"99d07054-2318-451b-92cd-fe6b6361774c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.2316234} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"682969f41045af162a6b897750afb78d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"682969f41045af162a6b897750afb78d"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5? 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":"682969f41045af162a6b897750afb78d"} device-1 | {"level":"info","message":"GET /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5? 200 16ms","method":"GET","requestID":"682969f41045af162a6b897750afb78d","responseTime":16,"status":200,"url":"/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ","level":"info","message":"auth send jwt","requestID":"a444e92cefcee4ca6e75c43176c69566"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a444e92cefcee4ca6e75c43176c69566","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"a444e92cefcee4ca6e75c43176c69566"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":592,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":592,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.143574,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"a444e92cefcee4ca6e75c43176c69566","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a444e92cefcee4ca6e75c43176c69566","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Attempting to run experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Attempting to book experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Successfully booked experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"01626980-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0162b7a0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":593,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":593,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.894014,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Received request.","req_id":594,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"01626980-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"01626980-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Sent response.","req_id":594,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.097075,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0162b7a0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0162b7a0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:05.159672179Z"}]},"request_id":"b7e81494-bdcb-4182-add5-b0355a1dd899","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.3017793} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"01626980-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:05.206038272Z"}]},"request_id":"cc836991-db7d-42e4-a4da-cff6faa50f3f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.304198} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0162b7a0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"01626980-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/f51abed3-9b68-4afc-af4f-bd35b5165464? 200 23ms","method":"GET","requestID":"01626980-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":23,"status":200,"url":"/devices/f51abed3-9b68-4afc-af4f-bd35b5165464?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0162b7a0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5? 200 22ms","method":"GET","requestID":"0162b7a0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":22,"status":200,"url":"/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Setting up experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Successfully locked booking for experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Attempting to update booking for experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Successfully updated booking for experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Successfully set up experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"016d3ef0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"016d6600-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"016db420-4e7d-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Successfully running experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":595,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":595,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.000388,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Received request.","req_id":596,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"016d3ef0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"016d3ef0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Sent response.","req_id":596,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.734773,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:39018","level":"info","msg":"Received request.","req_id":597,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"016d6600-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"016d6600-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39018","level":"info","msg":"Sent response.","req_id":597,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.508172,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e15b9459-ed54-47e5-828c-e4b3628edbf5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.3685882} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"016db420-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","object_type":"device","rebac_allow":false,"scope_allow":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":"016db420-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:05.159672179Z"}]},"request_id":"fea1728c-01ba-46d6-b660-89512b6d8e4b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.3727608} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"016d3ef0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"016db420-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:05.206038272Z"}]},"request_id":"abcb609a-27e2-454a-819b-d8f3ff4f669f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.3762915} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"016d6600-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/f51abed3-9b68-4afc-af4f-bd35b5165464/signaling 200 15ms","method":"POST","requestID":"016db420-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/f51abed3-9b68-4afc-af4f-bd35b5165464/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"01709a50-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"016d3ef0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/f51abed3-9b68-4afc-af4f-bd35b5165464? 200 26ms","method":"GET","requestID":"016d3ef0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":26,"status":200,"url":"/devices/f51abed3-9b68-4afc-af4f-bd35b5165464?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":598,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"016d6600-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5? 200 26ms","method":"GET","requestID":"016d6600-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":26,"status":200,"url":"/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5e0b5bc6-8f42-443d-87e2-214f22114459","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.3880231} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F7ab4bb20-aec3-41af-8b1a-6e8527ab0584#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F7ab4bb20-aec3-41af-8b1a-6e8527ab0584","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"edf8926b-afd4-411f-8680-cfb8310b3b55","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.3886158} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":598,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.649593,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0171d2d0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"01709a50-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","object_type":"device","rebac_allow":false,"scope_allow":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":"01709a50-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b14e6628-b40d-4352-96cf-5cb2e88dd5ab","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.3892055} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"a444e92cefcee4ca6e75c43176c69566","responseTime":26,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"01709a50-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/signaling 200 14ms","method":"POST","requestID":"01709a50-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":599,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"04eb218d-9f66-4c70-b53d-ed0fde9e03ab","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.3983185} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":599,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.412535,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0171d2d0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"0171d2d0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"a444e92cefcee4ca6e75c43176c69566"} experiment-1 | {"level":"info","message":"POST /experiments? 201 158ms","method":"POST","requestID":"a444e92cefcee4ca6e75c43176c69566","responseTime":158,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1211","request_time":"0.163","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a444e92cefcee4ca6e75c43176c69566"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0171d2d0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f51abed3-9b68-4afc-af4f-bd35b5165464/signaling 200 14ms","method":"POST","requestID":"0171d2d0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/f51abed3-9b68-4afc-af4f-bd35b5165464/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"017443d0-4e7d-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ","level":"info","message":"auth send jwt","requestID":"360251b12af3e3ef71a1fa347e8696f0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"360251b12af3e3ef71a1fa347e8696f0","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"360251b12af3e3ef71a1fa347e8696f0"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":600,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Received request.","req_id":601,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"14ec3f0e-ca02-4ee4-814d-406474173989","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.411347} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":600,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.516598,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Sent response.","req_id":601,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.796511,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"017443d0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"017443d0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"360251b12af3e3ef71a1fa347e8696f0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"360251b12af3e3ef71a1fa347e8696f0","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"017443d0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/signaling 200 11ms","method":"POST","requestID":"017443d0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:05.159672179Z"}]},"request_id":"2261212e-efc7-4a01-a1cd-a33c49c9867c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.4170396} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Building connection plan","requestID":"a444e92cefcee4ca6e75c43176c69566"} 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":"5aea57ab-ba46-4358-9ee7-db4f707cb730"},{"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":"2eea4ea3-5538-4ac7-aa28-9c55ca002c6a"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"54ca3cda-a8fb-4482-b594-88dd75e008b1"}]},"level":"info","message":"Built pairwise service configurations","requestID":"a444e92cefcee4ca6e75c43176c69566"} 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/f51abed3-9b68-4afc-af4f-bd35b5165464"},{"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/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"a444e92cefcee4ca6e75c43176c69566"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"360251b12af3e3ef71a1fa347e8696f0","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"01768dc0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"360251b12af3e3ef71a1fa347e8696f0"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":602,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f51abed3-9b68-4afc-af4f-bd35b5165464? 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":"360251b12af3e3ef71a1fa347e8696f0"} device-1 | {"level":"info","message":"GET /devices/f51abed3-9b68-4afc-af4f-bd35b5165464? 200 15ms","method":"GET","requestID":"360251b12af3e3ef71a1fa347e8696f0","responseTime":15,"status":200,"url":"/devices/f51abed3-9b68-4afc-af4f-bd35b5165464?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":602,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.94107,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"01768dc0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"01768dc0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ","level":"info","message":"auth send jwt","requestID":"28acf80c3b0a5f1a6875e0cf523dccbf"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"28acf80c3b0a5f1a6875e0cf523dccbf","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"28acf80c3b0a5f1a6875e0cf523dccbf"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":603,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":603,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.749652,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"28acf80c3b0a5f1a6875e0cf523dccbf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"28acf80c3b0a5f1a6875e0cf523dccbf","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"db27a7a2-3151-4eb0-acc7-c19925ea300b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.4344087} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dc5ac8a9-e26b-4da9-8bc7-50dc139604a4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.4345367} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"01768dc0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:05.206038272Z"}]},"request_id":"ffdea931-7654-43f4-8f6e-76a2abc0872a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.4381995} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"28acf80c3b0a5f1a6875e0cf523dccbf","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"01768dc0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"01768dc0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828'","requestID":"01768dc0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"28acf80c3b0a5f1a6875e0cf523dccbf"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5? 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":"28acf80c3b0a5f1a6875e0cf523dccbf"} device-1 | {"level":"info","message":"GET /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5? 200 21ms","method":"GET","requestID":"28acf80c3b0a5f1a6875e0cf523dccbf","responseTime":21,"status":200,"url":"/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5?"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828'","requestID":"01768dc0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"01768dc0-4e7d-11ef-b6a3-8dff1d026ae9"} 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":"01768dc0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":32,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"01768dc0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828","device":"f51abed3-9b68-4afc-af4f-bd35b5165464","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/50c3901c-0257-4d5c-b1d7-9374c94cd828","device":"8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","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/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"a444e92cefcee4ca6e75c43176c69566"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"01802ab0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":604,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f78b2224-4eb1-4c26-b7d5-94624aa03a8d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.4880888} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":604,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.621181,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"01802ab0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","object_type":"device","rebac_allow":false,"scope_allow":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":"01802ab0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"01802ab0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f51abed3-9b68-4afc-af4f-bd35b5165464/signaling 200 9ms","method":"POST","requestID":"01802ab0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/f51abed3-9b68-4afc-af4f-bd35b5165464/signaling"} device-1 | {"device":"f51abed3-9b68-4afc-af4f-bd35b5165464","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":605,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} device-1 | {"content":{"canTrickle":true},"device":"f51abed3-9b68-4afc-af4f-bd35b5165464","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0181d860-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"device":"8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"251313ee-6343-4b79-9e10-fd774425b6b0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.4997327} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":605,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.350404,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0181d860-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0181d860-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0181d860-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/signaling 200 10ms","method":"POST","requestID":"0181d860-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 8144405147561372027 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:x/nu\r\na=ice-pwd:p7TYYo2t0lCrNw2rmlDQYEDt\r\na=ice-options:trickle\r\na=fingerprint:sha-256 E2:55:1B:79:33:D4:47:CA:53:1B:82:03:AF:4D:AC:F2:74:6B:DF:C3:A4:FB:42:4B:45:96:9B:A6:79:68:DB:68\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 1377550859653808642 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:qrS7\r\na=ice-pwd:p/lmEbUE1POy0zHqxOdbws3a\r\na=ice-options:trickle\r\na=fingerprint:sha-256 24:99:07:40:7C:CA:64:09:8D:60:E7:D8:1A:DA:DD:63:44:AC:17:3C:24:39:3B:23:2E:5D:F9:7A:0D:A5:DE:EA\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"f51abed3-9b68-4afc-af4f-bd35b5165464","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1624340139 1 udp 2113937151 7fcb4744-cb3f-4551-a7f1-9a20c78d2d8d.local 44740 typ host generation 0 ufrag qrS7 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"f51abed3-9b68-4afc-af4f-bd35b5165464","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1753824620 1 udp 1677729535 141.24.211.56 44740 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag qrS7 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"f51abed3-9b68-4afc-af4f-bd35b5165464","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/f51abed3-9b68-4afc-af4f-bd35b5165464'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464'"} device-1 | {"content":{"candidate":"candidate:1535158719 1 udp 2113937151 6f5571f5-6a1e-4227-93cc-95a2925c7011.local 34597 typ host generation 0 ufrag x/nu network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1586013927 1 udp 1677729535 141.24.211.56 34597 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag x/nu network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","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/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5'"} device-1 | {"device":"8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"f51abed3-9b68-4afc-af4f-bd35b5165464","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"f51abed3-9b68-4afc-af4f-bd35b5165464","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","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/50c3901c-0257-4d5c-b1d7-9374c94cd828' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"50c3901c-0257-4d5c-b1d7-9374c94cd828","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"f51abed3-9b68-4afc-af4f-bd35b5165464","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":"a5c8c11f43c44097b36f0a356810a61a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a5c8c11f43c44097b36f0a356810a61a","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/f51abed3-9b68-4afc-af4f-bd35b5165464"},{"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/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828"}}},"level":"info","message":"received a callback","requestID":"a5c8c11f43c44097b36f0a356810a61a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"a5c8c11f43c44097b36f0a356810a61a","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"a5c8c11f43c44097b36f0a356810a61a"} device-1 | {"device":"f51abed3-9b68-4afc-af4f-bd35b5165464","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"50c3901c-0257-4d5c-b1d7-9374c94cd828","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"50c3901c-0257-4d5c-b1d7-9374c94cd828","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/50c3901c-0257-4d5c-b1d7-9374c94cd828' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"50c3901c-0257-4d5c-b1d7-9374c94cd828","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f333cbbfe5807ca680afcc0a05c699fe","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f333cbbfe5807ca680afcc0a05c699fe","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/f51abed3-9b68-4afc-af4f-bd35b5165464"},{"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/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828"}}},"level":"info","message":"received a callback","requestID":"f333cbbfe5807ca680afcc0a05c699fe"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"018c86c0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":606,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F50c3901c-0257-4d5c-b1d7-9374c94cd828","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"64d8fbd4-efd3-4f04-b128-ca2a65c4f7e7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.5687273} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":606,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.892581,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"018c86c0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828","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":"018c86c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"018c86c0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828 200 8ms","method":"GET","requestID":"018c86c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 31ms","method":"POST","requestID":"f333cbbfe5807ca680afcc0a05c699fe","responseTime":31,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.034","http_referrer":"","http_user_agent":"node-fetch","requestID":"f333cbbfe5807ca680afcc0a05c699fe"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0190cc80-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":607,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"80293bf5-45e1-4652-bacd-990f856c470d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.5961072} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":607,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.001381,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0190cc80-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","object_type":"device","rebac_allow":false,"scope_allow":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":"0190cc80-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0190cc80-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f51abed3-9b68-4afc-af4f-bd35b5165464/signaling 200 7ms","method":"POST","requestID":"0190cc80-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/devices/f51abed3-9b68-4afc-af4f-bd35b5165464/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"01922c10-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":608,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3bd509d4-52d1-4a43-98bf-5c85d02a4b9a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.605124} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":608,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.227974,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"01922c10-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","object_type":"device","rebac_allow":false,"scope_allow":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":"01922c10-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"01922c10-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/signaling 200 7ms","method":"POST","requestID":"01922c10-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ","level":"info","message":"auth send jwt","requestID":"8a0c257342b67e6f361ab46aba0f848a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"8a0c257342b67e6f361ab46aba0f848a","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584","requestID":"8a0c257342b67e6f361ab46aba0f848a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":609,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":609,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.964806,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8a0c257342b67e6f361ab46aba0f848a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8a0c257342b67e6f361ab46aba0f848a","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584","requestID":"8a0c257342b67e6f361ab46aba0f848a"} experiment-1 | {"level":"info","message":"GET /experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584 200 10ms","method":"GET","requestID":"8a0c257342b67e6f361ab46aba0f848a","responseTime":10,"status":200,"url":"/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584 HTTP/1.1","status": "200","body_bytes_sent":"1284","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8a0c257342b67e6f361ab46aba0f848a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ","level":"info","message":"auth send jwt","requestID":"7504fb5e685a52dfcbe3c70cc934fd5d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7504fb5e685a52dfcbe3c70cc934fd5d","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584","requestID":"7504fb5e685a52dfcbe3c70cc934fd5d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":610,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":610,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.699075,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"7504fb5e685a52dfcbe3c70cc934fd5d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"7504fb5e685a52dfcbe3c70cc934fd5d","responseTime":2,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Attempting to finish experiment","requestID":"7504fb5e685a52dfcbe3c70cc934fd5d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"019bc900-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":611,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":611,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.890063,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"019bc900-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"019bc900-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828","device":"f51abed3-9b68-4afc-af4f-bd35b5165464","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828","device":"8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","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/50c3901c-0257-4d5c-b1d7-9374c94cd828' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"50c3901c-0257-4d5c-b1d7-9374c94cd828","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F50c3901c-0257-4d5c-b1d7-9374c94cd828': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F50c3901c-0257-4d5c-b1d7-9374c94cd828","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"459a73f4-78ae-4b73-927a-5e5283299ef6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.6790526} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f7964fbf422f6356e2892b45af23752e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f7964fbf422f6356e2892b45af23752e","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"94fd15b7-0a15-4b23-9c5a-41d52fda3bbf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.6794024} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"019bc900-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a91c8f5835fb74e59c9a2e98c8b6c76e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/f51abed3-9b68-4afc-af4f-bd35b5165464"},{"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/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828"}}},"level":"info","message":"received a callback","requestID":"f7964fbf422f6356e2892b45af23752e"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a91c8f5835fb74e59c9a2e98c8b6c76e","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/f51abed3-9b68-4afc-af4f-bd35b5165464"},{"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/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828"}}},"level":"info","message":"received a callback","requestID":"a91c8f5835fb74e59c9a2e98c8b6c76e"} device-1 | {"data":{"peerconnection":"50c3901c-0257-4d5c-b1d7-9374c94cd828","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"019bc900-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828 204 33ms","method":"DELETE","requestID":"019bc900-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":33,"status":204,"url":"/peerconnections/50c3901c-0257-4d5c-b1d7-9374c94cd828"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"},"level":"info","message":"Successfully finished experiment","requestID":"7504fb5e685a52dfcbe3c70cc934fd5d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"01a39130-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":612,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff51abed3-9b68-4afc-af4f-bd35b5165464","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"679d8a06-8c29-4c1a-8b5c-9d891e5d489f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.720317} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":612,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.544065,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"01a39130-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"01a39130-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"01a39130-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/f51abed3-9b68-4afc-af4f-bd35b5165464/signaling 200 10ms","method":"POST","requestID":"01a39130-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/f51abed3-9b68-4afc-af4f-bd35b5165464/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"01a565f0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":613,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b91312aa-7968-47c5-993d-e0e1982bce4a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.7316508} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":613,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.052615,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"01a565f0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"01a565f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F7ab4bb20-aec3-41af-8b1a-6e8527ab0584': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F7ab4bb20-aec3-41af-8b1a-6e8527ab0584","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"0d678fab-c417-432b-9ad9-a0a72303e833","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.7344668} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"863aceca-ce2a-49c6-b451-3a286cebe475","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.7347586} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"01a565f0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/signaling 200 10ms","method":"POST","requestID":"01a565f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"7504fb5e685a52dfcbe3c70cc934fd5d","responseTime":23,"status":200,"url":"/relations/update"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584","requestID":"7504fb5e685a52dfcbe3c70cc934fd5d"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.150","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7504fb5e685a52dfcbe3c70cc934fd5d"} experiment-1 | {"level":"info","message":"DELETE /experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584 204 148ms","method":"DELETE","requestID":"7504fb5e685a52dfcbe3c70cc934fd5d","responseTime":148,"status":204,"url":"/experiments/7ab4bb20-aec3-41af-8b1a-6e8527ab0584"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 124ms","method":"POST","requestID":"f7964fbf422f6356e2892b45af23752e","responseTime":124,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.127","http_referrer":"","http_user_agent":"node-fetch","requestID":"f7964fbf422f6356e2892b45af23752e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 124ms","method":"POST","requestID":"a91c8f5835fb74e59c9a2e98c8b6c76e","responseTime":124,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.128","http_referrer":"","http_user_agent":"node-fetch","requestID":"a91c8f5835fb74e59c9a2e98c8b6c76e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ","level":"info","message":"auth send jwt","requestID":"050b236523e83e2fc697746739715e6b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"050b236523e83e2fc697746739715e6b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"050b236523e83e2fc697746739715e6b"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/8cf8f4cd-cf41-46a5-9d43-729a92a6c9d5' closed"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2850","request_time":"0.643","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9fbe55529d8a7675063daa5811880d4a"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2848","request_time":"0.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":"cc415996c48bb31e761bd03356e7945f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":614,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":614,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.780253,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/f51abed3-9b68-4afc-af4f-bd35b5165464' closed"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"050b236523e83e2fc697746739715e6b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"050b236523e83e2fc697746739715e6b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"dd5130ed-b2e0-46e5-9789-968a4d379611","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.8362143} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"050b236523e83e2fc697746739715e6b","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8780ecc8-f410-47a9-93fa-c36fe82d4588","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.8408954} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"050b236523e83e2fc697746739715e6b","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"222c2723-a5fc-4e10-a806-8d497a7e1c6c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.8510525} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ccabab5c-64db-466e-839a-539fc01d2391","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.8512208} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"050b236523e83e2fc697746739715e6b","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:07.851024882Z"}]},"request_id":"01f2962c-76e3-403c-8b59-e132b38b7041","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.8550596} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"050b236523e83e2fc697746739715e6b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"050b236523e83e2fc697746739715e6b"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"050b236523e83e2fc697746739715e6b","responseTime":47,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"050b236523e83e2fc697746739715e6b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ","level":"info","message":"auth send jwt","requestID":"26cff5f6e33dd05702728bffadcb4f8b"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"26cff5f6e33dd05702728bffadcb4f8b","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"26cff5f6e33dd05702728bffadcb4f8b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":615,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":615,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.684732,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"26cff5f6e33dd05702728bffadcb4f8b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348427,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyN30.0PBfRn2xxIbJoZBnhsiEiXzWpBJ7xgMDjIITxIx00cQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"26cff5f6e33dd05702728bffadcb4f8b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7d700e46-1cf2-4482-b090-3d32e7dec1f6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.8799667} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"26cff5f6e33dd05702728bffadcb4f8b","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8473e19d-5e3e-4931-b458-16383eda35b5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.8848128} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"26cff5f6e33dd05702728bffadcb4f8b","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"ace608d1-01a0-44a8-aa5b-d13db2c282d5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.902735} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a43135af-1084-40b1-a63b-af8d9445c404","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.9029} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"26cff5f6e33dd05702728bffadcb4f8b","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:07.902695881Z"}]},"request_id":"6d3e7a00-61c8-4301-ba9c-e1ccdc9d72b0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348427.907093} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"26cff5f6e33dd05702728bffadcb4f8b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"26cff5f6e33dd05702728bffadcb4f8b"} gateway-1 | {"time_local":"30/Jul/2024:14:07:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"26cff5f6e33dd05702728bffadcb4f8b"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"26cff5f6e33dd05702728bffadcb4f8b","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOH0.rJcbbH8tZfcEUyv49hQ5fMw0Vk3eRGN3n3FCvngiKAs","level":"info","message":"auth send jwt","requestID":"068135a2d8cd4e231d97af53d6207ddd"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"068135a2d8cd4e231d97af53d6207ddd","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"068135a2d8cd4e231d97af53d6207ddd"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":616,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":616,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.126742,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"068135a2d8cd4e231d97af53d6207ddd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348428,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOH0.rJcbbH8tZfcEUyv49hQ5fMw0Vk3eRGN3n3FCvngiKAs"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"068135a2d8cd4e231d97af53d6207ddd","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:07.902695881Z"}]},"request_id":"73b2f98c-a384-4a46-a9e5-43bc7bce085c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348428.4023185} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"068135a2d8cd4e231d97af53d6207ddd","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c553347d-0d2a-4ba7-a593-eec6b4c4898a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348428.4069018} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"068135a2d8cd4e231d97af53d6207ddd","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:07.902695881Z"}]},"request_id":"15c7cf9a-de0e-4c30-82d3-4b458274a756","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348428.4186661} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"068135a2d8cd4e231d97af53d6207ddd","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"068135a2d8cd4e231d97af53d6207ddd"} gateway-1 | {"time_local":"30/Jul/2024:14:07:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.034","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"068135a2d8cd4e231d97af53d6207ddd"} device-1 | {"level":"info","message":"PATCH /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85 200 29ms","method":"PATCH","requestID":"068135a2d8cd4e231d97af53d6207ddd","responseTime":29,"status":200,"url":"/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOH0.rJcbbH8tZfcEUyv49hQ5fMw0Vk3eRGN3n3FCvngiKAs","level":"info","message":"auth send jwt","requestID":"0a8b28e7e222441d29ff015bd066b340"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0a8b28e7e222441d29ff015bd066b340","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0a8b28e7e222441d29ff015bd066b340"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":617,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:08Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":617,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.232551,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0a8b28e7e222441d29ff015bd066b340","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348428,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOH0.rJcbbH8tZfcEUyv49hQ5fMw0Vk3eRGN3n3FCvngiKAs"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0a8b28e7e222441d29ff015bd066b340","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0a8b28e7e222441d29ff015bd066b340"} gateway-1 | {"time_local":"30/Jul/2024:14:07:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.022","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"0a8b28e7e222441d29ff015bd066b340"} device-1 | {"level":"info","message":"POST /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85/websocket 200 19ms","method":"POST","requestID":"0a8b28e7e222441d29ff015bd066b340","responseTime":19,"status":200,"url":"/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"17470d8e690164d698d1bda6245e0f91","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"17470d8e690164d698d1bda6245e0f91","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:07:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/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":"17470d8e690164d698d1bda6245e0f91"} device-1 | {"level":"info","message":"OPTIONS /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/websocket 200 1ms","method":"OPTIONS","requestID":"17470d8e690164d698d1bda6245e0f91","responseTime":1,"status":200,"url":"/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOX0.c2YCO2nJT_BiZ7xGLabJv0lFQ82frvIDVnFpArgtkdk","level":"info","message":"auth send jwt","requestID":"f544acafaadcca00ba1a5acca776c779"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f544acafaadcca00ba1a5acca776c779","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"f544acafaadcca00ba1a5acca776c779"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":618,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:09Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":618,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.374026,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:09Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f544acafaadcca00ba1a5acca776c779","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348429,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOX0.c2YCO2nJT_BiZ7xGLabJv0lFQ82frvIDVnFpArgtkdk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f544acafaadcca00ba1a5acca776c779","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"f544acafaadcca00ba1a5acca776c779"} gateway-1 | {"time_local":"30/Jul/2024:14:07:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.028","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f544acafaadcca00ba1a5acca776c779"} device-1 | {"level":"info","message":"POST /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/websocket 200 21ms","method":"POST","requestID":"f544acafaadcca00ba1a5acca776c779","responseTime":21,"status":200,"url":"/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOX0.c2YCO2nJT_BiZ7xGLabJv0lFQ82frvIDVnFpArgtkdk","level":"info","message":"auth send jwt","requestID":"faf62eaa64c7e8bae51bc38aaf15e314"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"faf62eaa64c7e8bae51bc38aaf15e314","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"faf62eaa64c7e8bae51bc38aaf15e314"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":619,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:09Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":619,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.746079,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"faf62eaa64c7e8bae51bc38aaf15e314","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348429,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOX0.c2YCO2nJT_BiZ7xGLabJv0lFQ82frvIDVnFpArgtkdk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"faf62eaa64c7e8bae51bc38aaf15e314","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:07.851024882Z"}]},"request_id":"5d81d181-5f90-420f-9bbb-bf19b1a872a9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348429.9536588} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"faf62eaa64c7e8bae51bc38aaf15e314","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"faf62eaa64c7e8bae51bc38aaf15e314"} device-1 | {"level":"info","message":"GET /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e? 200 15ms","method":"GET","requestID":"faf62eaa64c7e8bae51bc38aaf15e314","responseTime":15,"status":200,"url":"/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e?"} gateway-1 | {"time_local":"30/Jul/2024:14:07:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e? 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":"faf62eaa64c7e8bae51bc38aaf15e314"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOX0.c2YCO2nJT_BiZ7xGLabJv0lFQ82frvIDVnFpArgtkdk","level":"info","message":"auth send jwt","requestID":"d0185fabc8a8a77a75f4ae28b9e2088b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d0185fabc8a8a77a75f4ae28b9e2088b","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d0185fabc8a8a77a75f4ae28b9e2088b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":620,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:09Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":620,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.212673,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d0185fabc8a8a77a75f4ae28b9e2088b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348429,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOX0.c2YCO2nJT_BiZ7xGLabJv0lFQ82frvIDVnFpArgtkdk"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d0185fabc8a8a77a75f4ae28b9e2088b","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:07.902695881Z"}]},"request_id":"decca27b-5b5d-49c8-bc28-d7eed3b89752","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348429.9764466} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"d0185fabc8a8a77a75f4ae28b9e2088b","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d0185fabc8a8a77a75f4ae28b9e2088b"} gateway-1 | {"time_local":"30/Jul/2024:14:07:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85? 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":"d0185fabc8a8a77a75f4ae28b9e2088b"} device-1 | {"level":"info","message":"GET /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85? 200 15ms","method":"GET","requestID":"d0185fabc8a8a77a75f4ae28b9e2088b","responseTime":15,"status":200,"url":"/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOX0.c2YCO2nJT_BiZ7xGLabJv0lFQ82frvIDVnFpArgtkdk","level":"info","message":"auth send jwt","requestID":"8c055bba37be15ec5fd88129a6040e5e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"8c055bba37be15ec5fd88129a6040e5e","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"8c055bba37be15ec5fd88129a6040e5e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":621,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:09Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":621,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.782333,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:09Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8c055bba37be15ec5fd88129a6040e5e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348429,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOX0.c2YCO2nJT_BiZ7xGLabJv0lFQ82frvIDVnFpArgtkdk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8c055bba37be15ec5fd88129a6040e5e","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Attempting to run experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Attempting to book experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Successfully booked experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"03039660-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0303e480-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":622,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":622,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.789778,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Received request.","req_id":623,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"03039660-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348429,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOX0.c2YCO2nJT_BiZ7xGLabJv0lFQ82frvIDVnFpArgtkdk"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"03039660-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Sent response.","req_id":623,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.715736,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0303e480-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348429,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOX0.c2YCO2nJT_BiZ7xGLabJv0lFQ82frvIDVnFpArgtkdk"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0303e480-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:07.851024882Z"}]},"request_id":"d0188a11-8239-4fa6-9a2d-9a9933b9eb6d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.0349672} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"03039660-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:07.902695881Z"}]},"request_id":"f7570561-4eee-4bc5-b03d-c823f4b0dd64","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.036556} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"0303e480-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"03039660-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e? 200 23ms","method":"GET","requestID":"03039660-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":23,"status":200,"url":"/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0303e480-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85? 200 22ms","method":"GET","requestID":"0303e480-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":22,"status":200,"url":"/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Setting up experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Successfully locked booking for experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Attempting to update booking for experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Successfully updated booking for experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Successfully set up experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"030ee100-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"030f0810-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"030f5630-4e7d-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Successfully running experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":624,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":624,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.294957,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Received request.","req_id":625,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"030ee100-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348429,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOX0.c2YCO2nJT_BiZ7xGLabJv0lFQ82frvIDVnFpArgtkdk"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"030ee100-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Sent response.","req_id":625,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.583219,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"client_addr":"127.0.0.1:39018","level":"info","msg":"Received request.","req_id":626,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"030f0810-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348429,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOX0.c2YCO2nJT_BiZ7xGLabJv0lFQ82frvIDVnFpArgtkdk"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"030f0810-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7155e1e4-3d67-4907-a5b6-7f0be93af59f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.1064913} authorization-1 | {"client_addr":"127.0.0.1:39018","level":"info","msg":"Sent response.","req_id":626,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.108636,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"030f5630-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","object_type":"device","rebac_allow":false,"scope_allow":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":"030f5630-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"030f5630-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:07.851024882Z"}]},"request_id":"f531bb96-d5a9-4bad-82c8-e88403915183","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.1130311} device-1 | {"level":"info","message":"POST /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/signaling 200 17ms","method":"POST","requestID":"030f5630-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"030ee100-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:07.902695881Z"}]},"request_id":"cf8d8326-fad1-478a-b971-2e23fe4566bc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.1168494} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"030f0810-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"03128a80-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":627,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9e70a77b-5fb3-4233-beb1-740a3b013997#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9e70a77b-5fb3-4233-beb1-740a3b013997","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"ab3145e6-6b2d-42e6-92e5-b1fd8526dfe7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.126437} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"860c5ca9-f3a2-4887-9cf8-406d3d3d63f1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.1265395} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"030ee100-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ae447678-fa3b-4f27-ae1d-ac7b7dcf3a9a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.1267657} device-1 | {"level":"info","message":"GET /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e? 200 31ms","method":"GET","requestID":"030ee100-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":31,"status":200,"url":"/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"030f0810-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85? 200 31ms","method":"GET","requestID":"030f0810-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":31,"status":200,"url":"/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"8c055bba37be15ec5fd88129a6040e5e","responseTime":23,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":627,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.06445,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"03128a80-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","object_type":"device","rebac_allow":false,"scope_allow":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":"03128a80-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"03143830-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"03128a80-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85/signaling 200 14ms","method":"POST","requestID":"03128a80-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85/signaling"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":628,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:10Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"8c055bba37be15ec5fd88129a6040e5e"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"03b5624e-4e84-47c5-85c4-c6b3ba9f0be8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.1362555} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":628,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.210485,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:10Z"} gateway-1 | {"time_local":"30/Jul/2024:14:07:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1215","request_time":"0.155","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8c055bba37be15ec5fd88129a6040e5e"} experiment-1 | {"level":"info","message":"POST /experiments? 201 149ms","method":"POST","requestID":"8c055bba37be15ec5fd88129a6040e5e","responseTime":149,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"03143830-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"03143830-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"03143830-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/signaling 200 9ms","method":"POST","requestID":"03143830-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzMH0.xf2qw0aVvP_bDqgrjBnHCxeP0bPqvAuCIhih4D4BGrk","level":"info","message":"auth send jwt","requestID":"c15924a6e9ae6f157c384a2203085d98"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c15924a6e9ae6f157c384a2203085d98","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c15924a6e9ae6f157c384a2203085d98"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"03160cf0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":629,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":629,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.506542,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"c15924a6e9ae6f157c384a2203085d98","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348430,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzMH0.xf2qw0aVvP_bDqgrjBnHCxeP0bPqvAuCIhih4D4BGrk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c15924a6e9ae6f157c384a2203085d98","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Received request.","req_id":630,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"87e0e6ca-6b17-49d4-a62d-a7ed50be9e3b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.1487668} authorization-1 | {"client_addr":"127.0.0.1:39002","level":"info","msg":"Sent response.","req_id":630,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.572671,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"03160cf0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"03160cf0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:07.851024882Z"}]},"request_id":"64722ae8-b7be-4674-a100-ab3b03dd683b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.1502726} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c15924a6e9ae6f157c384a2203085d98","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"03160cf0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85/signaling 200 11ms","method":"POST","requestID":"03160cf0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c15924a6e9ae6f157c384a2203085d98"} gateway-1 | {"time_local":"30/Jul/2024:14:07:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e? 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":"c15924a6e9ae6f157c384a2203085d98"} device-1 | {"level":"info","message":"GET /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e? 200 13ms","method":"GET","requestID":"c15924a6e9ae6f157c384a2203085d98","responseTime":13,"status":200,"url":"/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Building connection plan","requestID":"8c055bba37be15ec5fd88129a6040e5e"} 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":"ab2faba9-5e0c-48cb-ad18-7cc57422f59b"},{"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":"60268157-06af-47ff-8abf-2c1ac617c991"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"845b7568-f07d-493e-afc5-685b77c554e5"}]},"level":"info","message":"Built pairwise service configurations","requestID":"8c055bba37be15ec5fd88129a6040e5e"} 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/45d0129a-013c-4c6b-a40f-a5d0efcb504e"},{"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/da7e6c14-0051-4eee-9fb3-155f4ad68c85"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"8c055bba37be15ec5fd88129a6040e5e"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"03182fd0-4e7d-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzMH0.xf2qw0aVvP_bDqgrjBnHCxeP0bPqvAuCIhih4D4BGrk","level":"info","message":"auth send jwt","requestID":"7599a619f9b7292f290b63f9bce52224"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7599a619f9b7292f290b63f9bce52224","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":631,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:10Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7599a619f9b7292f290b63f9bce52224"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":631,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.021772,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"03182fd0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348429,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQyOX0.c2YCO2nJT_BiZ7xGLabJv0lFQ82frvIDVnFpArgtkdk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"03182fd0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":632,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":632,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.844019,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"7599a619f9b7292f290b63f9bce52224","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348430,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzMH0.xf2qw0aVvP_bDqgrjBnHCxeP0bPqvAuCIhih4D4BGrk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7599a619f9b7292f290b63f9bce52224","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:07.902695881Z"}]},"request_id":"077b7209-cafc-4f01-82e0-097e5357c43b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.1682389} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7599a619f9b7292f290b63f9bce52224","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"96904082-9f0d-4253-a7b8-5b24049fe5bb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.1692786} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e447fd89-2247-4094-b19d-4cb2a5cf8ff5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.1696343} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"03182fd0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7599a619f9b7292f290b63f9bce52224"} device-1 | {"level":"info","message":"GET /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85? 200 13ms","method":"GET","requestID":"7599a619f9b7292f290b63f9bce52224","responseTime":13,"status":200,"url":"/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85?"} gateway-1 | {"time_local":"30/Jul/2024:14:07:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85? 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":"7599a619f9b7292f290b63f9bce52224"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"03182fd0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"03182fd0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e'","requestID":"03182fd0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e'","requestID":"03182fd0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"03182fd0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 28ms","method":"POST","requestID":"03182fd0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":28,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"03182fd0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e","device":"45d0129a-013c-4c6b-a40f-a5d0efcb504e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"8c055bba37be15ec5fd88129a6040e5e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0320e260-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":633,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a001d16c-5b7a-466e-bb7c-e70f1bb6ef4f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.2195287} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":633,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.106243,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0320e260-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0320e260-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0320e260-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/signaling 200 9ms","method":"POST","requestID":"0320e260-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"03229010-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":634,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7cd67426-582f-41f9-b543-2a1321bb7c2d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348430.2304475} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":634,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.572469,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"03229010-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"03229010-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"03229010-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85/signaling 200 9ms","method":"POST","requestID":"03229010-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85/signaling"} device-1 | {"device":"45d0129a-013c-4c6b-a40f-a5d0efcb504e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"45d0129a-013c-4c6b-a40f-a5d0efcb504e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"da7e6c14-0051-4eee-9fb3-155f4ad68c85","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":"fac04634-2378-4a6b-ac81-b6a76cccde7e","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 5557753279360989016 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:s8np\r\na=ice-pwd:uR5OoctIg2uw2O8MasoJvKzP\r\na=ice-options:trickle\r\na=fingerprint:sha-256 E1:F2:6F:AD:65:74:0F:BD:46:E8:39:EF:58:96:63:82:3D:9C:E9:6C:9C:89:7D:11:85:48:BF:A0:9B:84:A6:3C\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"45d0129a-013c-4c6b-a40f-a5d0efcb504e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1631131705 1 udp 2113937151 d4ef9e25-7997-4b5b-9ace-7150ebbd75a0.local 33590 typ host generation 0 ufrag s8np network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"45d0129a-013c-4c6b-a40f-a5d0efcb504e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"45d0129a-013c-4c6b-a40f-a5d0efcb504e","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/fac04634-2378-4a6b-ac81-b6a76cccde7e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"fac04634-2378-4a6b-ac81-b6a76cccde7e","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"65d61259121d6fef26cf42dde4214161","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"65d61259121d6fef26cf42dde4214161","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"da7e6c14-0051-4eee-9fb3-155f4ad68c85","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":"da7e6c14-0051-4eee-9fb3-155f4ad68c85","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":"da7e6c14-0051-4eee-9fb3-155f4ad68c85","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 | {"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/45d0129a-013c-4c6b-a40f-a5d0efcb504e"},{"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/da7e6c14-0051-4eee-9fb3-155f4ad68c85"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e"}}},"level":"info","message":"received a callback","requestID":"65d61259121d6fef26cf42dde4214161"} device-1 | {"content":{"candidate":"candidate:1680938849 1 udp 1677729535 141.24.211.56 33590 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag s8np network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"45d0129a-013c-4c6b-a40f-a5d0efcb504e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"45d0129a-013c-4c6b-a40f-a5d0efcb504e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e'"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"65d61259121d6fef26cf42dde4214161","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"65d61259121d6fef26cf42dde4214161"} device-1 | {"data":{"peerconnection":"fac04634-2378-4a6b-ac81-b6a76cccde7e","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"da7e6c14-0051-4eee-9fb3-155f4ad68c85","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":"45d0129a-013c-4c6b-a40f-a5d0efcb504e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"da7e6c14-0051-4eee-9fb3-155f4ad68c85","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":"fac04634-2378-4a6b-ac81-b6a76cccde7e","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"45d0129a-013c-4c6b-a40f-a5d0efcb504e","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"fac04634-2378-4a6b-ac81-b6a76cccde7e","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"149eeb26a05620df70e29f78f952e1a8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"149eeb26a05620df70e29f78f952e1a8","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/45d0129a-013c-4c6b-a40f-a5d0efcb504e"},{"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/da7e6c14-0051-4eee-9fb3-155f4ad68c85"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e"}}},"level":"info","message":"received a callback","requestID":"149eeb26a05620df70e29f78f952e1a8"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"046aa070-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":635,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ffac04634-2378-4a6b-ac81-b6a76cccde7e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"47c47863-4278-425e-92b7-862499087625","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.382441} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":635,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":4.132494,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"046aa070-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"046aa070-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"046aa070-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e 200 13ms","method":"GET","requestID":"046aa070-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 44ms","method":"POST","requestID":"149eeb26a05620df70e29f78f952e1a8","responseTime":44,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch","requestID":"149eeb26a05620df70e29f78f952e1a8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"047045c0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":636,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"897e041c-b1d7-4e3b-b304-cc2769b2f8a7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.4196928} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":636,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.213301,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"047045c0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","object_type":"device","rebac_allow":false,"scope_allow":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":"047045c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"047045c0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/signaling 200 15ms","method":"POST","requestID":"047045c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"047304e0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":637,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"161bf5a6-db6d-4f2f-b06e-1f564a845e98","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.437023} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":637,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.670698,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"047304e0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","object_type":"device","rebac_allow":false,"scope_allow":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":"047304e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"047304e0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85/signaling 200 14ms","method":"POST","requestID":"047304e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzMn0.jkZoOmad3i762qOab2UHjOZQnd9xyOSmFj2aLUgUzgg","level":"info","message":"auth send jwt","requestID":"44a7cfbb862424e6c2a54fad73b85307"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"44a7cfbb862424e6c2a54fad73b85307","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/9e70a77b-5fb3-4233-beb1-740a3b013997","requestID":"44a7cfbb862424e6c2a54fad73b85307"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":638,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":638,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.233108,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"44a7cfbb862424e6c2a54fad73b85307","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348432,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzMn0.jkZoOmad3i762qOab2UHjOZQnd9xyOSmFj2aLUgUzgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"44a7cfbb862424e6c2a54fad73b85307","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/9e70a77b-5fb3-4233-beb1-740a3b013997","requestID":"44a7cfbb862424e6c2a54fad73b85307"} gateway-1 | {"time_local":"30/Jul/2024:14:07:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/9e70a77b-5fb3-4233-beb1-740a3b013997 HTTP/1.1","status": "200","body_bytes_sent":"1288","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"44a7cfbb862424e6c2a54fad73b85307"} experiment-1 | {"level":"info","message":"GET /experiments/9e70a77b-5fb3-4233-beb1-740a3b013997 200 16ms","method":"GET","requestID":"44a7cfbb862424e6c2a54fad73b85307","responseTime":16,"status":200,"url":"/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzMn0.jkZoOmad3i762qOab2UHjOZQnd9xyOSmFj2aLUgUzgg","level":"info","message":"auth send jwt","requestID":"61c7a328ca820badda6f6adc819cdcf6"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"61c7a328ca820badda6f6adc819cdcf6","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/9e70a77b-5fb3-4233-beb1-740a3b013997","requestID":"61c7a328ca820badda6f6adc819cdcf6"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":639,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":639,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.326069,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"61c7a328ca820badda6f6adc819cdcf6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348432,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzMn0.jkZoOmad3i762qOab2UHjOZQnd9xyOSmFj2aLUgUzgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"61c7a328ca820badda6f6adc819cdcf6","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Attempting to finish experiment","requestID":"61c7a328ca820badda6f6adc819cdcf6"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"047f39e0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":640,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":640,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.179784,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"047f39e0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348432,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzMn0.jkZoOmad3i762qOab2UHjOZQnd9xyOSmFj2aLUgUzgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"047f39e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e","device":"45d0129a-013c-4c6b-a40f-a5d0efcb504e","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"da7e6c14-0051-4eee-9fb3-155f4ad68c85","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":"da7e6c14-0051-4eee-9fb3-155f4ad68c85","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":"da7e6c14-0051-4eee-9fb3-155f4ad68c85","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/fac04634-2378-4a6b-ac81-b6a76cccde7e' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"fac04634-2378-4a6b-ac81-b6a76cccde7e","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ffac04634-2378-4a6b-ac81-b6a76cccde7e': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ffac04634-2378-4a6b-ac81-b6a76cccde7e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"54638c0a-edc6-4e89-ace7-b6af7932a926","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.5362039} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2742033798c60355d1b1b3a1a5928152","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"acfedf2c-3580-43ca-af05-5189951d5e99","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.536811} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2742033798c60355d1b1b3a1a5928152","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/45d0129a-013c-4c6b-a40f-a5d0efcb504e"},{"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/da7e6c14-0051-4eee-9fb3-155f4ad68c85"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e"}}},"level":"info","message":"received a callback","requestID":"2742033798c60355d1b1b3a1a5928152"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4b12dbdbcf1adec0c941fe476dc73e26","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"047f39e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4b12dbdbcf1adec0c941fe476dc73e26","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/45d0129a-013c-4c6b-a40f-a5d0efcb504e"},{"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/da7e6c14-0051-4eee-9fb3-155f4ad68c85"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e"}}},"level":"info","message":"received a callback","requestID":"4b12dbdbcf1adec0c941fe476dc73e26"} device-1 | {"data":{"peerconnection":"fac04634-2378-4a6b-ac81-b6a76cccde7e","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"047f39e0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e 204 53ms","method":"DELETE","requestID":"047f39e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":53,"status":204,"url":"/peerconnections/fac04634-2378-4a6b-ac81-b6a76cccde7e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"},"level":"info","message":"Successfully finished experiment","requestID":"61c7a328ca820badda6f6adc819cdcf6"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"048af9b0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":641,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F45d0129a-013c-4c6b-a40f-a5d0efcb504e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"862b2d88-e8bf-46d9-86de-425ce77b7c38","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.595983} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":641,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.228109,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"048af9b0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e","object_type":"device","rebac_allow":false,"scope_allow":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":"048af9b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"048af9b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/signaling 200 16ms","method":"POST","requestID":"048af9b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/45d0129a-013c-4c6b-a40f-a5d0efcb504e/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9e70a77b-5fb3-4233-beb1-740a3b013997': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9e70a77b-5fb3-4233-beb1-740a3b013997","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"2c7ee914-2ed8-4058-853d-5182679255b5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.6047142} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"21e7c121-f772-4e33-8c1e-d85bd0c455b7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.6046712} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"048e06f0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"61c7a328ca820badda6f6adc819cdcf6","responseTime":24,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":642,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fda7e6c14-0051-4eee-9fb3-155f4ad68c85","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8025f589-ce4f-4cbb-a44d-6ff59982a6d3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.6165054} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":642,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.993446,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"048e06f0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85","object_type":"device","rebac_allow":false,"scope_allow":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":"048e06f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"048e06f0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85/signaling 200 17ms","method":"POST","requestID":"048e06f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/9e70a77b-5fb3-4233-beb1-740a3b013997","requestID":"61c7a328ca820badda6f6adc819cdcf6"} gateway-1 | {"time_local":"30/Jul/2024:14:07:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/9e70a77b-5fb3-4233-beb1-740a3b013997 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":"61c7a328ca820badda6f6adc819cdcf6"} gateway-1 | {"time_local":"30/Jul/2024:14:07:12 +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.228","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"91e873a87ecffd5faec2a61a8314b2e2"} experiment-1 | {"level":"info","message":"DELETE /experiments/9e70a77b-5fb3-4233-beb1-740a3b013997 204 181ms","method":"DELETE","requestID":"61c7a328ca820badda6f6adc819cdcf6","responseTime":181,"status":204,"url":"/experiments/9e70a77b-5fb3-4233-beb1-740a3b013997"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 138ms","method":"POST","requestID":"2742033798c60355d1b1b3a1a5928152","responseTime":138,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.143","http_referrer":"","http_user_agent":"node-fetch","requestID":"2742033798c60355d1b1b3a1a5928152"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 137ms","method":"POST","requestID":"4b12dbdbcf1adec0c941fe476dc73e26","responseTime":137,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.145","http_referrer":"","http_user_agent":"node-fetch","requestID":"4b12dbdbcf1adec0c941fe476dc73e26"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzMn0.jkZoOmad3i762qOab2UHjOZQnd9xyOSmFj2aLUgUzgg","level":"info","message":"auth send jwt","requestID":"ec6cf06a12c7e9fc80e10e527f8c9e62"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"ec6cf06a12c7e9fc80e10e527f8c9e62","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ec6cf06a12c7e9fc80e10e527f8c9e62"} gateway-1 | {"time_local":"30/Jul/2024:14:07:12 +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.763","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"474cbd7ba89fca8cdce358753a0840f2"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":643,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:12Z"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/da7e6c14-0051-4eee-9fb3-155f4ad68c85' closed"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":643,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.914278,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ec6cf06a12c7e9fc80e10e527f8c9e62","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348432,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzMn0.jkZoOmad3i762qOab2UHjOZQnd9xyOSmFj2aLUgUzgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ec6cf06a12c7e9fc80e10e527f8c9e62","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/45d0129a-013c-4c6b-a40f-a5d0efcb504e' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"155abc03-4ceb-4d3c-9d47-9034aa8b7fb3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.705632} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ec6cf06a12c7e9fc80e10e527f8c9e62","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c73a9756-2344-4f4a-ad68-c4efeb3696b1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.7114546} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"ec6cf06a12c7e9fc80e10e527f8c9e62","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"ccb1584d-ba7e-47bc-9818-a57a4a42c06b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.7236054} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4d9118b7-6ed5-4fe2-a93f-fc16908f47e0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.7236843} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"ec6cf06a12c7e9fc80e10e527f8c9e62","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:12.723571573Z"}]},"request_id":"64c6031a-ff86-4dd4-8544-c03400805acc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.72938} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ec6cf06a12c7e9fc80e10e527f8c9e62","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ec6cf06a12c7e9fc80e10e527f8c9e62"} gateway-1 | {"time_local":"30/Jul/2024:14:07:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.055","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ec6cf06a12c7e9fc80e10e527f8c9e62"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"ec6cf06a12c7e9fc80e10e527f8c9e62","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzMn0.jkZoOmad3i762qOab2UHjOZQnd9xyOSmFj2aLUgUzgg","level":"info","message":"auth send jwt","requestID":"73bc9214f396f74084ad8d83548fcc2f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"73bc9214f396f74084ad8d83548fcc2f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"73bc9214f396f74084ad8d83548fcc2f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":644,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":644,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.741678,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"73bc9214f396f74084ad8d83548fcc2f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348432,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzMn0.jkZoOmad3i762qOab2UHjOZQnd9xyOSmFj2aLUgUzgg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"73bc9214f396f74084ad8d83548fcc2f","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"91290ba8-f827-4b7f-8c6a-0ae5a2a5647d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.7541835} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"73bc9214f396f74084ad8d83548fcc2f","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f1f7c9c6-8636-4e18-92e4-e17957f19025","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.7592368} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"73bc9214f396f74084ad8d83548fcc2f","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"5e79e07a-bbdf-4032-82e9-40807a7ef2f6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.7702572} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"70f0bbb5-3e06-424b-a980-3e27f49cdc01","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.7703183} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"73bc9214f396f74084ad8d83548fcc2f","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:12.770228384Z"}]},"request_id":"1678d18b-0ac0-440f-8bca-5088d52d58fb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348432.7753866} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"73bc9214f396f74084ad8d83548fcc2f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"73bc9214f396f74084ad8d83548fcc2f"} gateway-1 | {"time_local":"30/Jul/2024:14:07:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"73bc9214f396f74084ad8d83548fcc2f"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"73bc9214f396f74084ad8d83548fcc2f","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzM30.qOy-FR9VEbgJMeBHTjkrI6eUuGacmlcY8qD6gU2bqY0","level":"info","message":"auth send jwt","requestID":"2dabe5fcea52697c4126a0150e6c23fb"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"2dabe5fcea52697c4126a0150e6c23fb","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"2dabe5fcea52697c4126a0150e6c23fb"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":645,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:13Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":645,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.10467,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"2dabe5fcea52697c4126a0150e6c23fb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348433,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzM30.qOy-FR9VEbgJMeBHTjkrI6eUuGacmlcY8qD6gU2bqY0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2dabe5fcea52697c4126a0150e6c23fb","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:12.770228384Z"}]},"request_id":"1ab16b44-9fa5-4266-b7cf-1f4923f704d8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348433.2782252} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2dabe5fcea52697c4126a0150e6c23fb","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"99aaebef-86db-46b6-bddf-a0315ab12232","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348433.2845168} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"2dabe5fcea52697c4126a0150e6c23fb","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:12.770228384Z"}]},"request_id":"1e17af2e-a197-4e11-bae9-bd626d919724","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348433.297287} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2dabe5fcea52697c4126a0150e6c23fb","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"2dabe5fcea52697c4126a0150e6c23fb"} gateway-1 | {"time_local":"30/Jul/2024:14:07:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/92126063-0e28-4695-842d-a5172ecdfa97 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"2dabe5fcea52697c4126a0150e6c23fb"} device-1 | {"level":"info","message":"PATCH /devices/92126063-0e28-4695-842d-a5172ecdfa97 200 35ms","method":"PATCH","requestID":"2dabe5fcea52697c4126a0150e6c23fb","responseTime":35,"status":200,"url":"/devices/92126063-0e28-4695-842d-a5172ecdfa97"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzM30.qOy-FR9VEbgJMeBHTjkrI6eUuGacmlcY8qD6gU2bqY0","level":"info","message":"auth send jwt","requestID":"844548d4285bd822ae2a95252731f630"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"844548d4285bd822ae2a95252731f630","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"844548d4285bd822ae2a95252731f630"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":646,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:13Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":646,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.495203,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:13Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"844548d4285bd822ae2a95252731f630","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348433,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzM30.qOy-FR9VEbgJMeBHTjkrI6eUuGacmlcY8qD6gU2bqY0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"844548d4285bd822ae2a95252731f630","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"844548d4285bd822ae2a95252731f630"} device-1 | {"level":"info","message":"POST /devices/92126063-0e28-4695-842d-a5172ecdfa97/websocket 200 22ms","method":"POST","requestID":"844548d4285bd822ae2a95252731f630","responseTime":22,"status":200,"url":"/devices/92126063-0e28-4695-842d-a5172ecdfa97/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:07:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/92126063-0e28-4695-842d-a5172ecdfa97/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.029","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"844548d4285bd822ae2a95252731f630"} device-1 | {"level":"info","message":"device 'http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c554f1b3a933ca019954e4a22081a70a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"c554f1b3a933ca019954e4a22081a70a","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:07:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/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":"c554f1b3a933ca019954e4a22081a70a"} device-1 | {"level":"info","message":"OPTIONS /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/websocket 200 1ms","method":"OPTIONS","requestID":"c554f1b3a933ca019954e4a22081a70a","responseTime":1,"status":200,"url":"/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNH0.2rEc7vdvu8t1BwUKkhemkwHQ7U4sfb9bEeis465j3dA","level":"info","message":"auth send jwt","requestID":"e3b00352c1b3bbead055b2d99a9ab2eb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e3b00352c1b3bbead055b2d99a9ab2eb","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e3b00352c1b3bbead055b2d99a9ab2eb"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":647,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:14Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":647,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.789766,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:14Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e3b00352c1b3bbead055b2d99a9ab2eb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348434,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNH0.2rEc7vdvu8t1BwUKkhemkwHQ7U4sfb9bEeis465j3dA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"e3b00352c1b3bbead055b2d99a9ab2eb","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e3b00352c1b3bbead055b2d99a9ab2eb"} gateway-1 | {"time_local":"30/Jul/2024:14:07:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.030","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e3b00352c1b3bbead055b2d99a9ab2eb"} device-1 | {"level":"info","message":"POST /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/websocket 200 23ms","method":"POST","requestID":"e3b00352c1b3bbead055b2d99a9ab2eb","responseTime":23,"status":200,"url":"/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNH0.2rEc7vdvu8t1BwUKkhemkwHQ7U4sfb9bEeis465j3dA","level":"info","message":"auth send jwt","requestID":"3e8b435885d566334ef436af2a3e95f2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3e8b435885d566334ef436af2a3e95f2","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3e8b435885d566334ef436af2a3e95f2"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":648,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:14Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":648,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.301312,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"3e8b435885d566334ef436af2a3e95f2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348434,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNH0.2rEc7vdvu8t1BwUKkhemkwHQ7U4sfb9bEeis465j3dA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"3e8b435885d566334ef436af2a3e95f2","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:12.723571573Z"}]},"request_id":"9e83b5fc-1223-4c20-b281-b63388f64306","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348434.8508813} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3e8b435885d566334ef436af2a3e95f2","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3e8b435885d566334ef436af2a3e95f2"} gateway-1 | {"time_local":"30/Jul/2024:14:07:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53? 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":"3e8b435885d566334ef436af2a3e95f2"} device-1 | {"level":"info","message":"GET /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53? 200 18ms","method":"GET","requestID":"3e8b435885d566334ef436af2a3e95f2","responseTime":18,"status":200,"url":"/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNH0.2rEc7vdvu8t1BwUKkhemkwHQ7U4sfb9bEeis465j3dA","level":"info","message":"auth send jwt","requestID":"4935b0c368ee285af57ed062349893a0"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4935b0c368ee285af57ed062349893a0","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4935b0c368ee285af57ed062349893a0"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":649,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:14Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":649,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.199281,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"4935b0c368ee285af57ed062349893a0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348434,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNH0.2rEc7vdvu8t1BwUKkhemkwHQ7U4sfb9bEeis465j3dA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4935b0c368ee285af57ed062349893a0","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:12.770228384Z"}]},"request_id":"9c0ac2fc-0dd7-4d23-a839-2188451cbe6b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348434.8766465} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"4935b0c368ee285af57ed062349893a0","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4935b0c368ee285af57ed062349893a0"} gateway-1 | {"time_local":"30/Jul/2024:14:07:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/92126063-0e28-4695-842d-a5172ecdfa97? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4935b0c368ee285af57ed062349893a0"} device-1 | {"level":"info","message":"GET /devices/92126063-0e28-4695-842d-a5172ecdfa97? 200 22ms","method":"GET","requestID":"4935b0c368ee285af57ed062349893a0","responseTime":22,"status":200,"url":"/devices/92126063-0e28-4695-842d-a5172ecdfa97?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNH0.2rEc7vdvu8t1BwUKkhemkwHQ7U4sfb9bEeis465j3dA","level":"info","message":"auth send jwt","requestID":"54e99626b66e16147a0b39453b88b6e9"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"54e99626b66e16147a0b39453b88b6e9","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"54e99626b66e16147a0b39453b88b6e9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":650,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:14Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":650,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":2.054385,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:14Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"54e99626b66e16147a0b39453b88b6e9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348434,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNH0.2rEc7vdvu8t1BwUKkhemkwHQ7U4sfb9bEeis465j3dA"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"54e99626b66e16147a0b39453b88b6e9","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Attempting to run experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Attempting to book experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Successfully booked experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"05f203c0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"05f251e0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":651,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:14Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":651,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.086078,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"05f203c0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348434,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNH0.2rEc7vdvu8t1BwUKkhemkwHQ7U4sfb9bEeis465j3dA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"05f203c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46468","level":"info","msg":"Received request.","req_id":652,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:14Z"} authorization-1 | {"client_addr":"127.0.0.1:46468","level":"info","msg":"Sent response.","req_id":652,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.474539,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"05f251e0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348434,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNH0.2rEc7vdvu8t1BwUKkhemkwHQ7U4sfb9bEeis465j3dA"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"05f251e0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:12.723571573Z"}]},"request_id":"b1424fdf-0dea-49c7-ba32-5c50c69d0167","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348434.9522934} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"05f203c0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:12.770228384Z"}]},"request_id":"d386036d-2b62-423e-b1ed-50337c1e11ca","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348434.9564588} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"05f203c0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"05f251e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53? 200 18ms","method":"GET","requestID":"05f203c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"05f251e0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/92126063-0e28-4695-842d-a5172ecdfa97? 200 19ms","method":"GET","requestID":"05f251e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/devices/92126063-0e28-4695-842d-a5172ecdfa97?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Setting up experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Successfully locked booking for experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Attempting to update booking for experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Successfully updated booking for experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Successfully set up experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"05fc6400-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"05fc8b10-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"05fcd930-4e7d-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Successfully running experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":653,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":653,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.893755,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"client_addr":"127.0.0.1:46468","level":"info","msg":"Received request.","req_id":654,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"05fc6400-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348434,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNH0.2rEc7vdvu8t1BwUKkhemkwHQ7U4sfb9bEeis465j3dA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"05fc6400-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46468","level":"info","msg":"Sent response.","req_id":654,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.843275,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"05fc8b10-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348434,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNH0.2rEc7vdvu8t1BwUKkhemkwHQ7U4sfb9bEeis465j3dA"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"05fc8b10-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46472","level":"info","msg":"Received request.","req_id":655,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:12.723571573Z"}]},"request_id":"2e7b3b57-bd93-401c-a235-a861c0f8a269","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.0242474} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c87a6261-e619-499c-8883-081665c0675f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.0247574} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"05fc6400-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:12.770228384Z"}]},"request_id":"b5ae5849-783e-48e4-a76b-63769694dbe7","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.0252962} authorization-1 | {"client_addr":"127.0.0.1:46472","level":"info","msg":"Sent response.","req_id":655,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.195758,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"05fcd930-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","object_type":"device","rebac_allow":false,"scope_allow":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":"05fcd930-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"05fc8b10-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"05fc6400-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53? 200 25ms","method":"GET","requestID":"05fc6400-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":25,"status":200,"url":"/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"05fcd930-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/signaling 200 23ms","method":"POST","requestID":"05fcd930-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":23,"status":200,"url":"/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5a65f419-74f2-409c-bd95-b777b985cb04#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5a65f419-74f2-409c-bd95-b777b985cb04","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"86904dd7-6a57-4f08-8102-b5643f0dcd81","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.0350149} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"05fc8b10-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f1a0217a-9d7b-4d57-b8a4-a75ed020d46d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.0353065} device-1 | {"level":"info","message":"GET /devices/92126063-0e28-4695-842d-a5172ecdfa97? 200 27ms","method":"GET","requestID":"05fc8b10-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":27,"status":200,"url":"/devices/92126063-0e28-4695-842d-a5172ecdfa97?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0600d0d0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"54e99626b66e16147a0b39453b88b6e9","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0600f7e0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":656,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"client_addr":"127.0.0.1:46468","level":"info","msg":"Received request.","req_id":657,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c5e3cf61-8f26-4f8e-ad84-649004f1f09c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.0421343} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":656,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.773003,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0600d0d0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0600d0d0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dbd2f161-bf70-4719-be50-b60611b0355c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.0433233} authorization-1 | {"client_addr":"127.0.0.1:46468","level":"info","msg":"Sent response.","req_id":657,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.757152,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0600f7e0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","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/5a65f419-74f2-409c-bd95-b777b985cb04","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"54e99626b66e16147a0b39453b88b6e9"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"0600f7e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0600d0d0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/92126063-0e28-4695-842d-a5172ecdfa97/signaling 200 10ms","method":"POST","requestID":"0600d0d0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/92126063-0e28-4695-842d-a5172ecdfa97/signaling"} gateway-1 | {"time_local":"30/Jul/2024:14:07:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1215","request_time":"0.158","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"54e99626b66e16147a0b39453b88b6e9"} experiment-1 | {"level":"info","message":"POST /experiments? 201 149ms","method":"POST","requestID":"54e99626b66e16147a0b39453b88b6e9","responseTime":149,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0600f7e0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/signaling 200 13ms","method":"POST","requestID":"0600f7e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNX0.c4YDFOEB4GvWDQnLGN91FWt0dPRY3LYZIbUauCvpWm8","level":"info","message":"auth send jwt","requestID":"685c2568543e82cd2545a29c0aae27e3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"685c2568543e82cd2545a29c0aae27e3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"060341d0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"685c2568543e82cd2545a29c0aae27e3"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":658,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"client_addr":"127.0.0.1:46468","level":"info","msg":"Received request.","req_id":659,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"19182747-d58b-40e5-b697-d939c1877b73","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.059168} authorization-1 | {"client_addr":"127.0.0.1:46468","level":"info","msg":"Sent response.","req_id":659,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.685462,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"685c2568543e82cd2545a29c0aae27e3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348435,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNX0.c4YDFOEB4GvWDQnLGN91FWt0dPRY3LYZIbUauCvpWm8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"685c2568543e82cd2545a29c0aae27e3","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":658,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.1408,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"060341d0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"060341d0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"060341d0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/92126063-0e28-4695-842d-a5172ecdfa97/signaling 200 12ms","method":"POST","requestID":"060341d0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/92126063-0e28-4695-842d-a5172ecdfa97/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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:12.723571573Z"}]},"request_id":"22b410c3-2e81-4e1d-83a4-6544eb8d34b6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.0649288} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Building connection plan","requestID":"54e99626b66e16147a0b39453b88b6e9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"685c2568543e82cd2545a29c0aae27e3","responseTime":4,"status":200,"url":"/relations/query"} 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":"f75e9ee1-98fb-41cd-ab16-38d19684796d"},{"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":"9ab4796d-ebd3-430e-9f26-c1daa2c205a5"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"31ee7328-fa1c-43f0-b1d1-a0a0009ba71b"}]},"level":"info","message":"Built pairwise service configurations","requestID":"54e99626b66e16147a0b39453b88b6e9"} 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/c2cab00b-ce70-4bb3-994e-da95815a8c53"},{"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/92126063-0e28-4695-842d-a5172ecdfa97"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"54e99626b66e16147a0b39453b88b6e9"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"060564b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"685c2568543e82cd2545a29c0aae27e3"} gateway-1 | {"time_local":"30/Jul/2024:14:07:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53? 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":"685c2568543e82cd2545a29c0aae27e3"} device-1 | {"level":"info","message":"GET /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53? 200 14ms","method":"GET","requestID":"685c2568543e82cd2545a29c0aae27e3","responseTime":14,"status":200,"url":"/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":660,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":660,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.891443,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"060564b0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348434,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNH0.2rEc7vdvu8t1BwUKkhemkwHQ7U4sfb9bEeis465j3dA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"060564b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNX0.c4YDFOEB4GvWDQnLGN91FWt0dPRY3LYZIbUauCvpWm8","level":"info","message":"auth send jwt","requestID":"859b2f4ecc274e468143dc67888dceeb"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"859b2f4ecc274e468143dc67888dceeb","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"859b2f4ecc274e468143dc67888dceeb"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":661,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":661,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.640133,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"859b2f4ecc274e468143dc67888dceeb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348435,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzNX0.c4YDFOEB4GvWDQnLGN91FWt0dPRY3LYZIbUauCvpWm8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"859b2f4ecc274e468143dc67888dceeb","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"e939fd67-3115-43d2-a5b3-231e89f390b9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.0838892} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f028f862-7650-4896-947a-770745d3c8e0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.0842628} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:12.770228384Z"}]},"request_id":"de4e9ed4-d831-4595-b8f2-1aa63d6f710d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.0847063} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"859b2f4ecc274e468143dc67888dceeb","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"060564b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"859b2f4ecc274e468143dc67888dceeb"} gateway-1 | {"time_local":"30/Jul/2024:14:07:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/92126063-0e28-4695-842d-a5172ecdfa97? 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":"859b2f4ecc274e468143dc67888dceeb"} device-1 | {"level":"info","message":"GET /devices/92126063-0e28-4695-842d-a5172ecdfa97? 200 15ms","method":"GET","requestID":"859b2f4ecc274e468143dc67888dceeb","responseTime":15,"status":200,"url":"/devices/92126063-0e28-4695-842d-a5172ecdfa97?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"060564b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"060564b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2'","requestID":"060564b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2'","requestID":"060564b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"060564b0-4e7d-11ef-b6a3-8dff1d026ae9"} 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":"060564b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":32,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"060564b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2","device":"c2cab00b-ce70-4bb3-994e-da95815a8c53","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"54e99626b66e16147a0b39453b88b6e9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"060e3e50-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":662,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b93f5139-d3f0-4fdb-9744-dd630a5adffc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.128948} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":662,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.087089,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"060e3e50-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","object_type":"device","rebac_allow":false,"scope_allow":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":"060e3e50-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"060e3e50-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/signaling 200 7ms","method":"POST","requestID":"060e3e50-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"060fc4f0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":663,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"af78efca-7ded-4031-bf7b-3e495615a50f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348435.1388643} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":663,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.149717,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"060fc4f0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","object_type":"device","rebac_allow":false,"scope_allow":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":"060fc4f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"060fc4f0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/92126063-0e28-4695-842d-a5172ecdfa97/signaling 200 8ms","method":"POST","requestID":"060fc4f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/92126063-0e28-4695-842d-a5172ecdfa97/signaling"} device-1 | {"device":"c2cab00b-ce70-4bb3-994e-da95815a8c53","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"c2cab00b-ce70-4bb3-994e-da95815a8c53","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"92126063-0e28-4695-842d-a5172ecdfa97","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":"c3f33965-cdec-4c4a-95b9-e219d88b42a2","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 268644242992551811 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:Sjlj\r\na=ice-pwd:+ZQvwOSMOjR1zXtDb/dpgoAe\r\na=ice-options:trickle\r\na=fingerprint:sha-256 7C:CD:7F:1E:23:5E:3A:1A:41:80:A4:0F:86:68:DA:9B:EF:83:4A:58:59:D0:E9:61:71:A4:66:2A:CB:DD:82:99\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"c2cab00b-ce70-4bb3-994e-da95815a8c53","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2858878754 1 udp 2113937151 33bc78ae-e37d-425f-9af1-2803ab662484.local 37019 typ host generation 0 ufrag Sjlj network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c2cab00b-ce70-4bb3-994e-da95815a8c53","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"c2cab00b-ce70-4bb3-994e-da95815a8c53","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:2722057445 1 udp 1677729535 141.24.211.56 37019 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag Sjlj network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c2cab00b-ce70-4bb3-994e-da95815a8c53","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"92126063-0e28-4695-842d-a5172ecdfa97","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":"92126063-0e28-4695-842d-a5172ecdfa97","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":"92126063-0e28-4695-842d-a5172ecdfa97","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/c2cab00b-ce70-4bb3-994e-da95815a8c53'"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"c3f33965-cdec-4c4a-95b9-e219d88b42a2","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c2cab00b-ce70-4bb3-994e-da95815a8c53","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ddfdebcfd769b7d656c237b64bd41814","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ddfdebcfd769b7d656c237b64bd41814","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/c2cab00b-ce70-4bb3-994e-da95815a8c53"},{"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/92126063-0e28-4695-842d-a5172ecdfa97"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2"}}},"level":"info","message":"received a callback","requestID":"ddfdebcfd769b7d656c237b64bd41814"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"ddfdebcfd769b7d656c237b64bd41814","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.018","http_referrer":"","http_user_agent":"node-fetch","requestID":"ddfdebcfd769b7d656c237b64bd41814"} device-1 | {"data":{"peerconnection":"c3f33965-cdec-4c4a-95b9-e219d88b42a2","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"92126063-0e28-4695-842d-a5172ecdfa97","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":"c2cab00b-ce70-4bb3-994e-da95815a8c53","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"data":{"peerconnection":"c3f33965-cdec-4c4a-95b9-e219d88b42a2","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"92126063-0e28-4695-842d-a5172ecdfa97","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":"c2cab00b-ce70-4bb3-994e-da95815a8c53","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"c3f33965-cdec-4c4a-95b9-e219d88b42a2","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0d1d6937ba02edeb9b21967437fcef4c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"0d1d6937ba02edeb9b21967437fcef4c","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/c2cab00b-ce70-4bb3-994e-da95815a8c53"},{"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/92126063-0e28-4695-842d-a5172ecdfa97"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2"}}},"level":"info","message":"received a callback","requestID":"0d1d6937ba02edeb9b21967437fcef4c"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"07595bf0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":664,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fc3f33965-cdec-4c4a-95b9-e219d88b42a2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"163eca96-216b-4cef-84fa-77f0360a0c1a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.3020232} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":664,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.863123,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"07595bf0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2","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":"07595bf0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"07595bf0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2 200 13ms","method":"GET","requestID":"07595bf0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 49ms","method":"POST","requestID":"0d1d6937ba02edeb9b21967437fcef4c","responseTime":49,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.054","http_referrer":"","http_user_agent":"node-fetch","requestID":"0d1d6937ba02edeb9b21967437fcef4c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"075fc490-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":665,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e212981c-2af9-4bc2-bfb5-c14489b09b97","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.345302} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":665,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.226569,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"075fc490-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","object_type":"device","rebac_allow":false,"scope_allow":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":"075fc490-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"075fc490-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/signaling 200 15ms","method":"POST","requestID":"075fc490-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"076283b0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":666,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0ae2ffa7-8a94-4862-9b07-8e5ca0c0e9af","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.362559} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":666,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.349755,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"076283b0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","object_type":"device","rebac_allow":false,"scope_allow":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":"076283b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"076283b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/92126063-0e28-4695-842d-a5172ecdfa97/signaling 200 15ms","method":"POST","requestID":"076283b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/92126063-0e28-4695-842d-a5172ecdfa97/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzN30.Y2PNwp7p1t7_h3QTuNuC_epucO5p5HLBrwGfBbxI9K8","level":"info","message":"auth send jwt","requestID":"03f8f4ae0d1cb2316077e8c1464d5a0c"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"03f8f4ae0d1cb2316077e8c1464d5a0c","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/5a65f419-74f2-409c-bd95-b777b985cb04","requestID":"03f8f4ae0d1cb2316077e8c1464d5a0c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":667,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":667,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.345176,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"03f8f4ae0d1cb2316077e8c1464d5a0c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348437,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzN30.Y2PNwp7p1t7_h3QTuNuC_epucO5p5HLBrwGfBbxI9K8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"03f8f4ae0d1cb2316077e8c1464d5a0c","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/5a65f419-74f2-409c-bd95-b777b985cb04","requestID":"03f8f4ae0d1cb2316077e8c1464d5a0c"} gateway-1 | {"time_local":"30/Jul/2024:14:07:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/5a65f419-74f2-409c-bd95-b777b985cb04 HTTP/1.1","status": "200","body_bytes_sent":"1288","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"03f8f4ae0d1cb2316077e8c1464d5a0c"} experiment-1 | {"level":"info","message":"GET /experiments/5a65f419-74f2-409c-bd95-b777b985cb04 200 18ms","method":"GET","requestID":"03f8f4ae0d1cb2316077e8c1464d5a0c","responseTime":18,"status":200,"url":"/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzN30.Y2PNwp7p1t7_h3QTuNuC_epucO5p5HLBrwGfBbxI9K8","level":"info","message":"auth send jwt","requestID":"740efea92a169a59d000322da26780c1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"740efea92a169a59d000322da26780c1","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/5a65f419-74f2-409c-bd95-b777b985cb04","requestID":"740efea92a169a59d000322da26780c1"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":668,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":668,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.257217,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"740efea92a169a59d000322da26780c1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348437,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzN30.Y2PNwp7p1t7_h3QTuNuC_epucO5p5HLBrwGfBbxI9K8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"740efea92a169a59d000322da26780c1","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Attempting to finish experiment","requestID":"740efea92a169a59d000322da26780c1"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"076e91a0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":669,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":669,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.249485,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"076e91a0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348437,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzN30.Y2PNwp7p1t7_h3QTuNuC_epucO5p5HLBrwGfBbxI9K8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"076e91a0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2","device":"c2cab00b-ce70-4bb3-994e-da95815a8c53","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"92126063-0e28-4695-842d-a5172ecdfa97","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":"92126063-0e28-4695-842d-a5172ecdfa97","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":"92126063-0e28-4695-842d-a5172ecdfa97","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/c3f33965-cdec-4c4a-95b9-e219d88b42a2' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"c3f33965-cdec-4c4a-95b9-e219d88b42a2","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"190804d2-d977-4431-a110-a243187bd097","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.4595408} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fc3f33965-cdec-4c4a-95b9-e219d88b42a2': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fc3f33965-cdec-4c4a-95b9-e219d88b42a2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"fcdb3f74-533b-4364-9a97-a1e4110c34f1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.4601378} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f176b65416e1d19dd90a46da0c92105a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"f176b65416e1d19dd90a46da0c92105a","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":"closed","url":"http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53"},{"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/92126063-0e28-4695-842d-a5172ecdfa97"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2"}}},"level":"info","message":"received a callback","requestID":"f176b65416e1d19dd90a46da0c92105a"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"91c912c63186ea371b3cffb0819251bf","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"076e91a0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"91c912c63186ea371b3cffb0819251bf","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/c2cab00b-ce70-4bb3-994e-da95815a8c53"},{"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/92126063-0e28-4695-842d-a5172ecdfa97"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2"}}},"level":"info","message":"received a callback","requestID":"91c912c63186ea371b3cffb0819251bf"} device-1 | {"data":{"peerconnection":"c3f33965-cdec-4c4a-95b9-e219d88b42a2","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"076e91a0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2 204 47ms","method":"DELETE","requestID":"076e91a0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":47,"status":204,"url":"/peerconnections/c3f33965-cdec-4c4a-95b9-e219d88b42a2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"},"level":"info","message":"Successfully finished experiment","requestID":"740efea92a169a59d000322da26780c1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"07794000-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":670,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc2cab00b-ce70-4bb3-994e-da95815a8c53","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9fe3696a-b3d2-4433-ab76-e96aa0f5a683","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.512146} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":670,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.767331,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"07794000-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53","object_type":"device","rebac_allow":false,"scope_allow":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":"07794000-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5a65f419-74f2-409c-bd95-b777b985cb04': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5a65f419-74f2-409c-bd95-b777b985cb04","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"ddaf2d63-1c28-442d-876e-7113318df509","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.5192466} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"07794000-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"35305c26-2d67-48dc-bcea-ef587d78be02","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.5196826} device-1 | {"level":"info","message":"POST /devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/signaling 200 17ms","method":"POST","requestID":"07794000-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"740efea92a169a59d000322da26780c1","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"077c7450-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":671,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92126063-0e28-4695-842d-a5172ecdfa97","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"31ccc816-00b0-48c7-a715-67ff0703f520","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.5327966} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":671,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.980846,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"077c7450-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/92126063-0e28-4695-842d-a5172ecdfa97","object_type":"device","rebac_allow":false,"scope_allow":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":"077c7450-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"077c7450-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/92126063-0e28-4695-842d-a5172ecdfa97/signaling 200 16ms","method":"POST","requestID":"077c7450-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/92126063-0e28-4695-842d-a5172ecdfa97/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/5a65f419-74f2-409c-bd95-b777b985cb04","requestID":"740efea92a169a59d000322da26780c1"} gateway-1 | {"time_local":"30/Jul/2024:14:07:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/5a65f419-74f2-409c-bd95-b777b985cb04 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":"740efea92a169a59d000322da26780c1"} gateway-1 | {"time_local":"30/Jul/2024:14:07:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2798","request_time":"4.265","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"de066bf24b506da68517a0dd6999f774"} experiment-1 | {"level":"info","message":"DELETE /experiments/5a65f419-74f2-409c-bd95-b777b985cb04 204 182ms","method":"DELETE","requestID":"740efea92a169a59d000322da26780c1","responseTime":182,"status":204,"url":"/experiments/5a65f419-74f2-409c-bd95-b777b985cb04"} gateway-1 | {"time_local":"30/Jul/2024:14:07:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.143","http_referrer":"","http_user_agent":"node-fetch","requestID":"f176b65416e1d19dd90a46da0c92105a"} gateway-1 | {"time_local":"30/Jul/2024:14:07:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.144","http_referrer":"","http_user_agent":"node-fetch","requestID":"91c912c63186ea371b3cffb0819251bf"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 138ms","method":"POST","requestID":"f176b65416e1d19dd90a46da0c92105a","responseTime":138,"status":200,"url":"/callbacks/experiment"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 137ms","method":"POST","requestID":"91c912c63186ea371b3cffb0819251bf","responseTime":137,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzN30.Y2PNwp7p1t7_h3QTuNuC_epucO5p5HLBrwGfBbxI9K8","level":"info","message":"auth send jwt","requestID":"3a06ce9db224da8d6401c40844c8fdb8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3a06ce9db224da8d6401c40844c8fdb8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"3a06ce9db224da8d6401c40844c8fdb8"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":672,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:17Z"} gateway-1 | {"time_local":"30/Jul/2024:14:07:17 +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.794","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"856285cea11ab8d02cf897324db56f78"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":672,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":2.87339,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"3a06ce9db224da8d6401c40844c8fdb8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348437,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzN30.Y2PNwp7p1t7_h3QTuNuC_epucO5p5HLBrwGfBbxI9K8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3a06ce9db224da8d6401c40844c8fdb8","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/92126063-0e28-4695-842d-a5172ecdfa97' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/c2cab00b-ce70-4bb3-994e-da95815a8c53' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3d73c92f-1bdb-4c9e-83a3-9ac310f08f9b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.6303084} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3a06ce9db224da8d6401c40844c8fdb8","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0e4891b0-6a68-4e68-9e9a-03dd7b701169","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.635902} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3a06ce9db224da8d6401c40844c8fdb8","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"7f8c0f73-efaf-41b9-b64c-3fdaa92fcc2a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.6452413} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b8b156c0-7b7e-4c03-a109-c207444d1eb2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.6453245} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"3a06ce9db224da8d6401c40844c8fdb8","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:17.645214275Z"}]},"request_id":"704122dc-0381-4ae5-9fde-5a4c8e151366","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.6496625} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3a06ce9db224da8d6401c40844c8fdb8","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3a06ce9db224da8d6401c40844c8fdb8"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"3a06ce9db224da8d6401c40844c8fdb8","responseTime":46,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:07:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3a06ce9db224da8d6401c40844c8fdb8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzN30.Y2PNwp7p1t7_h3QTuNuC_epucO5p5HLBrwGfBbxI9K8","level":"info","message":"auth send jwt","requestID":"e1fcd243771665ced0dde58017c45232"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e1fcd243771665ced0dde58017c45232","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e1fcd243771665ced0dde58017c45232"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":673,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":673,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.845689,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e1fcd243771665ced0dde58017c45232","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348437,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzN30.Y2PNwp7p1t7_h3QTuNuC_epucO5p5HLBrwGfBbxI9K8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e1fcd243771665ced0dde58017c45232","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ee1de347-32de-444c-9386-1b7f5ac1574c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.6802886} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e1fcd243771665ced0dde58017c45232","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"82842643-8821-4648-82d7-cea61585431c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.6851513} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e1fcd243771665ced0dde58017c45232","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"9db04a2f-1af3-447f-8224-13869b340c8a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.6961024} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2256a16f-3b82-42d7-a9af-f0cee937c4a0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.6962688} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"e1fcd243771665ced0dde58017c45232","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:17.696079532Z"}]},"request_id":"d7a5f9ea-3971-4e27-a0ce-1eb32bf10cab","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348437.7008972} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e1fcd243771665ced0dde58017c45232","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e1fcd243771665ced0dde58017c45232"} gateway-1 | {"time_local":"30/Jul/2024:14:07:17 +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":"e1fcd243771665ced0dde58017c45232"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"e1fcd243771665ced0dde58017c45232","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOH0.r5H3y4yijttgeZB32MLTQmJcQTJZX9DKo7tAWiFtO5Q","level":"info","message":"auth send jwt","requestID":"2dd8b39568e413f123a221dd1d02c447"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"2dd8b39568e413f123a221dd1d02c447","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"2dd8b39568e413f123a221dd1d02c447"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":674,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:18Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":674,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.712114,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"2dd8b39568e413f123a221dd1d02c447","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348438,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOH0.r5H3y4yijttgeZB32MLTQmJcQTJZX9DKo7tAWiFtO5Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2dd8b39568e413f123a221dd1d02c447","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:17.645214275Z"}]},"request_id":"c243d2b5-8389-44f0-9615-613f2f4d7fff","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348438.2027838} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2dd8b39568e413f123a221dd1d02c447","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"17e9c0ed-9724-424d-8b40-68fe6c362016","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348438.2099178} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"2dd8b39568e413f123a221dd1d02c447","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:17.645214275Z"}]},"request_id":"70e0ce58-bfc7-435b-8e3e-15a4b81d88fb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348438.2228935} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2dd8b39568e413f123a221dd1d02c447","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"2dd8b39568e413f123a221dd1d02c447"} device-1 | {"level":"info","message":"PATCH /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45 200 37ms","method":"PATCH","requestID":"2dd8b39568e413f123a221dd1d02c447","responseTime":37,"status":200,"url":"/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45"} gateway-1 | {"time_local":"30/Jul/2024:14:07:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.043","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"2dd8b39568e413f123a221dd1d02c447"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOH0.r5H3y4yijttgeZB32MLTQmJcQTJZX9DKo7tAWiFtO5Q","level":"info","message":"auth send jwt","requestID":"d6089f659c8fe55ee0fd120f2e007dd0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d6089f659c8fe55ee0fd120f2e007dd0","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d6089f659c8fe55ee0fd120f2e007dd0"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":675,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:18Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":675,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.169957,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d6089f659c8fe55ee0fd120f2e007dd0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348438,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOH0.r5H3y4yijttgeZB32MLTQmJcQTJZX9DKo7tAWiFtO5Q"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d6089f659c8fe55ee0fd120f2e007dd0","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d6089f659c8fe55ee0fd120f2e007dd0"} gateway-1 | {"time_local":"30/Jul/2024:14:07:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.027","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"d6089f659c8fe55ee0fd120f2e007dd0"} device-1 | {"level":"info","message":"POST /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45/websocket 200 21ms","method":"POST","requestID":"d6089f659c8fe55ee0fd120f2e007dd0","responseTime":21,"status":200,"url":"/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ef9fa6f93a6b516ca6683f96d32325c1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ef9fa6f93a6b516ca6683f96d32325c1","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:07:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/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":"ef9fa6f93a6b516ca6683f96d32325c1"} device-1 | {"level":"info","message":"OPTIONS /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/websocket 200 1ms","method":"OPTIONS","requestID":"ef9fa6f93a6b516ca6683f96d32325c1","responseTime":1,"status":200,"url":"/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI","level":"info","message":"auth send jwt","requestID":"f2c6ef472024d936189ab5e8f21b4f10"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f2c6ef472024d936189ab5e8f21b4f10","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"f2c6ef472024d936189ab5e8f21b4f10"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":676,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":676,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.616895,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f2c6ef472024d936189ab5e8f21b4f10","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348439,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"f2c6ef472024d936189ab5e8f21b4f10","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"f2c6ef472024d936189ab5e8f21b4f10"} gateway-1 | {"time_local":"30/Jul/2024:14:07:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.030","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f2c6ef472024d936189ab5e8f21b4f10"} device-1 | {"level":"info","message":"POST /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/websocket 200 23ms","method":"POST","requestID":"f2c6ef472024d936189ab5e8f21b4f10","responseTime":23,"status":200,"url":"/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI","level":"info","message":"auth send jwt","requestID":"7204399a9e79bac8da4f05991c2c8609"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7204399a9e79bac8da4f05991c2c8609","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7204399a9e79bac8da4f05991c2c8609"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":677,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":677,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.082719,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"7204399a9e79bac8da4f05991c2c8609","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348439,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7204399a9e79bac8da4f05991c2c8609","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:17.645214275Z"}]},"request_id":"837e37de-eb1d-4093-a696-bae979f9a15d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.7465723} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7204399a9e79bac8da4f05991c2c8609","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7204399a9e79bac8da4f05991c2c8609"} gateway-1 | {"time_local":"30/Jul/2024:14:07:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45? 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":"7204399a9e79bac8da4f05991c2c8609"} device-1 | {"level":"info","message":"GET /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45? 200 14ms","method":"GET","requestID":"7204399a9e79bac8da4f05991c2c8609","responseTime":14,"status":200,"url":"/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI","level":"info","message":"auth send jwt","requestID":"27567836c58637231ccfe76a2cfa2c11"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"27567836c58637231ccfe76a2cfa2c11","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"27567836c58637231ccfe76a2cfa2c11"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":678,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":678,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.182555,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"27567836c58637231ccfe76a2cfa2c11","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348439,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"27567836c58637231ccfe76a2cfa2c11","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:17.696079532Z"}]},"request_id":"565d3f8d-d050-4d23-a6e1-477b90a0c97a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.7664747} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"27567836c58637231ccfe76a2cfa2c11","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"27567836c58637231ccfe76a2cfa2c11"} gateway-1 | {"time_local":"30/Jul/2024:14:07:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03? 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":"27567836c58637231ccfe76a2cfa2c11"} device-1 | {"level":"info","message":"GET /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03? 200 11ms","method":"GET","requestID":"27567836c58637231ccfe76a2cfa2c11","responseTime":11,"status":200,"url":"/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI","level":"info","message":"auth send jwt","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"605fb9f3882a884ad6da76765e7a2ae4","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":679,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":679,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.063928,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"605fb9f3882a884ad6da76765e7a2ae4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348439,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"605fb9f3882a884ad6da76765e7a2ae4","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Attempting to run experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Attempting to book experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Successfully booked experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"08da7db0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"08daa4c0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":680,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":680,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.61452,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"08da7db0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348439,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"08da7db0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46488","level":"info","msg":"Received request.","req_id":681,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"client_addr":"127.0.0.1:46488","level":"info","msg":"Sent response.","req_id":681,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.961252,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"08daa4c0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348439,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"08daa4c0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:17.645214275Z"}]},"request_id":"b3c27212-8980-45c7-855e-4c0d1be2e54f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.8274302} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"08da7db0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:17.696079532Z"}]},"request_id":"b1e3b5ba-38dc-46ce-b244-85563847b301","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.8305519} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"08da7db0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"08daa4c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45? 200 12ms","method":"GET","requestID":"08da7db0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"08daa4c0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03? 200 15ms","method":"GET","requestID":"08daa4c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Setting up experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Successfully locked booking for experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Attempting to update booking for experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Successfully updated booking for experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Successfully set up experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"08e441b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"08e48fd0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08e4ddf0-4e7d-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Successfully running experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":682,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":682,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.535341,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"08e441b0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348439,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"08e441b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46488","level":"info","msg":"Received request.","req_id":683,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"client_addr":"127.0.0.1:46488","level":"info","msg":"Sent response.","req_id":683,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.188266,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"08e48fd0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348439,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"08e48fd0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:17.696079532Z"}]},"request_id":"111ebd69-445a-4f64-aa8e-8060458b583d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.901222} authorization-1 | {"client_addr":"127.0.0.1:46494","level":"info","msg":"Received request.","req_id":684,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"08e48fd0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:17.645214275Z"}]},"request_id":"a705230c-2d2c-4f9e-9b53-3949089b5ae8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.90462} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3508f7bd-88e6-4c65-bea4-527cb2e32418","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.9047995} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"08e441b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:46494","level":"info","msg":"Sent response.","req_id":684,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.708419,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"08e4ddf0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 19ms","method":"POST","requestID":"08e4ddf0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F35323984-873b-4bb8-bb2d-ab7bdd7ab6f6#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F35323984-873b-4bb8-bb2d-ab7bdd7ab6f6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"73e1854e-dc8b-4527-b3b6-2e5cdf09be49","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.9128952} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"08e48fd0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03? 200 29ms","method":"GET","requestID":"08e48fd0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":29,"status":200,"url":"/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6065e717-d2f2-41ba-89a8-f04cc8333dcf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.913646} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"08e441b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45? 200 33ms","method":"GET","requestID":"08e441b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":33,"status":200,"url":"/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"605fb9f3882a884ad6da76765e7a2ae4","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08e4ddf0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45/signaling 200 30ms","method":"POST","requestID":"08e4ddf0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":30,"status":200,"url":"/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08e9bff0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":685,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08ead160-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6c269842-3870-4e66-b962-0ffd7a216d66","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.9272919} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":685,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.006343,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"client_addr":"127.0.0.1:46488","level":"info","msg":"Received request.","req_id":686,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"08e9bff0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","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/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"08e9bff0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"30/Jul/2024:14:07:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1215","request_time":"0.163","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} experiment-1 | {"level":"info","message":"POST /experiments? 201 156ms","method":"POST","requestID":"605fb9f3882a884ad6da76765e7a2ae4","responseTime":156,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d9c8aa26-f3dc-4561-8db9-95a08f10d25b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.9345655} authorization-1 | {"client_addr":"127.0.0.1:46488","level":"info","msg":"Sent response.","req_id":686,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.812787,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"08ead160-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","object_type":"device","rebac_allow":false,"scope_allow":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":"08ead160-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08e9bff0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45/signaling 200 24ms","method":"POST","requestID":"08e9bff0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":24,"status":200,"url":"/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI","level":"info","message":"auth send jwt","requestID":"7609dff4ca549a4b4d20ff72f3a326fa"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"7609dff4ca549a4b4d20ff72f3a326fa","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08ead160-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/signaling 200 20ms","method":"POST","requestID":"08ead160-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":20,"status":200,"url":"/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08eddea0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7609dff4ca549a4b4d20ff72f3a326fa"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":687,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"client_addr":"127.0.0.1:46488","level":"info","msg":"Received request.","req_id":688,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5af343ed-35b8-4c64-8906-d549268852a2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.9523957} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":687,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.469968,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"08eddea0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"08eddea0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:46488","level":"info","msg":"Sent response.","req_id":688,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.522492,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"7609dff4ca549a4b4d20ff72f3a326fa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348439,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7609dff4ca549a4b4d20ff72f3a326fa","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08eddea0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/signaling 200 12ms","method":"POST","requestID":"08eddea0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:17.645214275Z"}]},"request_id":"29251f5a-1bc5-4de5-a809-07f915f00dbf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.959807} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Building connection plan","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} 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":"3cf79b6e-057c-4d00-bc93-a552fbb3603e"},{"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":"eeae7c9d-6169-40ef-b2d0-6fd62d34107d"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"45ba3488-6874-4a1f-b40d-72d133461d9d"}]},"level":"info","message":"Built pairwise service configurations","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} 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/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45"},{"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/ed1c0739-7e63-4ccf-bbc8-836050de1f03"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7609dff4ca549a4b4d20ff72f3a326fa","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"08f076b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7609dff4ca549a4b4d20ff72f3a326fa"} gateway-1 | {"time_local":"30/Jul/2024:14:07:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.030","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7609dff4ca549a4b4d20ff72f3a326fa"} device-1 | {"level":"info","message":"GET /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45? 200 18ms","method":"GET","requestID":"7609dff4ca549a4b4d20ff72f3a326fa","responseTime":18,"status":200,"url":"/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":689,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":689,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.997335,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"08f076b0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348439,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"08f076b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI","level":"info","message":"auth send jwt","requestID":"42e9ac20f35e7f217fdf4e3dad9f3a4e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"42e9ac20f35e7f217fdf4e3dad9f3a4e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"42e9ac20f35e7f217fdf4e3dad9f3a4e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":690,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":690,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.077386,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"42e9ac20f35e7f217fdf4e3dad9f3a4e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348439,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQzOX0.yihAEYDi9HukiYLdZpyGg-5N6ur7MN-fA9y8nEFGeCI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"42e9ac20f35e7f217fdf4e3dad9f3a4e","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"b57a23aa-77f6-4108-a369-b40d4447a6b2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.9795096} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f318e4a5-0ee9-43ed-81c7-255990f5ecd8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.9799805} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"08f076b0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:17.696079532Z"}]},"request_id":"2345d911-9fe7-4e1b-8a05-0567d7e5857c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348439.985288} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"42e9ac20f35e7f217fdf4e3dad9f3a4e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"08f076b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"08f076b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421'","requestID":"08f076b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421'","requestID":"08f076b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"08f076b0-4e7d-11ef-b6a3-8dff1d026ae9"} 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":"08f076b0-4e7d-11ef-b6a3-8dff1d026ae9","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":"getDevicesByDeviceId succeeded","requestID":"42e9ac20f35e7f217fdf4e3dad9f3a4e"} gateway-1 | {"time_local":"30/Jul/2024:14:07:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03? 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":"42e9ac20f35e7f217fdf4e3dad9f3a4e"} device-1 | {"level":"info","message":"GET /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03? 200 25ms","method":"GET","requestID":"42e9ac20f35e7f217fdf4e3dad9f3a4e","responseTime":25,"status":200,"url":"/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"08f076b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421","device":"ed1c0739-7e63-4ccf-bbc8-836050de1f03","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} device-1 | {"device":"ed1c0739-7e63-4ccf-bbc8-836050de1f03","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"ed1c0739-7e63-4ccf-bbc8-836050de1f03","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"605fb9f3882a884ad6da76765e7a2ae4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08faafe0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"content":{"sdp":"v=0\r\no=- 4314672184977322903 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:rn9R\r\na=ice-pwd:MopXMDOLpu/ZVw+s0xngl89C\r\na=ice-options:trickle\r\na=fingerprint:sha-256 0B:C3:89:55:AF:68:B4:A7:39:0A:AA:AC:6B:A1:01:D1:35:48:2D:D4:9F:75:BB:B6:9A:9D:AD:49:89:77:94: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":"ed1c0739-7e63-4ccf-bbc8-836050de1f03","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":691,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:20Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5f740848-e4db-471c-94df-b523a9e62c2b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348440.0358882} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":691,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.820271,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"08faafe0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"08faafe0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08faafe0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45/signaling 200 10ms","method":"POST","requestID":"08faafe0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"08fc5d90-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":692,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:20Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3fdf6a21-afda-4aee-8e77-693bea3aeaec","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348440.0456915} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":692,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.261942,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"08fc5d90-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"08fc5d90-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"08fc5d90-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/signaling 200 9ms","method":"POST","requestID":"08fc5d90-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/signaling"} device-1 | {"device":"ed1c0739-7e63-4ccf-bbc8-836050de1f03","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","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":"f2276da9-a3d1-49dd-806b-1b9b7e665421","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","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":"cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","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":"cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","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":"cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","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/f2276da9-a3d1-49dd-806b-1b9b7e665421' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f2276da9-a3d1-49dd-806b-1b9b7e665421","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"56e23454d8d978a8ee83fd0d65e85439","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"56e23454d8d978a8ee83fd0d65e85439","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/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45"},{"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/ed1c0739-7e63-4ccf-bbc8-836050de1f03"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421"}}},"level":"info","message":"received a callback","requestID":"56e23454d8d978a8ee83fd0d65e85439"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"56e23454d8d978a8ee83fd0d65e85439","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"56e23454d8d978a8ee83fd0d65e85439"} device-1 | {"content":{"candidate":"candidate:2969045875 1 udp 2113937151 96a73ec4-6f49-4ac3-9538-e5af55784ed3.local 37513 typ host generation 0 ufrag rn9R network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ed1c0739-7e63-4ccf-bbc8-836050de1f03","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3097510068 1 udp 1677729535 141.24.211.56 37513 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag rn9R network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ed1c0739-7e63-4ccf-bbc8-836050de1f03","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:109902662 1 udp 33562623 141.24.210.113 59838 typ relay raddr 141.24.211.56 rport 37513 generation 0 ufrag rn9R network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ed1c0739-7e63-4ccf-bbc8-836050de1f03","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"ed1c0739-7e63-4ccf-bbc8-836050de1f03","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/ed1c0739-7e63-4ccf-bbc8-836050de1f03'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03'"} device-1 | {"data":{"peerconnection":"f2276da9-a3d1-49dd-806b-1b9b7e665421","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","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":"ed1c0739-7e63-4ccf-bbc8-836050de1f03","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","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":"f2276da9-a3d1-49dd-806b-1b9b7e665421","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/f2276da9-a3d1-49dd-806b-1b9b7e665421' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f2276da9-a3d1-49dd-806b-1b9b7e665421","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ddccadf64954674539a2cdf33fd0b22c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ddccadf64954674539a2cdf33fd0b22c","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/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45"},{"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/ed1c0739-7e63-4ccf-bbc8-836050de1f03"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421"}}},"level":"info","message":"received a callback","requestID":"ddccadf64954674539a2cdf33fd0b22c"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"0a3e2c60-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":693,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff2276da9-a3d1-49dd-806b-1b9b7e665421","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9af05d8d-ae56-466f-8db4-cff191734761","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.1565583} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":693,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.059674,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0a3e2c60-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421","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":"0a3e2c60-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"0a3e2c60-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421 200 12ms","method":"GET","requestID":"0a3e2c60-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 43ms","method":"POST","requestID":"ddccadf64954674539a2cdf33fd0b22c","responseTime":43,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch","requestID":"ddccadf64954674539a2cdf33fd0b22c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a43d1b0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":694,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ae784f0a-a07c-4da6-afe4-1a9157ce2f67","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.193369} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":694,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.505843,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0a43d1b0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0a43d1b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a43d1b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45/signaling 200 12ms","method":"POST","requestID":"0a43d1b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a45f490-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":695,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"01f6dd8d-29b0-4df4-b55d-b8896dac5e8b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.206886} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":695,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.768376,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0a45f490-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0a45f490-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a45f490-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/signaling 200 12ms","method":"POST","requestID":"0a45f490-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0Mn0.147Y5IuBxLykMr2v2VYggeWuJ-9TkYwVDMDwnNN_CrQ","level":"info","message":"auth send jwt","requestID":"e2bcb6779ce5dc98f5392f893d8e0b9e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e2bcb6779ce5dc98f5392f893d8e0b9e","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6","requestID":"e2bcb6779ce5dc98f5392f893d8e0b9e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":696,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":696,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.247296,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e2bcb6779ce5dc98f5392f893d8e0b9e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348442,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0Mn0.147Y5IuBxLykMr2v2VYggeWuJ-9TkYwVDMDwnNN_CrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e2bcb6779ce5dc98f5392f893d8e0b9e","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6","requestID":"e2bcb6779ce5dc98f5392f893d8e0b9e"} experiment-1 | {"level":"info","message":"GET /experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6 200 15ms","method":"GET","requestID":"e2bcb6779ce5dc98f5392f893d8e0b9e","responseTime":15,"status":200,"url":"/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"} gateway-1 | {"time_local":"30/Jul/2024:14:07:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6 HTTP/1.1","status": "200","body_bytes_sent":"1288","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e2bcb6779ce5dc98f5392f893d8e0b9e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0Mn0.147Y5IuBxLykMr2v2VYggeWuJ-9TkYwVDMDwnNN_CrQ","level":"info","message":"auth send jwt","requestID":"1f46b72b90ca988f64c8a938d1a6878d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"1f46b72b90ca988f64c8a938d1a6878d","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6","requestID":"1f46b72b90ca988f64c8a938d1a6878d"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":697,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":697,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.295654,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"1f46b72b90ca988f64c8a938d1a6878d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348442,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0Mn0.147Y5IuBxLykMr2v2VYggeWuJ-9TkYwVDMDwnNN_CrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1f46b72b90ca988f64c8a938d1a6878d","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Attempting to finish experiment","requestID":"1f46b72b90ca988f64c8a938d1a6878d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"0a520280-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":698,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":698,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.330715,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0a520280-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348442,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0Mn0.147Y5IuBxLykMr2v2VYggeWuJ-9TkYwVDMDwnNN_CrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0a520280-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421","device":"ed1c0739-7e63-4ccf-bbc8-836050de1f03","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","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":"cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","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":"cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","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/f2276da9-a3d1-49dd-806b-1b9b7e665421' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f2276da9-a3d1-49dd-806b-1b9b7e665421","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff2276da9-a3d1-49dd-806b-1b9b7e665421': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff2276da9-a3d1-49dd-806b-1b9b7e665421","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"c3dae725-1442-4e63-b4d2-a4fc13adf345","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.3076317} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"590fa527dbb2688c186171b0d97aa11e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c2ae43f2-87ed-4041-a339-469baf4419bc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.3081007} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"590fa527dbb2688c186171b0d97aa11e","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e6b841cd132940487b006cfc954b3c37","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45"},{"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/ed1c0739-7e63-4ccf-bbc8-836050de1f03"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421"}}},"level":"info","message":"received a callback","requestID":"590fa527dbb2688c186171b0d97aa11e"} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"0a520280-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e6b841cd132940487b006cfc954b3c37","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/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45"},{"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/ed1c0739-7e63-4ccf-bbc8-836050de1f03"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421"}}},"level":"info","message":"received a callback","requestID":"e6b841cd132940487b006cfc954b3c37"} device-1 | {"data":{"peerconnection":"f2276da9-a3d1-49dd-806b-1b9b7e665421","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"0a520280-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421 204 50ms","method":"DELETE","requestID":"0a520280-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":50,"status":204,"url":"/peerconnections/f2276da9-a3d1-49dd-806b-1b9b7e665421"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"},"level":"info","message":"Successfully finished experiment","requestID":"1f46b72b90ca988f64c8a938d1a6878d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a5d4d20-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":699,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b16afccc-b21d-40d3-9772-9f22fcd7da2d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.3614414} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":699,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.245248,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0a5d4d20-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45","object_type":"device","rebac_allow":false,"scope_allow":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":"0a5d4d20-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a5d4d20-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45/signaling 200 18ms","method":"POST","requestID":"0a5d4d20-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F35323984-873b-4bb8-bb2d-ab7bdd7ab6f6': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F35323984-873b-4bb8-bb2d-ab7bdd7ab6f6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"69c4fa22-12bf-4691-8d63-23d3e95cf3b2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.3749518} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0a608170-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ce506db1-937b-4c47-aafc-5c4ca2c9af56","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.3756042} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"1f46b72b90ca988f64c8a938d1a6878d","responseTime":26,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":700,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fed1c0739-7e63-4ccf-bbc8-836050de1f03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6fdd23a2-cc3c-4288-b740-81aa90ef9957","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.3841581} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":700,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.751534,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0a608170-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03","object_type":"device","rebac_allow":false,"scope_allow":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":"0a608170-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0a608170-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/signaling 200 13ms","method":"POST","requestID":"0a608170-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/ed1c0739-7e63-4ccf-bbc8-836050de1f03/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6","requestID":"1f46b72b90ca988f64c8a938d1a6878d"} gateway-1 | {"time_local":"30/Jul/2024:14:07:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.179","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1f46b72b90ca988f64c8a938d1a6878d"} gateway-1 | {"time_local":"30/Jul/2024:14:07:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3193","request_time":"4.182","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"b5fe3c4f47e6e0355b5592bedd5055c9"} experiment-1 | {"level":"info","message":"DELETE /experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6 204 174ms","method":"DELETE","requestID":"1f46b72b90ca988f64c8a938d1a6878d","responseTime":174,"status":204,"url":"/experiments/35323984-873b-4bb8-bb2d-ab7bdd7ab6f6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 131ms","method":"POST","requestID":"590fa527dbb2688c186171b0d97aa11e","responseTime":131,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.138","http_referrer":"","http_user_agent":"node-fetch","requestID":"590fa527dbb2688c186171b0d97aa11e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 131ms","method":"POST","requestID":"e6b841cd132940487b006cfc954b3c37","responseTime":131,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.138","http_referrer":"","http_user_agent":"node-fetch","requestID":"e6b841cd132940487b006cfc954b3c37"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0Mn0.147Y5IuBxLykMr2v2VYggeWuJ-9TkYwVDMDwnNN_CrQ","level":"info","message":"auth send jwt","requestID":"5998025c34348a1956884759deecb278"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"5998025c34348a1956884759deecb278","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"5998025c34348a1956884759deecb278"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":701,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:22Z"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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":"2.735","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"44eaded385a5dc4034171185ea4c4348"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":701,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.988443,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"5998025c34348a1956884759deecb278","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348442,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0Mn0.147Y5IuBxLykMr2v2VYggeWuJ-9TkYwVDMDwnNN_CrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5998025c34348a1956884759deecb278","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/cdf1b19a-40b5-41f0-8c72-8f7fa39c7f45' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f7335a71-237c-4f3f-ac03-14ba5e8a9be4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.4664886} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5998025c34348a1956884759deecb278","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/ed1c0739-7e63-4ccf-bbc8-836050de1f03' 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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d81db04b-9008-4fb3-95b9-e9f6d32b81ad","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.4712045} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"5998025c34348a1956884759deecb278","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"af199bef-065d-4ee7-8b02-dfaf2f787f8f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.4818335} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"15a7e558-6001-4ec2-b3f9-1f62cf69982c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.4820046} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"5998025c34348a1956884759deecb278","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:22.481809022Z"}]},"request_id":"20bec722-1ba6-4b4f-a874-244bc3591343","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.4863465} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5998025c34348a1956884759deecb278","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5998025c34348a1956884759deecb278"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"5998025c34348a1956884759deecb278","responseTime":41,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5998025c34348a1956884759deecb278"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0Mn0.147Y5IuBxLykMr2v2VYggeWuJ-9TkYwVDMDwnNN_CrQ","level":"info","message":"auth send jwt","requestID":"ce7c98bae87d0d080a6b242ba7b17cdf"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ce7c98bae87d0d080a6b242ba7b17cdf","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ce7c98bae87d0d080a6b242ba7b17cdf"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":702,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":702,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.028104,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"ce7c98bae87d0d080a6b242ba7b17cdf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348442,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0Mn0.147Y5IuBxLykMr2v2VYggeWuJ-9TkYwVDMDwnNN_CrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ce7c98bae87d0d080a6b242ba7b17cdf","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"46ef9873-6786-47de-82b8-a33f65f86595","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.5155418} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ce7c98bae87d0d080a6b242ba7b17cdf","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b705c12c-dd2b-425f-b1a4-450f77962d47","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.5203648} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"ce7c98bae87d0d080a6b242ba7b17cdf","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"e4df4ad9-dabf-4ebb-bff3-dd337b84afc6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.5308619} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ea4c5df9-8e91-45fb-a0d6-463666763ef6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.531102} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"ce7c98bae87d0d080a6b242ba7b17cdf","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:22.530824063Z"}]},"request_id":"a6f55ea3-c127-4d2d-84a1-a3232134c068","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348442.5349588} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ce7c98bae87d0d080a6b242ba7b17cdf","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ce7c98bae87d0d080a6b242ba7b17cdf"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"ce7c98bae87d0d080a6b242ba7b17cdf","responseTime":43,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ce7c98bae87d0d080a6b242ba7b17cdf"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0M30.Nv4_s72t9HHwDrJdcGA0Xe8X6GglLEvmGmylfKEMbQ4","level":"info","message":"auth send jwt","requestID":"64df0322b5332339f66bcef3ae5c9b5b"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"64df0322b5332339f66bcef3ae5c9b5b","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"64df0322b5332339f66bcef3ae5c9b5b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":703,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:23Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":703,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.812487,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:23Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"64df0322b5332339f66bcef3ae5c9b5b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348443,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0M30.Nv4_s72t9HHwDrJdcGA0Xe8X6GglLEvmGmylfKEMbQ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"64df0322b5332339f66bcef3ae5c9b5b","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:22.481809022Z"}]},"request_id":"589306fd-cfc7-4d38-a0b1-ebe7b4cac354","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348443.0267274} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"64df0322b5332339f66bcef3ae5c9b5b","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8601247e-ae01-4a32-b4be-2e69b14b8c44","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348443.0339003} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"64df0322b5332339f66bcef3ae5c9b5b","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:22.481809022Z"}]},"request_id":"2019e035-01d2-4a2b-8ef4-d6f4104a75ec","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348443.0455103} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"64df0322b5332339f66bcef3ae5c9b5b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"64df0322b5332339f66bcef3ae5c9b5b"} gateway-1 | {"time_local":"30/Jul/2024:14:07:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.041","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"64df0322b5332339f66bcef3ae5c9b5b"} device-1 | {"level":"info","message":"PATCH /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03 200 35ms","method":"PATCH","requestID":"64df0322b5332339f66bcef3ae5c9b5b","responseTime":35,"status":200,"url":"/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0M30.Nv4_s72t9HHwDrJdcGA0Xe8X6GglLEvmGmylfKEMbQ4","level":"info","message":"auth send jwt","requestID":"8592b0ff952196554ec6d58c7eb3fd8b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8592b0ff952196554ec6d58c7eb3fd8b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"8592b0ff952196554ec6d58c7eb3fd8b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":704,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:23Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":704,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.669516,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:23Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8592b0ff952196554ec6d58c7eb3fd8b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348443,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0M30.Nv4_s72t9HHwDrJdcGA0Xe8X6GglLEvmGmylfKEMbQ4"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8592b0ff952196554ec6d58c7eb3fd8b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"8592b0ff952196554ec6d58c7eb3fd8b"} gateway-1 | {"time_local":"30/Jul/2024:14:07:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.019","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"8592b0ff952196554ec6d58c7eb3fd8b"} device-1 | {"level":"info","message":"POST /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03/websocket 200 15ms","method":"POST","requestID":"8592b0ff952196554ec6d58c7eb3fd8b","responseTime":15,"status":200,"url":"/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"771947f4d100bb0a3c1ffcfa9f842d2f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"771947f4d100bb0a3c1ffcfa9f842d2f","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:07:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/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":"771947f4d100bb0a3c1ffcfa9f842d2f"} device-1 | {"level":"info","message":"OPTIONS /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/websocket 200 2ms","method":"OPTIONS","requestID":"771947f4d100bb0a3c1ffcfa9f842d2f","responseTime":2,"status":200,"url":"/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w","level":"info","message":"auth send jwt","requestID":"dd24728565462dc45ce39905206a6fc9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"dd24728565462dc45ce39905206a6fc9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"dd24728565462dc45ce39905206a6fc9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":705,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":705,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.168976,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dd24728565462dc45ce39905206a6fc9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348444,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dd24728565462dc45ce39905206a6fc9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"dd24728565462dc45ce39905206a6fc9"} device-1 | {"level":"info","message":"POST /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/websocket 200 30ms","method":"POST","requestID":"dd24728565462dc45ce39905206a6fc9","responseTime":30,"status":200,"url":"/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:07:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.036","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"dd24728565462dc45ce39905206a6fc9"} device-1 | {"level":"info","message":"device 'http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w","level":"info","message":"auth send jwt","requestID":"0f74b4cc3fc8ce121f2eff353f655b3e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0f74b4cc3fc8ce121f2eff353f655b3e","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0f74b4cc3fc8ce121f2eff353f655b3e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":706,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":706,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.155843,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0f74b4cc3fc8ce121f2eff353f655b3e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348444,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0f74b4cc3fc8ce121f2eff353f655b3e","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:22.481809022Z"}]},"request_id":"3ea43488-00b3-44b8-aa9a-a5b79cb89305","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.6182265} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0f74b4cc3fc8ce121f2eff353f655b3e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0f74b4cc3fc8ce121f2eff353f655b3e"} gateway-1 | {"time_local":"30/Jul/2024:14:07:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0f74b4cc3fc8ce121f2eff353f655b3e"} device-1 | {"level":"info","message":"GET /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03? 200 18ms","method":"GET","requestID":"0f74b4cc3fc8ce121f2eff353f655b3e","responseTime":18,"status":200,"url":"/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w","level":"info","message":"auth send jwt","requestID":"10b3172625fa3fa876a29e097353b908"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"10b3172625fa3fa876a29e097353b908","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"10b3172625fa3fa876a29e097353b908"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":707,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":707,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.211318,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"10b3172625fa3fa876a29e097353b908","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348444,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"10b3172625fa3fa876a29e097353b908","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:22.530824063Z"}]},"request_id":"38f9aff3-0016-413a-a85c-13663ecca207","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.6457102} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"10b3172625fa3fa876a29e097353b908","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"10b3172625fa3fa876a29e097353b908"} gateway-1 | {"time_local":"30/Jul/2024:14:07:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8? 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":"10b3172625fa3fa876a29e097353b908"} device-1 | {"level":"info","message":"GET /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8? 200 20ms","method":"GET","requestID":"10b3172625fa3fa876a29e097353b908","responseTime":20,"status":200,"url":"/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w","level":"info","message":"auth send jwt","requestID":"172312fdc326305a70e10a259aef2856"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"172312fdc326305a70e10a259aef2856","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"172312fdc326305a70e10a259aef2856"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":708,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":708,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.197317,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"172312fdc326305a70e10a259aef2856","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348444,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"172312fdc326305a70e10a259aef2856","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Attempting to run experiment","requestID":"172312fdc326305a70e10a259aef2856"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Attempting to book experiment","requestID":"172312fdc326305a70e10a259aef2856"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Successfully booked experiment","requestID":"172312fdc326305a70e10a259aef2856"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0bc43020-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0bc47e40-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":709,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":709,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.21119,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0bc43020-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348444,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0bc43020-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Received request.","req_id":710,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Sent response.","req_id":710,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.214958,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0bc47e40-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348444,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"0bc47e40-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:22.481809022Z"}]},"request_id":"8ef1430a-e559-4967-9b14-dad10c8b7fa3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.7184722} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"0bc43020-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:22.530824063Z"}]},"request_id":"ed38755d-7e6a-4626-99e6-64e467ee0359","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.7241564} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0bc47e40-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0bc43020-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03? 200 22ms","method":"GET","requestID":"0bc43020-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":22,"status":200,"url":"/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0bc47e40-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8? 200 23ms","method":"GET","requestID":"0bc47e40-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":23,"status":200,"url":"/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Setting up experiment","requestID":"172312fdc326305a70e10a259aef2856"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"172312fdc326305a70e10a259aef2856"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Successfully locked booking for experiment","requestID":"172312fdc326305a70e10a259aef2856"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"172312fdc326305a70e10a259aef2856"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"172312fdc326305a70e10a259aef2856"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Attempting to update booking for experiment","requestID":"172312fdc326305a70e10a259aef2856"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Successfully updated booking for experiment","requestID":"172312fdc326305a70e10a259aef2856"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Successfully set up experiment","requestID":"172312fdc326305a70e10a259aef2856"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0bcfeff0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0bd06520-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":711,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Successfully running experiment","requestID":"172312fdc326305a70e10a259aef2856"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0bd10160-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":711,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.791383,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Received request.","req_id":712,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0bcfeff0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348444,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"0bcfeff0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Sent response.","req_id":712,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.730841,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0bd06520-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348444,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"0bd06520-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":713,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1f286a38-5ff5-49f0-bac8-3836596529c0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.804314} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:22.530824063Z"}]},"request_id":"b9a311ad-a7eb-4d50-8ed3-ab33e7e61dc6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.8051348} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"0bd06520-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":713,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.356877,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0bd10160-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","object_type":"device","rebac_allow":false,"scope_allow":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":"0bd10160-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:22.481809022Z"}]},"request_id":"faec0668-cd93-4500-bf4e-94aec87cb982","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.8073683} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"0bcfeff0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc579d653-9fef-4942-ba95-ffd10a84f646#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc579d653-9fef-4942-ba95-ffd10a84f646","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"2c5000e2-d3e9-4fbe-82b8-53454e0f2281","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.8152676} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"088c7807-29f3-44f1-9a24-bcb5f2a33770","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.816049} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"172312fdc326305a70e10a259aef2856","responseTime":24,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0bd06520-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8? 200 36ms","method":"GET","requestID":"0bd06520-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":36,"status":200,"url":"/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0bd10160-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03/signaling 200 35ms","method":"POST","requestID":"0bd10160-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":35,"status":200,"url":"/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0bcfeff0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03? 200 43ms","method":"GET","requestID":"0bcfeff0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":43,"status":200,"url":"/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0bd742f0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0bd79110-4e7d-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"172312fdc326305a70e10a259aef2856"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":714,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} gateway-1 | {"time_local":"30/Jul/2024:14:07:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1215","request_time":"0.182","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"172312fdc326305a70e10a259aef2856"} experiment-1 | {"level":"info","message":"POST /experiments? 201 175ms","method":"POST","requestID":"172312fdc326305a70e10a259aef2856","responseTime":175,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"13faaac8-7f69-4fd4-a0c6-877c6d7110f8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.8382494} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Received request.","req_id":715,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":714,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.434932,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0bd742f0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","object_type":"device","rebac_allow":false,"scope_allow":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":"0bd742f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1669a208-b327-487a-8644-4bc1aedc0b47","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.843105} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w","level":"info","message":"auth send jwt","requestID":"5c358785d1ae88371959902a38418850"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"5c358785d1ae88371959902a38418850","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Sent response.","req_id":715,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.555043,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0bd79110-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","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":"5c358785d1ae88371959902a38418850"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"0bd79110-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":716,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":716,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.016429,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0bd742f0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/signaling 200 20ms","method":"POST","requestID":"0bd742f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":20,"status":200,"url":"/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"5c358785d1ae88371959902a38418850","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348444,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5c358785d1ae88371959902a38418850","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0bd79110-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03/signaling 200 21ms","method":"POST","requestID":"0bd79110-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":21,"status":200,"url":"/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03/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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:22.481809022Z"}]},"request_id":"db06c471-be04-44e8-b179-659a67a86aa0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.8562727} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5c358785d1ae88371959902a38418850","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0bdb3a90-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":717,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7ac706ef-9200-4339-bc75-213c9b8bc31f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.862941} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5c358785d1ae88371959902a38418850"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":717,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.364615,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} gateway-1 | {"time_local":"30/Jul/2024:14:07:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03? 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":"5c358785d1ae88371959902a38418850"} device-1 | {"level":"info","message":"GET /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03? 200 18ms","method":"GET","requestID":"5c358785d1ae88371959902a38418850","responseTime":18,"status":200,"url":"/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0bdb3a90-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0bdb3a90-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0bdb3a90-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/signaling 200 11ms","method":"POST","requestID":"0bdb3a90-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"172312fdc326305a70e10a259aef2856"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Building connection plan","requestID":"172312fdc326305a70e10a259aef2856"} 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":"51f6f576-a109-4ee7-99d4-13edd5b1cced"},{"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":"464a1798-6bf1-4164-bd99-e9ae30da6008"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"766d5219-9e0a-4a26-bca6-3a76ecf794b8"}]},"level":"info","message":"Built pairwise service configurations","requestID":"172312fdc326305a70e10a259aef2856"} 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/8e027f92-54e1-40f3-a9a0-88d2c49acfc8"},{"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/23b1995e-c477-4b52-9cc6-e34da62f8b03"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"172312fdc326305a70e10a259aef2856"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w","level":"info","message":"auth send jwt","requestID":"3618e83fef38359d28841b7b871a6e35"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3618e83fef38359d28841b7b871a6e35","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"0bddab90-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3618e83fef38359d28841b7b871a6e35"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":718,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":718,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.006351,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Received request.","req_id":719,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0bddab90-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348444,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0bddab90-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Sent response.","req_id":719,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.869093,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"3618e83fef38359d28841b7b871a6e35","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348444,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0NH0.bxeBs0BwtR38lJpEd6LMhWWqqG7J8twvV-zMem61s-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3618e83fef38359d28841b7b871a6e35","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:22.530824063Z"}]},"request_id":"cb7cc3e2-6b78-4d02-8808-f623cc9d5e3f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.8846564} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3618e83fef38359d28841b7b871a6e35","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3618e83fef38359d28841b7b871a6e35"} gateway-1 | {"time_local":"30/Jul/2024:14:07:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8? 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":"3618e83fef38359d28841b7b871a6e35"} device-1 | {"level":"info","message":"GET /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8? 200 15ms","method":"GET","requestID":"3618e83fef38359d28841b7b871a6e35","responseTime":15,"status":200,"url":"/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8?"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"fbac9c60-a4a5-4a83-9563-1215f40ae3ec","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.8901668} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"33c0e84b-c974-4f53-a94a-d89bbfba9811","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.890944} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"0bddab90-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"0bddab90-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"0bddab90-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416'","requestID":"0bddab90-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416'","requestID":"0bddab90-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"0bddab90-4e7d-11ef-b6a3-8dff1d026ae9"} 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":"0bddab90-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":32,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"0bddab90-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416","device":"8e027f92-54e1-40f3-a9a0-88d2c49acfc8","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"172312fdc326305a70e10a259aef2856"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0be6d350-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":720,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b82625aa-03be-48eb-ae6a-ce68c424062b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.9382524} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":720,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.023267,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0be6d350-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0be6d350-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0be6d350-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03/signaling 200 9ms","method":"POST","requestID":"0be6d350-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0be88100-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":721,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"73560b74-fed4-413e-8d59-1a4f8f23c0c8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348444.949565} device-1 | {"device":"8e027f92-54e1-40f3-a9a0-88d2c49acfc8","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"8e027f92-54e1-40f3-a9a0-88d2c49acfc8","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":721,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.537708,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:24Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0be88100-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0be88100-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0be88100-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/signaling 200 11ms","method":"POST","requestID":"0be88100-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/signaling"} device-1 | {"device":"23b1995e-c477-4b52-9cc6-e34da62f8b03","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":"db175f61-9a9e-4c98-9a9a-e594a71d4416","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 2982845576604721395 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:GIYQ\r\na=ice-pwd:R+KqSveNDAjxcfZTRJgiEjWG\r\na=ice-options:trickle\r\na=fingerprint:sha-256 7A:CB:6F:BF:B4:F9:FC:CC:EF:41:00:DF:A0:BE:F3:72:A1:E5:C5:65:B3:E4:B8:AA:FA:8F:59:79:63:42:D8:02\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"8e027f92-54e1-40f3-a9a0-88d2c49acfc8","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1999433743 1 udp 2113937151 596b0944-a534-4b84-ba22-76df652a3544.local 56179 typ host generation 0 ufrag GIYQ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"8e027f92-54e1-40f3-a9a0-88d2c49acfc8","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"8e027f92-54e1-40f3-a9a0-88d2c49acfc8","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:2138356680 1 udp 1677729535 141.24.211.56 56179 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag GIYQ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"8e027f92-54e1-40f3-a9a0-88d2c49acfc8","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"23b1995e-c477-4b52-9cc6-e34da62f8b03","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":"23b1995e-c477-4b52-9cc6-e34da62f8b03","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":"23b1995e-c477-4b52-9cc6-e34da62f8b03","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":"8e027f92-54e1-40f3-a9a0-88d2c49acfc8","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/db175f61-9a9e-4c98-9a9a-e594a71d4416' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"db175f61-9a9e-4c98-9a9a-e594a71d4416","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c7b72760f0e0ed8f08b38c1deef608b1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"c7b72760f0e0ed8f08b38c1deef608b1","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8"},{"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/23b1995e-c477-4b52-9cc6-e34da62f8b03"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416"}}},"level":"info","message":"received a callback","requestID":"c7b72760f0e0ed8f08b38c1deef608b1"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"c7b72760f0e0ed8f08b38c1deef608b1","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"c7b72760f0e0ed8f08b38c1deef608b1"} device-1 | {"data":{"peerconnection":"db175f61-9a9e-4c98-9a9a-e594a71d4416","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"23b1995e-c477-4b52-9cc6-e34da62f8b03","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":"8e027f92-54e1-40f3-a9a0-88d2c49acfc8","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"23b1995e-c477-4b52-9cc6-e34da62f8b03","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":"db175f61-9a9e-4c98-9a9a-e594a71d4416","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8e027f92-54e1-40f3-a9a0-88d2c49acfc8","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/db175f61-9a9e-4c98-9a9a-e594a71d4416' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"db175f61-9a9e-4c98-9a9a-e594a71d4416","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"51b9a43f79c62a10c16d67fe042bf5a1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"51b9a43f79c62a10c16d67fe042bf5a1","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/8e027f92-54e1-40f3-a9a0-88d2c49acfc8"},{"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/23b1995e-c477-4b52-9cc6-e34da62f8b03"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416"}}},"level":"info","message":"received a callback","requestID":"51b9a43f79c62a10c16d67fe042bf5a1"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"0d26f470-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":722,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdb175f61-9a9e-4c98-9a9a-e594a71d4416","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0b5ebca2-8680-40d2-a301-23dcf6a99b2f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.0380635} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":722,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.484407,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0d26f470-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416","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":"0d26f470-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"0d26f470-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416 200 12ms","method":"GET","requestID":"0d26f470-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 41ms","method":"POST","requestID":"51b9a43f79c62a10c16d67fe042bf5a1","responseTime":41,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.045","http_referrer":"","http_user_agent":"node-fetch","requestID":"51b9a43f79c62a10c16d67fe042bf5a1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0d2c72b0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":723,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2e4e7de2-7b68-4a8c-ad33-2ef4ac2911c1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.0734594} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":723,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.002251,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0d2c72b0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0d2c72b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0d2c72b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/signaling 200 12ms","method":"POST","requestID":"0d2c72b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0d2e9590-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":724,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9716fc72-02ed-4a19-89ff-0f599bba80f1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.08632} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":724,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.59757,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0d2e9590-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0d2e9590-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0d2e9590-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03/signaling 200 12ms","method":"POST","requestID":"0d2e9590-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE","level":"info","message":"auth send jwt","requestID":"aa32d6e0372a7faff4ce5945f792d290"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"aa32d6e0372a7faff4ce5945f792d290","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/c579d653-9fef-4942-ba95-ffd10a84f646","requestID":"aa32d6e0372a7faff4ce5945f792d290"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":725,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":725,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.137395,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"aa32d6e0372a7faff4ce5945f792d290","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348447,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"aa32d6e0372a7faff4ce5945f792d290","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/c579d653-9fef-4942-ba95-ffd10a84f646","requestID":"aa32d6e0372a7faff4ce5945f792d290"} gateway-1 | {"time_local":"30/Jul/2024:14:07:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/c579d653-9fef-4942-ba95-ffd10a84f646 HTTP/1.1","status": "200","body_bytes_sent":"1288","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"aa32d6e0372a7faff4ce5945f792d290"} experiment-1 | {"level":"info","message":"GET /experiments/c579d653-9fef-4942-ba95-ffd10a84f646 200 15ms","method":"GET","requestID":"aa32d6e0372a7faff4ce5945f792d290","responseTime":15,"status":200,"url":"/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE","level":"info","message":"auth send jwt","requestID":"f23bc03adfe9b0bba992011e10822f14"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f23bc03adfe9b0bba992011e10822f14","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/c579d653-9fef-4942-ba95-ffd10a84f646","requestID":"f23bc03adfe9b0bba992011e10822f14"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":726,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":726,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.359325,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f23bc03adfe9b0bba992011e10822f14","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348447,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f23bc03adfe9b0bba992011e10822f14","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Attempting to finish experiment","requestID":"f23bc03adfe9b0bba992011e10822f14"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"0d3af1a0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":727,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":727,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.176125,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0d3af1a0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348447,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0d3af1a0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416","device":"8e027f92-54e1-40f3-a9a0-88d2c49acfc8","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"23b1995e-c477-4b52-9cc6-e34da62f8b03","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":"23b1995e-c477-4b52-9cc6-e34da62f8b03","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":"23b1995e-c477-4b52-9cc6-e34da62f8b03","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/db175f61-9a9e-4c98-9a9a-e594a71d4416' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"db175f61-9a9e-4c98-9a9a-e594a71d4416","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdb175f61-9a9e-4c98-9a9a-e594a71d4416': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fdb175f61-9a9e-4c98-9a9a-e594a71d4416","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"c6f98781-1b6e-4fb1-a267-9b7f66bd5f95","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.1869826} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"08d0ca50-52d6-4446-b196-d48a720a5d2f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.1873078} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f9fe6be09ace9822431f5609441e06ca","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"f9fe6be09ace9822431f5609441e06ca","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"0d3af1a0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8"},{"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/23b1995e-c477-4b52-9cc6-e34da62f8b03"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416"}}},"level":"info","message":"received a callback","requestID":"f9fe6be09ace9822431f5609441e06ca"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"768c73b3973b25720bc0a7dedca53d6e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"768c73b3973b25720bc0a7dedca53d6e","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8"},{"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/23b1995e-c477-4b52-9cc6-e34da62f8b03"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416"}}},"level":"info","message":"received a callback","requestID":"768c73b3973b25720bc0a7dedca53d6e"} device-1 | {"data":{"peerconnection":"db175f61-9a9e-4c98-9a9a-e594a71d4416","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"0d3af1a0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416 204 48ms","method":"DELETE","requestID":"0d3af1a0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":48,"status":204,"url":"/peerconnections/db175f61-9a9e-4c98-9a9a-e594a71d4416"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"},"level":"info","message":"Successfully finished experiment","requestID":"f23bc03adfe9b0bba992011e10822f14"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0d45c710-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":728,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e027f92-54e1-40f3-a9a0-88d2c49acfc8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bfb31a82-7e31-486c-89b1-82be2f7ee04b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.2391806} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":728,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.028351,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0d45c710-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0d45c710-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0d45c710-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/signaling 200 13ms","method":"POST","requestID":"0d45c710-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/8e027f92-54e1-40f3-a9a0-88d2c49acfc8/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc579d653-9fef-4942-ba95-ffd10a84f646': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc579d653-9fef-4942-ba95-ffd10a84f646","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"49afff51-649d-454f-a549-a50f69b8d22b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.2468135} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"795d117d-eda2-41e0-ad86-d9e695cc42ba","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.2471356} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"f23bc03adfe9b0bba992011e10822f14","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0d483810-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":729,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F23b1995e-c477-4b52-9cc6-e34da62f8b03","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c71abedf-392e-4a88-9176-f356d4bb0bac","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.2565353} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":729,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.88772,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0d483810-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03","object_type":"device","rebac_allow":false,"scope_allow":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":"0d483810-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0d483810-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/23b1995e-c477-4b52-9cc6-e34da62f8b03/signaling 200 15ms","method":"POST","requestID":"0d483810-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/c579d653-9fef-4942-ba95-ffd10a84f646","requestID":"f23bc03adfe9b0bba992011e10822f14"} gateway-1 | {"time_local":"30/Jul/2024:14:07:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/c579d653-9fef-4942-ba95-ffd10a84f646 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.178","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f23bc03adfe9b0bba992011e10822f14"} experiment-1 | {"level":"info","message":"DELETE /experiments/c579d653-9fef-4942-ba95-ffd10a84f646 204 173ms","method":"DELETE","requestID":"f23bc03adfe9b0bba992011e10822f14","responseTime":173,"status":204,"url":"/experiments/c579d653-9fef-4942-ba95-ffd10a84f646"} gateway-1 | {"time_local":"30/Jul/2024:14:07:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2801","request_time":"4.248","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"76613bf4231cc3e451738e08e1f6a0d5"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 133ms","method":"POST","requestID":"f9fe6be09ace9822431f5609441e06ca","responseTime":133,"status":200,"url":"/callbacks/experiment"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 131ms","method":"POST","requestID":"768c73b3973b25720bc0a7dedca53d6e","responseTime":131,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.139","http_referrer":"","http_user_agent":"node-fetch","requestID":"f9fe6be09ace9822431f5609441e06ca"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.139","http_referrer":"","http_user_agent":"node-fetch","requestID":"768c73b3973b25720bc0a7dedca53d6e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE","level":"info","message":"auth send jwt","requestID":"dcbb99e1f0227df9b07809f49b486129"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"dcbb99e1f0227df9b07809f49b486129","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"dcbb99e1f0227df9b07809f49b486129"} gateway-1 | {"time_local":"30/Jul/2024:14:07:27 +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.750","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"999dcebc1aa6e191d51e01645bbd3c81"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/23b1995e-c477-4b52-9cc6-e34da62f8b03' closed"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":730,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":730,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.820272,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"dcbb99e1f0227df9b07809f49b486129","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348447,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"dcbb99e1f0227df9b07809f49b486129","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/8e027f92-54e1-40f3-a9a0-88d2c49acfc8' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"893d39aa-3470-4d9f-a85d-91d2675eda35","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.3478} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"dcbb99e1f0227df9b07809f49b486129","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f7a4f2dd-5350-4016-a928-459e5337c23c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.353718} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"dcbb99e1f0227df9b07809f49b486129","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"c1af3b2a-4753-48ee-913d-94835b846300","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.362564} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ce24473d-37eb-4fd8-8dca-540009693645","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.3628142} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"dcbb99e1f0227df9b07809f49b486129","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.362537155Z"}]},"request_id":"7b8086b8-ef11-4dfd-a458-605e2b3f7d21","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.368448} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"dcbb99e1f0227df9b07809f49b486129","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"dcbb99e1f0227df9b07809f49b486129"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dcbb99e1f0227df9b07809f49b486129"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"dcbb99e1f0227df9b07809f49b486129","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE","level":"info","message":"auth send jwt","requestID":"0f4c8f7a7a50f2e4db78b1223ff7fe6c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0f4c8f7a7a50f2e4db78b1223ff7fe6c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0f4c8f7a7a50f2e4db78b1223ff7fe6c"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":731,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":731,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.769205,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0f4c8f7a7a50f2e4db78b1223ff7fe6c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348447,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0f4c8f7a7a50f2e4db78b1223ff7fe6c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f5a63d61-94e9-45ce-bf1e-e44073416a07","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.3982797} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0f4c8f7a7a50f2e4db78b1223ff7fe6c","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cc3298b8-e511-414b-b670-833341a9a50e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.4034092} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0f4c8f7a7a50f2e4db78b1223ff7fe6c","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"2c288558-193a-42ac-b7bf-d22d4f4a1971","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.4139926} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1bc305f3-778c-4622-b82d-ff46445208d8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.4142396} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"0f4c8f7a7a50f2e4db78b1223ff7fe6c","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.413958562Z"}]},"request_id":"88f8c858-410e-4861-904f-3de0e9d0e6f3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.4186358} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0f4c8f7a7a50f2e4db78b1223ff7fe6c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0f4c8f7a7a50f2e4db78b1223ff7fe6c"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"0f4c8f7a7a50f2e4db78b1223ff7fe6c","responseTime":45,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0f4c8f7a7a50f2e4db78b1223ff7fe6c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE","level":"info","message":"auth send jwt","requestID":"42a0e74e0a437623a786d1d0bd243865"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"42a0e74e0a437623a786d1d0bd243865","responseTime":8,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE","level":"info","message":"auth send jwt","requestID":"0085c872fd6a976c3b24719b6fd86a74"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"42a0e74e0a437623a786d1d0bd243865"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"0085c872fd6a976c3b24719b6fd86a74","responseTime":8,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"0085c872fd6a976c3b24719b6fd86a74"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":732,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":732,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.371384,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Received request.","req_id":733,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"42a0e74e0a437623a786d1d0bd243865","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348447,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"42a0e74e0a437623a786d1d0bd243865","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Sent response.","req_id":733,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.662235,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0085c872fd6a976c3b24719b6fd86a74","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348447,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0085c872fd6a976c3b24719b6fd86a74","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.362537155Z"}]},"request_id":"37716017-beaf-42df-890e-63ed3d128db4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.9108505} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"42a0e74e0a437623a786d1d0bd243865","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.413958562Z"}]},"request_id":"01a4f484-0044-4778-b14f-f284114f74e4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.911649} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0085c872fd6a976c3b24719b6fd86a74","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b82813ee-1f97-4d13-8085-ba4586a3a822","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.9155548} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"42a0e74e0a437623a786d1d0bd243865","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"652e2310-3e4d-4246-b1ef-bbd8c868132d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.9170048} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0085c872fd6a976c3b24719b6fd86a74","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.413958562Z"}]},"request_id":"4ff54227-5d84-4b01-88ca-fa8d552cb303","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.9197922} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0085c872fd6a976c3b24719b6fd86a74","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"0085c872fd6a976c3b24719b6fd86a74"} gateway-1 | {"time_local":"30/Jul/2024:14:07:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.034","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"0085c872fd6a976c3b24719b6fd86a74"} device-1 | {"level":"info","message":"PATCH /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e 200 23ms","method":"PATCH","requestID":"0085c872fd6a976c3b24719b6fd86a74","responseTime":23,"status":200,"url":"/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE","level":"info","message":"auth send jwt","requestID":"d8475f515cda26fe50142f14eccb32d7"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"d8475f515cda26fe50142f14eccb32d7","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d8475f515cda26fe50142f14eccb32d7"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.362537155Z"}]},"request_id":"c1c8adc3-ca4f-42ce-b2c7-3a0b3eda0432","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.9315312} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"42a0e74e0a437623a786d1d0bd243865","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"42a0e74e0a437623a786d1d0bd243865"} gateway-1 | {"time_local":"30/Jul/2024:14:07:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.046","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"42a0e74e0a437623a786d1d0bd243865"} device-1 | {"level":"info","message":"PATCH /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b 200 36ms","method":"PATCH","requestID":"42a0e74e0a437623a786d1d0bd243865","responseTime":36,"status":200,"url":"/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":734,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":734,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.711413,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"d8475f515cda26fe50142f14eccb32d7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348447,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d8475f515cda26fe50142f14eccb32d7","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE","level":"info","message":"auth send jwt","requestID":"4725b808b89f6423a80e7916a33e5b9b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"4725b808b89f6423a80e7916a33e5b9b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"4725b808b89f6423a80e7916a33e5b9b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":735,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":735,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.975739,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"4725b808b89f6423a80e7916a33e5b9b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348447,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4725b808b89f6423a80e7916a33e5b9b","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d8475f515cda26fe50142f14eccb32d7"} device-1 | {"level":"info","message":"POST /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e/websocket 200 18ms","method":"POST","requestID":"d8475f515cda26fe50142f14eccb32d7","responseTime":18,"status":200,"url":"/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:07:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"d8475f515cda26fe50142f14eccb32d7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"4725b808b89f6423a80e7916a33e5b9b"} device-1 | {"level":"info","message":"POST /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b/websocket 200 18ms","method":"POST","requestID":"4725b808b89f6423a80e7916a33e5b9b","responseTime":18,"status":200,"url":"/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:07:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.023","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"4725b808b89f6423a80e7916a33e5b9b"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE","level":"info","message":"auth send jwt","requestID":"304aec389c0334d5ac3272c86b1af5c9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"304aec389c0334d5ac3272c86b1af5c9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"304aec389c0334d5ac3272c86b1af5c9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":736,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":736,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.648375,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"304aec389c0334d5ac3272c86b1af5c9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348447,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0N30.sPI_Q5iS4XoRF2e2TCqcDGFa6xnt0Lgn9ajQsN_TtkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"304aec389c0334d5ac3272c86b1af5c9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.362537155Z"}]},"request_id":"c4d8ef7d-6a3b-4e62-8acc-e06b6c8b9b4c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348447.9865422} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"304aec389c0334d5ac3272c86b1af5c9","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"304aec389c0334d5ac3272c86b1af5c9"} gateway-1 | {"time_local":"30/Jul/2024:14:07:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b? 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":"304aec389c0334d5ac3272c86b1af5c9"} device-1 | {"level":"info","message":"GET /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b? 200 15ms","method":"GET","requestID":"304aec389c0334d5ac3272c86b1af5c9","responseTime":15,"status":200,"url":"/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0OH0.YHyaba2YVojXi7yP1V8cYRabvC4QXT9Py7juBWYrQUk","level":"info","message":"auth send jwt","requestID":"6e901f57286ece8797fa4ec2deca4abd"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6e901f57286ece8797fa4ec2deca4abd","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6e901f57286ece8797fa4ec2deca4abd"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":737,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":737,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.880969,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6e901f57286ece8797fa4ec2deca4abd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348448,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0OH0.YHyaba2YVojXi7yP1V8cYRabvC4QXT9Py7juBWYrQUk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6e901f57286ece8797fa4ec2deca4abd","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.413958562Z"}]},"request_id":"b8a24322-c63e-4e36-a7fb-05fb9a0844bd","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.0088108} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"6e901f57286ece8797fa4ec2deca4abd","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6e901f57286ece8797fa4ec2deca4abd"} device-1 | {"level":"info","message":"GET /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e? 200 12ms","method":"GET","requestID":"6e901f57286ece8797fa4ec2deca4abd","responseTime":12,"status":200,"url":"/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e?"} gateway-1 | {"time_local":"30/Jul/2024:14:07:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e? 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":"6e901f57286ece8797fa4ec2deca4abd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0OH0.YHyaba2YVojXi7yP1V8cYRabvC4QXT9Py7juBWYrQUk","level":"info","message":"auth send jwt","requestID":"26798af107b2bdae5a87f73bf6c228e2"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"26798af107b2bdae5a87f73bf6c228e2","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"26798af107b2bdae5a87f73bf6c228e2"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":738,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":738,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.139051,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"26798af107b2bdae5a87f73bf6c228e2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348448,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0OH0.YHyaba2YVojXi7yP1V8cYRabvC4QXT9Py7juBWYrQUk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"26798af107b2bdae5a87f73bf6c228e2","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Attempting to run experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Attempting to book experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Successfully booked experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0dc29830-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0dc2e650-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":739,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":739,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.627611,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0dc29830-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348448,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0OH0.YHyaba2YVojXi7yP1V8cYRabvC4QXT9Py7juBWYrQUk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0dc29830-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Received request.","req_id":740,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Sent response.","req_id":740,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.571296,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0dc2e650-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348448,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0OH0.YHyaba2YVojXi7yP1V8cYRabvC4QXT9Py7juBWYrQUk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0dc2e650-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.362537155Z"}]},"request_id":"16815c1c-0f29-43c2-9e79-19981ba9684a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.0587783} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0dc29830-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.413958562Z"}]},"request_id":"e8096777-5fa6-48ac-aa4f-6125e9ae7de6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.0593839} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0dc2e650-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0dc29830-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b? 200 14ms","method":"GET","requestID":"0dc29830-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0dc2e650-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e? 200 13ms","method":"GET","requestID":"0dc2e650-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Setting up experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Successfully locked booking for experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Attempting to update booking for experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Successfully updated booking for experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Successfully set up experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0dcad590-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0dcb23b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0dcb71d0-4e7d-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Successfully running experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":741,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":741,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.572609,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Received request.","req_id":742,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0dcad590-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348448,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0OH0.YHyaba2YVojXi7yP1V8cYRabvC4QXT9Py7juBWYrQUk"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0dcad590-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Sent response.","req_id":742,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.261147,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0dcb23b0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348448,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0OH0.YHyaba2YVojXi7yP1V8cYRabvC4QXT9Py7juBWYrQUk"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"0dcb23b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":743,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"26c733ed-41d9-42a6-ab9e-69a18144675d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.1186116} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":743,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.70377,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0dcb71d0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","object_type":"device","rebac_allow":false,"scope_allow":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":"0dcb71d0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.362537155Z"}]},"request_id":"3c509a97-1845-4229-a805-31b8b7fcab7f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.1214716} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"0dcad590-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.413958562Z"}]},"request_id":"0d185008-3111-4363-af77-edab79068f65","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.1248136} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0dcb23b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0dcb71d0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b/signaling 200 19ms","method":"POST","requestID":"0dcb71d0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0dcf1b50-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0dcad590-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b? 200 32ms","method":"GET","requestID":"0dcad590-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":32,"status":200,"url":"/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0dcb23b0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9840c1f0-7912-4b94-a1fe-13a5189b7aa0#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9840c1f0-7912-4b94-a1fe-13a5189b7aa0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"fb492482-f17a-47c6-83ca-01fb5931b94b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.136215} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"76f71b2a-66b7-4012-af03-83aa7f2d4f6f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.1367347} device-1 | {"level":"info","message":"GET /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e? 200 32ms","method":"GET","requestID":"0dcb23b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":32,"status":200,"url":"/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":744,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"26798af107b2bdae5a87f73bf6c228e2","responseTime":27,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":744,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.891022,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0dd07ae0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a230fe2e-86f8-4f6a-93a6-e21401aca656","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.1418886} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0dcf1b50-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","object_type":"device","rebac_allow":false,"scope_allow":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":"0dcf1b50-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":745,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0dcf1b50-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e/signaling 200 16ms","method":"POST","requestID":"0dcf1b50-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fea25ad0-287e-4a0a-b523-bcb11af01cfb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.15003} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":745,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.786117,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"26798af107b2bdae5a87f73bf6c228e2"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0dd07ae0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","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":"30/Jul/2024:14:07: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.139","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"26798af107b2bdae5a87f73bf6c228e2"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"0dd07ae0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /experiments? 201 132ms","method":"POST","requestID":"26798af107b2bdae5a87f73bf6c228e2","responseTime":132,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0dd07ae0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b/signaling 200 14ms","method":"POST","requestID":"0dd07ae0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0OH0.YHyaba2YVojXi7yP1V8cYRabvC4QXT9Py7juBWYrQUk","level":"info","message":"auth send jwt","requestID":"03ded073085b50a0f6726288f3fef5c6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"03ded073085b50a0f6726288f3fef5c6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0dd2ebe0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"03ded073085b50a0f6726288f3fef5c6"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":746,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Received request.","req_id":747,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b4413bf3-186e-4947-b87d-e9781d981cee","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.1637938} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Sent response.","req_id":747,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.887013,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":746,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.506579,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"03ded073085b50a0f6726288f3fef5c6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348448,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0OH0.YHyaba2YVojXi7yP1V8cYRabvC4QXT9Py7juBWYrQUk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"03ded073085b50a0f6726288f3fef5c6","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0dd2ebe0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0dd2ebe0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.362537155Z"}]},"request_id":"dd9dff3b-1fc4-41f8-addc-df9f49b4ef3b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.1689355} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0dd2ebe0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e/signaling 200 10ms","method":"POST","requestID":"0dd2ebe0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"03ded073085b50a0f6726288f3fef5c6","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Building connection plan","requestID":"26798af107b2bdae5a87f73bf6c228e2"} 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":"6607242f-0bc8-47d9-a906-82c171655761"},{"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":"28a14022-365d-49d4-85bc-05eeba9ae880"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"384eff9a-7b32-4ffc-ae9e-b94a3622bf00"}]},"level":"info","message":"Built pairwise service configurations","requestID":"26798af107b2bdae5a87f73bf6c228e2"} 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/1a809cd6-d601-42a6-a072-46a9cfe6e98b"},{"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/c00f11db-92c1-4d8a-b175-af940d3bbd4e"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"26798af107b2bdae5a87f73bf6c228e2"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"0dd50ec0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"03ded073085b50a0f6726288f3fef5c6"} gateway-1 | {"time_local":"30/Jul/2024:14:07:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b? 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":"03ded073085b50a0f6726288f3fef5c6"} device-1 | {"level":"info","message":"GET /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b? 200 14ms","method":"GET","requestID":"03ded073085b50a0f6726288f3fef5c6","responseTime":14,"status":200,"url":"/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":748,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":748,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.862369,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0dd50ec0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348448,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0OH0.YHyaba2YVojXi7yP1V8cYRabvC4QXT9Py7juBWYrQUk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0dd50ec0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0OH0.YHyaba2YVojXi7yP1V8cYRabvC4QXT9Py7juBWYrQUk","level":"info","message":"auth send jwt","requestID":"2b604d097722af8589fdbccbfb2c8e16"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"2b604d097722af8589fdbccbfb2c8e16","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2b604d097722af8589fdbccbfb2c8e16"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":749,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":749,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.676967,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"2b604d097722af8589fdbccbfb2c8e16","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348448,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ0OH0.YHyaba2YVojXi7yP1V8cYRabvC4QXT9Py7juBWYrQUk"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2b604d097722af8589fdbccbfb2c8e16","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"a5260e69-e0a1-4c81-aba0-02d13d273728","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.1871982} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2feabe63-a6c8-47ce-ab9a-dca2457a27ea","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.1873019} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"0dd50ec0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:27.413958562Z"}]},"request_id":"d009aba2-b741-4ae1-a6bc-8155b83437e8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.1885052} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2b604d097722af8589fdbccbfb2c8e16","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2b604d097722af8589fdbccbfb2c8e16"} device-1 | {"level":"info","message":"GET /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e? 200 13ms","method":"GET","requestID":"2b604d097722af8589fdbccbfb2c8e16","responseTime":13,"status":200,"url":"/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e?"} gateway-1 | {"time_local":"30/Jul/2024:14:07:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e? 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":"2b604d097722af8589fdbccbfb2c8e16"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"0dd50ec0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"0dd50ec0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4'","requestID":"0dd50ec0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4'","requestID":"0dd50ec0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"0dd50ec0-4e7d-11ef-b6a3-8dff1d026ae9"} 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":"0dd50ec0-4e7d-11ef-b6a3-8dff1d026ae9","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":"0dd50ec0-4e7d-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"26798af107b2bdae5a87f73bf6c228e2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0dddc150-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":750,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"df845eda-e6c2-4f1c-8baf-c93690b4cdac","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.2341514} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":750,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.54151,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0dddc150-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0dddc150-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0dddc150-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b/signaling 200 9ms","method":"POST","requestID":"0dddc150-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0ddf9610-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":751,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"608ca778-37d7-41e1-8673-1f03a7529a70","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348448.2466905} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":751,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.973535,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0ddf9610-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"0ddf9610-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0ddf9610-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e/signaling 200 10ms","method":"POST","requestID":"0ddf9610-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e/signaling"} device-1 | {"device":"c00f11db-92c1-4d8a-b175-af940d3bbd4e","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":"a2df1191-e92b-4772-b42e-af6704fbebd4","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"1a809cd6-d601-42a6-a072-46a9cfe6e98b","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":"a2df1191-e92b-4772-b42e-af6704fbebd4","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"1a809cd6-d601-42a6-a072-46a9cfe6e98b","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":"1a809cd6-d601-42a6-a072-46a9cfe6e98b","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":"1a809cd6-d601-42a6-a072-46a9cfe6e98b","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":"1a809cd6-d601-42a6-a072-46a9cfe6e98b","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/a2df1191-e92b-4772-b42e-af6704fbebd4' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a2df1191-e92b-4772-b42e-af6704fbebd4","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"09d5731b81786c6b9d8567141d030965","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"09d5731b81786c6b9d8567141d030965","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/1a809cd6-d601-42a6-a072-46a9cfe6e98b"},{"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/c00f11db-92c1-4d8a-b175-af940d3bbd4e"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4"}}},"level":"info","message":"received a callback","requestID":"09d5731b81786c6b9d8567141d030965"} device-1 | {"device":"c00f11db-92c1-4d8a-b175-af940d3bbd4e","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":"c00f11db-92c1-4d8a-b175-af940d3bbd4e","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":"c00f11db-92c1-4d8a-b175-af940d3bbd4e","deviceName":"Python Device 2","labels":{"job":"remote_device"},"level":"info","message":"connectionstatechanged connecting checking stable","origin":{"funcName":"connectionstatechanged","lineno":62,"name":"crosslab.soa_client.connection_webrtc","pathname":"/builds/FakIA/fachgebiet-iks/goldi/goldi2/crosslab/clients/soa/python/src/crosslab/soa_client/connection_webrtc.py","processName":"MainProcess","threadName":"MainThread"}} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"09d5731b81786c6b9d8567141d030965","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"09d5731b81786c6b9d8567141d030965"} device-1 | {"data":{"peerconnection":"a2df1191-e92b-4772-b42e-af6704fbebd4","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"1a809cd6-d601-42a6-a072-46a9cfe6e98b","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":"c00f11db-92c1-4d8a-b175-af940d3bbd4e","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":"1a809cd6-d601-42a6-a072-46a9cfe6e98b","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":"c00f11db-92c1-4d8a-b175-af940d3bbd4e","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":"a2df1191-e92b-4772-b42e-af6704fbebd4","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/a2df1191-e92b-4772-b42e-af6704fbebd4' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a2df1191-e92b-4772-b42e-af6704fbebd4","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f38d7f2efacd91b01ee9e3cd66870a0f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"f38d7f2efacd91b01ee9e3cd66870a0f","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/1a809cd6-d601-42a6-a072-46a9cfe6e98b"},{"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/c00f11db-92c1-4d8a-b175-af940d3bbd4e"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4"}}},"level":"info","message":"received a callback","requestID":"f38d7f2efacd91b01ee9e3cd66870a0f"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"0f1d4630-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":752,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa2df1191-e92b-4772-b42e-af6704fbebd4","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"49b6ccab-9b17-43ba-919c-6b5a618d332c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.3300862} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":752,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.823766,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0f1d4630-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4","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":"0f1d4630-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"0f1d4630-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4 200 12ms","method":"GET","requestID":"0f1d4630-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 48ms","method":"POST","requestID":"f38d7f2efacd91b01ee9e3cd66870a0f","responseTime":48,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.053","http_referrer":"","http_user_agent":"node-fetch","requestID":"f38d7f2efacd91b01ee9e3cd66870a0f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0f2387c0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":753,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"41307565-089a-47c4-bc58-3fbb5b5672bc","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.3714602} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":753,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.884792,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0f2387c0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","object_type":"device","rebac_allow":false,"scope_allow":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":"0f2387c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0f2387c0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b/signaling 200 15ms","method":"POST","requestID":"0f2387c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0f2646e0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":754,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a49ab3a2-b48e-4fe2-8a4f-ab5e6ac109e6","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.3890839} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":754,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.258046,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0f2646e0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","object_type":"device","rebac_allow":false,"scope_allow":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":"0f2646e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0f2646e0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e/signaling 200 17ms","method":"POST","requestID":"0f2646e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MH0.JQn_KGuTXj9JOPwzM3cYgeaVfjD7PrpOdal9WKjxrAQ","level":"info","message":"auth send jwt","requestID":"5c8438078b3a030bebf7da07df941a59"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"5c8438078b3a030bebf7da07df941a59","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0","requestID":"5c8438078b3a030bebf7da07df941a59"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":755,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":755,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.215501,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"5c8438078b3a030bebf7da07df941a59","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348450,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MH0.JQn_KGuTXj9JOPwzM3cYgeaVfjD7PrpOdal9WKjxrAQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5c8438078b3a030bebf7da07df941a59","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0","requestID":"5c8438078b3a030bebf7da07df941a59"} gateway-1 | {"time_local":"30/Jul/2024:14:07:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0 HTTP/1.1","status": "200","body_bytes_sent":"1292","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5c8438078b3a030bebf7da07df941a59"} experiment-1 | {"level":"info","message":"GET /experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0 200 17ms","method":"GET","requestID":"5c8438078b3a030bebf7da07df941a59","responseTime":17,"status":200,"url":"/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MH0.JQn_KGuTXj9JOPwzM3cYgeaVfjD7PrpOdal9WKjxrAQ","level":"info","message":"auth send jwt","requestID":"16aa99d7bb4d9734876eb5893f569264"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"16aa99d7bb4d9734876eb5893f569264","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0","requestID":"16aa99d7bb4d9734876eb5893f569264"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":756,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":756,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.258634,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"16aa99d7bb4d9734876eb5893f569264","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348450,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MH0.JQn_KGuTXj9JOPwzM3cYgeaVfjD7PrpOdal9WKjxrAQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"16aa99d7bb4d9734876eb5893f569264","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Attempting to finish experiment","requestID":"16aa99d7bb4d9734876eb5893f569264"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"0f3031f0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":757,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":757,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.569344,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0f3031f0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348450,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MH0.JQn_KGuTXj9JOPwzM3cYgeaVfjD7PrpOdal9WKjxrAQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0f3031f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"device":"1a809cd6-d601-42a6-a072-46a9cfe6e98b","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":"1a809cd6-d601-42a6-a072-46a9cfe6e98b","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":"1a809cd6-d601-42a6-a072-46a9cfe6e98b","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":"c00f11db-92c1-4d8a-b175-af940d3bbd4e","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":"c00f11db-92c1-4d8a-b175-af940d3bbd4e","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":"c00f11db-92c1-4d8a-b175-af940d3bbd4e","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/a2df1191-e92b-4772-b42e-af6704fbebd4' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"a2df1191-e92b-4772-b42e-af6704fbebd4","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa2df1191-e92b-4772-b42e-af6704fbebd4': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fa2df1191-e92b-4772-b42e-af6704fbebd4","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"980f2374-d86a-4e0a-9806-a1bf35a099c3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.4770079} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"49c685b915e59d02a9e4227d70196b13","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"49c685b915e59d02a9e4227d70196b13","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"17ed57cb-1b95-4d8d-bb9e-4f225ef8e3c5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.4777327} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6721e4a92b8ae720ae69b6b5b85fa543","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"6721e4a92b8ae720ae69b6b5b85fa543","responseTime":2,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"0f3031f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b"},{"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/c00f11db-92c1-4d8a-b175-af940d3bbd4e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4"}}},"level":"info","message":"received a callback","requestID":"49c685b915e59d02a9e4227d70196b13"} 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/1a809cd6-d601-42a6-a072-46a9cfe6e98b"},{"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/c00f11db-92c1-4d8a-b175-af940d3bbd4e"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4"}}},"level":"info","message":"received a callback","requestID":"6721e4a92b8ae720ae69b6b5b85fa543"} device-1 | {"data":{"peerconnection":"a2df1191-e92b-4772-b42e-af6704fbebd4","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"0f3031f0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4 204 55ms","method":"DELETE","requestID":"0f3031f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":55,"status":204,"url":"/peerconnections/a2df1191-e92b-4772-b42e-af6704fbebd4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"},"level":"info","message":"Successfully finished experiment","requestID":"16aa99d7bb4d9734876eb5893f569264"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0f3bf1c0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":758,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a809cd6-d601-42a6-a072-46a9cfe6e98b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9e13b78a-12b3-4481-85ed-8872947ad2b8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.5303926} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":758,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.920913,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0f3bf1c0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0f3bf1c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0f3bf1c0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b/signaling 200 12ms","method":"POST","requestID":"0f3bf1c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9840c1f0-7912-4b94-a1fe-13a5189b7aa0': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9840c1f0-7912-4b94-a1fe-13a5189b7aa0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"d9de37bc-b95f-4c87-8286-971ebfc5f42a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.5363934} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"893487c4-9824-44d5-ba05-efc2bded9613","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.5368805} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"16aa99d7bb4d9734876eb5893f569264","responseTime":17,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0f3e3bb0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":759,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc00f11db-92c1-4d8a-b175-af940d3bbd4e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"892bfc83-e44b-4855-bf31-8087f36e4062","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.5459929} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":759,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.980653,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0f3e3bb0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"0f3e3bb0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0f3e3bb0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e/signaling 200 14ms","method":"POST","requestID":"0f3e3bb0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/c00f11db-92c1-4d8a-b175-af940d3bbd4e/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0","requestID":"16aa99d7bb4d9734876eb5893f569264"} gateway-1 | {"time_local":"30/Jul/2024:14:07:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.175","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"16aa99d7bb4d9734876eb5893f569264"} experiment-1 | {"level":"info","message":"DELETE /experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0 204 171ms","method":"DELETE","requestID":"16aa99d7bb4d9734876eb5893f569264","responseTime":171,"status":204,"url":"/experiments/9840c1f0-7912-4b94-a1fe-13a5189b7aa0"} gateway-1 | {"time_local":"30/Jul/2024:14:07:30 +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.652","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"079e1b00a1af270f549d32bc6bff4ca0"} gateway-1 | {"time_local":"30/Jul/2024:14:07:30 +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.644","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"4e3336f0f993c2a5ff5a18d1ec9b0b1f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 123ms","method":"POST","requestID":"49c685b915e59d02a9e4227d70196b13","responseTime":123,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.130","http_referrer":"","http_user_agent":"node-fetch","requestID":"49c685b915e59d02a9e4227d70196b13"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 123ms","method":"POST","requestID":"6721e4a92b8ae720ae69b6b5b85fa543","responseTime":123,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.131","http_referrer":"","http_user_agent":"node-fetch","requestID":"6721e4a92b8ae720ae69b6b5b85fa543"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MH0.JQn_KGuTXj9JOPwzM3cYgeaVfjD7PrpOdal9WKjxrAQ","level":"info","message":"auth send jwt","requestID":"a83ca32078e531c77486960f8e64173c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a83ca32078e531c77486960f8e64173c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"a83ca32078e531c77486960f8e64173c"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/1a809cd6-d601-42a6-a072-46a9cfe6e98b' closed"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":760,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":760,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.223929,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"a83ca32078e531c77486960f8e64173c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348450,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MH0.JQn_KGuTXj9JOPwzM3cYgeaVfjD7PrpOdal9WKjxrAQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a83ca32078e531c77486960f8e64173c","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/c00f11db-92c1-4d8a-b175-af940d3bbd4e' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f20e59e1-1ef1-40e3-a037-4635d221361d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.6353054} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a83ca32078e531c77486960f8e64173c","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aa31f9d2-61fe-42c4-9e80-ab822ac059c0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.6427305} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"a83ca32078e531c77486960f8e64173c","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"400c5bfc-85e2-4390-b998-559938161a2c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.6521614} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d02d3f4c-5894-4aa7-aaa8-a7272ddf7ba0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.6524255} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"a83ca32078e531c77486960f8e64173c","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.652123579Z"}]},"request_id":"b20aa3a1-7608-443c-8ca4-3aa8c19ff4eb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.6579597} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a83ca32078e531c77486960f8e64173c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a83ca32078e531c77486960f8e64173c"} gateway-1 | {"time_local":"30/Jul/2024:14:07:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.056","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a83ca32078e531c77486960f8e64173c"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"a83ca32078e531c77486960f8e64173c","responseTime":50,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MH0.JQn_KGuTXj9JOPwzM3cYgeaVfjD7PrpOdal9WKjxrAQ","level":"info","message":"auth send jwt","requestID":"892237c6b0cf9977a5f75e52c11cd5c5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"892237c6b0cf9977a5f75e52c11cd5c5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"892237c6b0cf9977a5f75e52c11cd5c5"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":761,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":761,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.758233,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:30Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"892237c6b0cf9977a5f75e52c11cd5c5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348450,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MH0.JQn_KGuTXj9JOPwzM3cYgeaVfjD7PrpOdal9WKjxrAQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"892237c6b0cf9977a5f75e52c11cd5c5","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3057934e-9b8e-4b69-b704-2e0421d4326d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.6865022} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"892237c6b0cf9977a5f75e52c11cd5c5","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8324e3eb-8d04-4153-b170-1f204c21b544","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.6927683} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"892237c6b0cf9977a5f75e52c11cd5c5","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"91812060-4cfc-4dd4-9634-d09eefc20377","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.7095098} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9e6c61bf-6f43-4ac0-96f7-f0cd7c20a5de","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.7098153} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"892237c6b0cf9977a5f75e52c11cd5c5","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.709475598Z"}]},"request_id":"4f42aeac-f3cf-4c2e-9326-b51e9f5c1678","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348450.7161567} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"892237c6b0cf9977a5f75e52c11cd5c5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"892237c6b0cf9977a5f75e52c11cd5c5"} gateway-1 | {"time_local":"30/Jul/2024:14:07:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.056","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"892237c6b0cf9977a5f75e52c11cd5c5"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"892237c6b0cf9977a5f75e52c11cd5c5","responseTime":50,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ","level":"info","message":"auth send jwt","requestID":"113ecc8983d6d5d3674d09796faa9b55"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"113ecc8983d6d5d3674d09796faa9b55","responseTime":7,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ","level":"info","message":"auth send jwt","requestID":"0e0ac3fd7e3f9d5d7ce8daf7d3fc6d0e"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"0e0ac3fd7e3f9d5d7ce8daf7d3fc6d0e","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"113ecc8983d6d5d3674d09796faa9b55"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"0e0ac3fd7e3f9d5d7ce8daf7d3fc6d0e"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":762,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":762,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.853865,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"113ecc8983d6d5d3674d09796faa9b55","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"113ecc8983d6d5d3674d09796faa9b55","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Received request.","req_id":763,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Sent response.","req_id":763,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.094167,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0e0ac3fd7e3f9d5d7ce8daf7d3fc6d0e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0e0ac3fd7e3f9d5d7ce8daf7d3fc6d0e","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.652123579Z"}]},"request_id":"9a82adb9-79a9-401f-a913-5d1b08e19064","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.205458} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"113ecc8983d6d5d3674d09796faa9b55","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.709475598Z"}]},"request_id":"84cb0edd-c8b7-4d1d-aa4e-83ad773bfedb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.2062693} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0e0ac3fd7e3f9d5d7ce8daf7d3fc6d0e","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a8f065a6-d4b7-47f6-9cf5-28316fa83023","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.2113547} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"113ecc8983d6d5d3674d09796faa9b55","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e128e43b-d049-4bcf-adbc-8bf243ab4ef9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.2132185} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"0e0ac3fd7e3f9d5d7ce8daf7d3fc6d0e","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.709475598Z"}]},"request_id":"63fec328-d426-40a0-b9e0-491fae1b9cde","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.21775} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0e0ac3fd7e3f9d5d7ce8daf7d3fc6d0e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"0e0ac3fd7e3f9d5d7ce8daf7d3fc6d0e"} device-1 | {"level":"info","message":"PATCH /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e 200 26ms","method":"PATCH","requestID":"0e0ac3fd7e3f9d5d7ce8daf7d3fc6d0e","responseTime":26,"status":200,"url":"/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e"} gateway-1 | {"time_local":"30/Jul/2024:14:07:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.037","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"0e0ac3fd7e3f9d5d7ce8daf7d3fc6d0e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ","level":"info","message":"auth send jwt","requestID":"e6d2d486fa80ef28d23975fdfd3135dd"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e6d2d486fa80ef28d23975fdfd3135dd","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e6d2d486fa80ef28d23975fdfd3135dd"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.652123579Z"}]},"request_id":"c0610fd3-b82c-42a2-bfff-e7fbd0a96c32","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.2280977} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"113ecc8983d6d5d3674d09796faa9b55","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"113ecc8983d6d5d3674d09796faa9b55"} gateway-1 | {"time_local":"30/Jul/2024:14:07:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.047","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"113ecc8983d6d5d3674d09796faa9b55"} device-1 | {"level":"info","message":"PATCH /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59 200 38ms","method":"PATCH","requestID":"113ecc8983d6d5d3674d09796faa9b55","responseTime":38,"status":200,"url":"/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":764,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":764,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.811659,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"e6d2d486fa80ef28d23975fdfd3135dd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e6d2d486fa80ef28d23975fdfd3135dd","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ","level":"info","message":"auth send jwt","requestID":"683646c0ad975a556b6ced0197095f99"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"683646c0ad975a556b6ced0197095f99","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"683646c0ad975a556b6ced0197095f99"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":765,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":765,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.862693,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"683646c0ad975a556b6ced0197095f99","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"683646c0ad975a556b6ced0197095f99","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e6d2d486fa80ef28d23975fdfd3135dd"} gateway-1 | {"time_local":"30/Jul/2024:14:07:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.024","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"e6d2d486fa80ef28d23975fdfd3135dd"} device-1 | {"level":"info","message":"POST /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e/websocket 200 19ms","method":"POST","requestID":"e6d2d486fa80ef28d23975fdfd3135dd","responseTime":19,"status":200,"url":"/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"683646c0ad975a556b6ced0197095f99"} gateway-1 | {"time_local":"30/Jul/2024:14:07:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.026","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"683646c0ad975a556b6ced0197095f99"} device-1 | {"level":"info","message":"POST /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59/websocket 200 22ms","method":"POST","requestID":"683646c0ad975a556b6ced0197095f99","responseTime":22,"status":200,"url":"/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ","level":"info","message":"auth send jwt","requestID":"17ff334a79a3117c104d13260cb7c724"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"17ff334a79a3117c104d13260cb7c724","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"17ff334a79a3117c104d13260cb7c724"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":766,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":766,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.663576,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"17ff334a79a3117c104d13260cb7c724","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"17ff334a79a3117c104d13260cb7c724","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.652123579Z"}]},"request_id":"3bf53eb6-d24e-488a-8dbb-afc8790f9189","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.2931185} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"17ff334a79a3117c104d13260cb7c724","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"17ff334a79a3117c104d13260cb7c724"} device-1 | {"level":"info","message":"GET /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59? 200 14ms","method":"GET","requestID":"17ff334a79a3117c104d13260cb7c724","responseTime":14,"status":200,"url":"/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59?"} gateway-1 | {"time_local":"30/Jul/2024:14:07:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59? 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":"17ff334a79a3117c104d13260cb7c724"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ","level":"info","message":"auth send jwt","requestID":"5efa88d4251da57ec4235a63b9ffb0e5"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5efa88d4251da57ec4235a63b9ffb0e5","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5efa88d4251da57ec4235a63b9ffb0e5"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":767,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":767,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.870416,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"5efa88d4251da57ec4235a63b9ffb0e5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5efa88d4251da57ec4235a63b9ffb0e5","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.709475598Z"}]},"request_id":"a4d7945b-17fd-4e4d-b870-0f74da013519","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.3144577} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5efa88d4251da57ec4235a63b9ffb0e5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5efa88d4251da57ec4235a63b9ffb0e5"} gateway-1 | {"time_local":"30/Jul/2024:14:07:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e? 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":"5efa88d4251da57ec4235a63b9ffb0e5"} device-1 | {"level":"info","message":"GET /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e? 200 16ms","method":"GET","requestID":"5efa88d4251da57ec4235a63b9ffb0e5","responseTime":16,"status":200,"url":"/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ","level":"info","message":"auth send jwt","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":768,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":768,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.439713,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"15ca839e1d80d26bb4e90ddbb22ddab9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Attempting to run experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Attempting to book experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Successfully booked experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0fbc9370-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0fbd08a0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":769,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":769,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.104699,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Received request.","req_id":770,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0fbc9370-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0fbc9370-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Sent response.","req_id":770,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.84383,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0fbd08a0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0fbd08a0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.652123579Z"}]},"request_id":"c92b3af6-8b0c-45bc-9cb2-1e06d9be1542","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.3786898} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0fbc9370-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.709475598Z"}]},"request_id":"aff7a40a-8680-4955-870c-d9b597971aef","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.3796427} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0fbd08a0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0fbc9370-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59? 200 19ms","method":"GET","requestID":"0fbc9370-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0fbd08a0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e? 200 19ms","method":"GET","requestID":"0fbd08a0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Setting up experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Successfully locked booking for experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Attempting to update booking for experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Successfully updated booking for experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Successfully set up experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0fc768e0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0fc7b700-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0fc82c30-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":771,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":771,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.185969,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Received request.","req_id":772,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0fc768e0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Successfully running experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0fc768e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Sent response.","req_id":772,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.010627,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0fc7b700-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"0fc7b700-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":773,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":773,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.064675,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6bfd465c-23bb-44d2-ad3b-853a80e4ec4d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.4515617} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0fc82c30-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","object_type":"device","rebac_allow":false,"scope_allow":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":"0fc82c30-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.709475598Z"}]},"request_id":"7502400e-67ab-4588-977b-a0765fe9cc96","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.4555507} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"0fc7b700-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.652123579Z"}]},"request_id":"690d4938-2d65-497b-8383-6a15005392b1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.458689} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"0fc768e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0fc82c30-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59/signaling 200 19ms","method":"POST","requestID":"0fc82c30-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0fcbaea0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0fc7b700-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e? 200 30ms","method":"GET","requestID":"0fc7b700-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":30,"status":200,"url":"/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0fc768e0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59? 200 34ms","method":"GET","requestID":"0fc768e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":34,"status":200,"url":"/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":774,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"680445a9-5a50-43ea-b9e8-737e67ac383a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.4735272} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc9ce09d9-1867-401b-9500-588c9e796b3a#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc9ce09d9-1867-401b-9500-588c9e796b3a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"304f79c6-daa1-4d13-aff0-a015d5c7551e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.4740286} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0fcce720-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f6ee88bf-18f6-41b9-848b-5519d9272338","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.4743316} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":774,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.180394,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0fcbaea0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","object_type":"device","rebac_allow":false,"scope_allow":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":"0fcbaea0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9","responseTime":26,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":775,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0fcbaea0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e/signaling 200 13ms","method":"POST","requestID":"0fcbaea0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e/signaling"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"295c9c92-6f15-43f6-a764-970d008baca5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.4803927} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":775,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.815668,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0fcce720-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0fcce720-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} gateway-1 | {"time_local":"30/Jul/2024:14:07:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1219","request_time":"0.163","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} experiment-1 | {"level":"info","message":"POST /experiments? 201 159ms","method":"POST","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9","responseTime":159,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0fcce720-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59/signaling 200 11ms","method":"POST","requestID":"0fcce720-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0fcee2f0-4e7d-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ","level":"info","message":"auth send jwt","requestID":"5d49bb37d7f690f79c1ed9839246c6f2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5d49bb37d7f690f79c1ed9839246c6f2","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":776,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5d49bb37d7f690f79c1ed9839246c6f2"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eb6af2d3-7219-4357-b41f-7f2405ecbd98","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.492675} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":776,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.003869,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Received request.","req_id":777,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0fcee2f0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"0fcee2f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35152","level":"info","msg":"Sent response.","req_id":777,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.002434,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"5d49bb37d7f690f79c1ed9839246c6f2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"5d49bb37d7f690f79c1ed9839246c6f2","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0fcee2f0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e/signaling 200 13ms","method":"POST","requestID":"0fcee2f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e/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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.652123579Z"}]},"request_id":"079b107b-2a31-4a94-bb25-61709fb2cc47","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.5015728} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Building connection plan","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} 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":"5ee5fe30-c006-445f-80fb-fb80de51105b"},{"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":"08ffa4ee-5496-4a02-87c5-7c401783e094"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"cd672a61-590d-4993-95d1-a16905101097"}]},"level":"info","message":"Built pairwise service configurations","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} 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/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e"},{"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/c3715322-1d6c-4c7c-9273-d1e921dd4f59"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5d49bb37d7f690f79c1ed9839246c6f2","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"0fd17b00-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5d49bb37d7f690f79c1ed9839246c6f2"} gateway-1 | {"time_local":"30/Jul/2024:14:07:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59? 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":"5d49bb37d7f690f79c1ed9839246c6f2"} device-1 | {"level":"info","message":"GET /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59? 200 17ms","method":"GET","requestID":"5d49bb37d7f690f79c1ed9839246c6f2","responseTime":17,"status":200,"url":"/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":778,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":778,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.757896,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0fd17b00-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0fd17b00-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ","level":"info","message":"auth send jwt","requestID":"6ce5c4b6cb11b351151f8ac55a079aa2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6ce5c4b6cb11b351151f8ac55a079aa2","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6ce5c4b6cb11b351151f8ac55a079aa2"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":779,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":779,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.029934,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6ce5c4b6cb11b351151f8ac55a079aa2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348451,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1MX0.66Fzp63s-yrZKEUZHaU1xleS8OwWK9o7h0CGWdM5BrQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"6ce5c4b6cb11b351151f8ac55a079aa2","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"470ff9e5-4364-4202-b77e-5751ec69debe","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.5280662} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"fed75747-3a2d-4174-9d3b-2206a73ef34d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.5285316} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:30.709475598Z"}]},"request_id":"f171f825-597d-46bc-9984-18abe4f5dcf4","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.530005} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"0fd17b00-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"6ce5c4b6cb11b351151f8ac55a079aa2","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6ce5c4b6cb11b351151f8ac55a079aa2"} device-1 | {"level":"info","message":"GET /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e? 200 25ms","method":"GET","requestID":"6ce5c4b6cb11b351151f8ac55a079aa2","responseTime":25,"status":200,"url":"/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e?"} gateway-1 | {"time_local":"30/Jul/2024:14:07:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.030","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6ce5c4b6cb11b351151f8ac55a079aa2"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"0fd17b00-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"0fd17b00-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6'","requestID":"0fd17b00-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6'","requestID":"0fd17b00-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"0fd17b00-4e7d-11ef-b6a3-8dff1d026ae9"} 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":"0fd17b00-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":44,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"0fd17b00-4e7d-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"15ca839e1d80d26bb4e90ddbb22ddab9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0fdcc5a0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":780,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cb652291-7793-42b2-ba45-6b7bb9b6f2d5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.584216} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":780,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.289502,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0fdcc5a0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"0fdcc5a0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0fdcc5a0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59/signaling 200 11ms","method":"POST","requestID":"0fdcc5a0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"0fdee880-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":781,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f648b2b6-2096-4a83-881a-f8f60a18e758","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348451.5992908} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":781,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.889312,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0fdee880-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"0fdee880-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"0fdee880-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e/signaling 200 14ms","method":"POST","requestID":"0fdee880-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e/signaling"} device-1 | {"device":"c3715322-1d6c-4c7c-9273-d1e921dd4f59","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":"22f86530-26fe-4b8e-85c2-03791dfda8b6","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","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":"22f86530-26fe-4b8e-85c2-03791dfda8b6","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","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":"933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","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":"933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","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":"933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","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/22f86530-26fe-4b8e-85c2-03791dfda8b6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"22f86530-26fe-4b8e-85c2-03791dfda8b6","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"be8ed15845d248e27d6e531150670036","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"be8ed15845d248e27d6e531150670036","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e"},{"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/c3715322-1d6c-4c7c-9273-d1e921dd4f59"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6"}}},"level":"info","message":"received a callback","requestID":"be8ed15845d248e27d6e531150670036"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"be8ed15845d248e27d6e531150670036","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.010","http_referrer":"","http_user_agent":"node-fetch","requestID":"be8ed15845d248e27d6e531150670036"} device-1 | {"device":"c3715322-1d6c-4c7c-9273-d1e921dd4f59","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":"c3715322-1d6c-4c7c-9273-d1e921dd4f59","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":"c3715322-1d6c-4c7c-9273-d1e921dd4f59","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 | {"data":{"peerconnection":"22f86530-26fe-4b8e-85c2-03791dfda8b6","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","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":"c3715322-1d6c-4c7c-9273-d1e921dd4f59","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":"933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","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":"c3715322-1d6c-4c7c-9273-d1e921dd4f59","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":"22f86530-26fe-4b8e-85c2-03791dfda8b6","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/22f86530-26fe-4b8e-85c2-03791dfda8b6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"22f86530-26fe-4b8e-85c2-03791dfda8b6","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d9bb5f6dde4f6f0aa750efbd5e1e17b5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d9bb5f6dde4f6f0aa750efbd5e1e17b5","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/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e"},{"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/c3715322-1d6c-4c7c-9273-d1e921dd4f59"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6"}}},"level":"info","message":"received a callback","requestID":"d9bb5f6dde4f6f0aa750efbd5e1e17b5"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"111d5bf0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":782,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F22f86530-26fe-4b8e-85c2-03791dfda8b6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"970ff23f-344b-4c60-b532-261b305296ee","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348453.6878002} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":782,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.766599,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"111d5bf0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"111d5bf0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"111d5bf0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6 200 14ms","method":"GET","requestID":"111d5bf0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 42ms","method":"POST","requestID":"d9bb5f6dde4f6f0aa750efbd5e1e17b5","responseTime":42,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.047","http_referrer":"","http_user_agent":"node-fetch","requestID":"d9bb5f6dde4f6f0aa750efbd5e1e17b5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1122da30-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":783,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b980de65-ae84-4d1c-a15d-1a943852440d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348453.7205696} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":783,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.752714,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"1122da30-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"1122da30-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1122da30-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e/signaling 200 9ms","method":"POST","requestID":"1122da30-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1124d600-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":784,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6fccf287-54dd-433c-9273-5b81c019e983","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348453.733748} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":784,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.568404,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"1124d600-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"1124d600-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1124d600-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59/signaling 200 10ms","method":"POST","requestID":"1124d600-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1M30.PsM2hMHflpPP2LzoakalBlOpn5CqjziV8fEh9hShYpg","level":"info","message":"auth send jwt","requestID":"4459fc78968d791ed41ffa31853f60c7"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4459fc78968d791ed41ffa31853f60c7","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/c9ce09d9-1867-401b-9500-588c9e796b3a","requestID":"4459fc78968d791ed41ffa31853f60c7"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":785,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":785,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.19605,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"4459fc78968d791ed41ffa31853f60c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348453,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1M30.PsM2hMHflpPP2LzoakalBlOpn5CqjziV8fEh9hShYpg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"4459fc78968d791ed41ffa31853f60c7","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/c9ce09d9-1867-401b-9500-588c9e796b3a","requestID":"4459fc78968d791ed41ffa31853f60c7"} gateway-1 | {"time_local":"30/Jul/2024:14:07:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/c9ce09d9-1867-401b-9500-588c9e796b3a HTTP/1.1","status": "200","body_bytes_sent":"1292","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4459fc78968d791ed41ffa31853f60c7"} experiment-1 | {"level":"info","message":"GET /experiments/c9ce09d9-1867-401b-9500-588c9e796b3a 200 15ms","method":"GET","requestID":"4459fc78968d791ed41ffa31853f60c7","responseTime":15,"status":200,"url":"/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1M30.PsM2hMHflpPP2LzoakalBlOpn5CqjziV8fEh9hShYpg","level":"info","message":"auth send jwt","requestID":"adfcb670cbf41668db18ac6721ccd840"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"adfcb670cbf41668db18ac6721ccd840","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/c9ce09d9-1867-401b-9500-588c9e796b3a","requestID":"adfcb670cbf41668db18ac6721ccd840"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":786,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":786,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.193627,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"adfcb670cbf41668db18ac6721ccd840","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348453,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1M30.PsM2hMHflpPP2LzoakalBlOpn5CqjziV8fEh9hShYpg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"adfcb670cbf41668db18ac6721ccd840","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Attempting to finish experiment","requestID":"adfcb670cbf41668db18ac6721ccd840"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"11310b00-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":787,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":787,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.138866,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"11310b00-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348453,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1M30.PsM2hMHflpPP2LzoakalBlOpn5CqjziV8fEh9hShYpg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"11310b00-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","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":"933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","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":"933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","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":"c3715322-1d6c-4c7c-9273-d1e921dd4f59","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":"c3715322-1d6c-4c7c-9273-d1e921dd4f59","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":"c3715322-1d6c-4c7c-9273-d1e921dd4f59","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/22f86530-26fe-4b8e-85c2-03791dfda8b6' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"22f86530-26fe-4b8e-85c2-03791dfda8b6","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"273524261cfb0f102824e3b2b719b85e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"273524261cfb0f102824e3b2b719b85e","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"81d28f1a-ba3e-441b-9fba-68430a709150","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348453.8377275} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F22f86530-26fe-4b8e-85c2-03791dfda8b6': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F22f86530-26fe-4b8e-85c2-03791dfda8b6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"6f6d86e3-43b3-44e8-bc4e-115fd6dbbf86","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348453.8385828} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fd24c75764a523ff1f234d2bc3293c3f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e"},{"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/c3715322-1d6c-4c7c-9273-d1e921dd4f59"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6"}}},"level":"info","message":"received a callback","requestID":"273524261cfb0f102824e3b2b719b85e"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"fd24c75764a523ff1f234d2bc3293c3f","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"11310b00-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":17,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"in","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"in","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e"},{"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/c3715322-1d6c-4c7c-9273-d1e921dd4f59"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6"}}},"level":"info","message":"received a callback","requestID":"fd24c75764a523ff1f234d2bc3293c3f"} device-1 | {"data":{"peerconnection":"22f86530-26fe-4b8e-85c2-03791dfda8b6","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"11310b00-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6 204 54ms","method":"DELETE","requestID":"11310b00-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":54,"status":204,"url":"/peerconnections/22f86530-26fe-4b8e-85c2-03791dfda8b6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"},"level":"info","message":"Successfully finished experiment","requestID":"adfcb670cbf41668db18ac6721ccd840"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"113cf1e0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":788,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0e86a79a-777c-4c4a-869e-26a7a13e3bb9","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348453.895392} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":788,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.409693,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"113cf1e0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e","object_type":"device","rebac_allow":false,"scope_allow":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":"113cf1e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc9ce09d9-1867-401b-9500-588c9e796b3a': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc9ce09d9-1867-401b-9500-588c9e796b3a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"349bc633-84cb-4751-ab75-ec7d5e80c58b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348453.902834} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"113cf1e0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e/signaling 200 18ms","method":"POST","requestID":"113cf1e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e/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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5891209c-7300-4dc6-a88b-14f6a8b8facb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348453.9034326} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"adfcb670cbf41668db18ac6721ccd840","responseTime":22,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"11402630-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":789,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc3715322-1d6c-4c7c-9273-d1e921dd4f59","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0fbb3b72-04a4-408b-9c66-8941ef926459","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348453.9148796} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":789,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.012666,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"11402630-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59","object_type":"device","rebac_allow":false,"scope_allow":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":"11402630-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"11402630-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59/signaling 200 16ms","method":"POST","requestID":"11402630-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/c3715322-1d6c-4c7c-9273-d1e921dd4f59/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/c9ce09d9-1867-401b-9500-588c9e796b3a","requestID":"adfcb670cbf41668db18ac6721ccd840"} gateway-1 | {"time_local":"30/Jul/2024:14:07:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/c9ce09d9-1867-401b-9500-588c9e796b3a HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.188","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"adfcb670cbf41668db18ac6721ccd840"} gateway-1 | {"time_local":"30/Jul/2024:14:07:33 +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.717","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"1e5ca27e70885ac860c1f599e571511f"} gateway-1 | {"time_local":"30/Jul/2024:14:07:33 +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.728","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.9.5","requestID":"325c0e50750c692917f6eaa021a4adad"} experiment-1 | {"level":"info","message":"DELETE /experiments/c9ce09d9-1867-401b-9500-588c9e796b3a 204 184ms","method":"DELETE","requestID":"adfcb670cbf41668db18ac6721ccd840","responseTime":184,"status":204,"url":"/experiments/c9ce09d9-1867-401b-9500-588c9e796b3a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 141ms","method":"POST","requestID":"273524261cfb0f102824e3b2b719b85e","responseTime":141,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.146","http_referrer":"","http_user_agent":"node-fetch","requestID":"273524261cfb0f102824e3b2b719b85e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 139ms","method":"POST","requestID":"fd24c75764a523ff1f234d2bc3293c3f","responseTime":139,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.146","http_referrer":"","http_user_agent":"node-fetch","requestID":"fd24c75764a523ff1f234d2bc3293c3f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1M30.PsM2hMHflpPP2LzoakalBlOpn5CqjziV8fEh9hShYpg","level":"info","message":"auth send jwt","requestID":"24d45caba7282f739f394172c8a41bf4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"24d45caba7282f739f394172c8a41bf4","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/933ac5a6-e32e-4b88-9d8e-6c595fb5d54e' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"24d45caba7282f739f394172c8a41bf4"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":790,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":790,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.292435,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"24d45caba7282f739f394172c8a41bf4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348453,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1M30.PsM2hMHflpPP2LzoakalBlOpn5CqjziV8fEh9hShYpg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"24d45caba7282f739f394172c8a41bf4","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/c3715322-1d6c-4c7c-9273-d1e921dd4f59' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"cd5042e0-d33f-499c-b6ea-74341c95ec9f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348454.010664} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"24d45caba7282f739f394172c8a41bf4","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:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"87d62da0-1d13-4734-b183-276e6989baff","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348454.0185454} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"24d45caba7282f739f394172c8a41bf4","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"1cdaf369-eef6-4943-8868-6c1801bda6b5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348454.029036} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"70e83351-f09b-4fb7-b168-a34c77947389","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348454.0293653} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"24d45caba7282f739f394172c8a41bf4","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:34.028998438Z"}]},"request_id":"a6c3f715-6aab-482e-ac77-317c4f856a4e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348454.036267} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"24d45caba7282f739f394172c8a41bf4","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"24d45caba7282f739f394172c8a41bf4"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.061","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"24d45caba7282f739f394172c8a41bf4"} device-1 | {"level":"info","message":"POST /devices? 201 53ms","method":"POST","requestID":"24d45caba7282f739f394172c8a41bf4","responseTime":53,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1NH0.aFrxSBIrxlz3obKYTl-1BxJwLr3xPSSB9TsaE1luA08","level":"info","message":"auth send jwt","requestID":"c4771d28d5609a23a1e89c4b33ecfbb5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c4771d28d5609a23a1e89c4b33ecfbb5","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"c4771d28d5609a23a1e89c4b33ecfbb5"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":791,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:34Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":791,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.929064,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"c4771d28d5609a23a1e89c4b33ecfbb5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348454,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1NH0.aFrxSBIrxlz3obKYTl-1BxJwLr3xPSSB9TsaE1luA08"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c4771d28d5609a23a1e89c4b33ecfbb5","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"5ce1483b-4a51-4ead-9d90-0620311ae312","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348454.0623782} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c4771d28d5609a23a1e89c4b33ecfbb5","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0f66f31f-9191-4686-a24f-6733401c2789","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348454.0674448} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"c4771d28d5609a23a1e89c4b33ecfbb5","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"d47fbf45-e32f-4a6f-94b5-46e9088875fa","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348454.0841765} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ce29be10-916c-4fa4-85ce-cab591b6b3b5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348454.0844297} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"c4771d28d5609a23a1e89c4b33ecfbb5","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:34.084144844Z"}]},"request_id":"c1c98a36-d9fb-41c1-95c7-60e9f801c05e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348454.0891173} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c4771d28d5609a23a1e89c4b33ecfbb5","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"c4771d28d5609a23a1e89c4b33ecfbb5"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c4771d28d5609a23a1e89c4b33ecfbb5"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"c4771d28d5609a23a1e89c4b33ecfbb5","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"17104011d60b089aab013cef65ed3935","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"17104011d60b089aab013cef65ed3935","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/d34279e0-4d17-44d7-a8ef-628c352beb90/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":"17104011d60b089aab013cef65ed3935"} device-1 | {"level":"info","message":"OPTIONS /devices/d34279e0-4d17-44d7-a8ef-628c352beb90/websocket 200 1ms","method":"OPTIONS","requestID":"17104011d60b089aab013cef65ed3935","responseTime":1,"status":200,"url":"/devices/d34279e0-4d17-44d7-a8ef-628c352beb90/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc","level":"info","message":"auth send jwt","requestID":"bfe490fc931d26efea624de64f657c6f"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bfe490fc931d26efea624de64f657c6f","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"bfe490fc931d26efea624de64f657c6f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":792,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":792,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.328012,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"bfe490fc931d26efea624de64f657c6f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"bfe490fc931d26efea624de64f657c6f","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c346a6a1c3931d1388108d58fa2f75b0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"c346a6a1c3931d1388108d58fa2f75b0","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/585d0362-95bd-47f3-88e2-147e9b956a39/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":"c346a6a1c3931d1388108d58fa2f75b0"} device-1 | {"level":"info","message":"OPTIONS /devices/585d0362-95bd-47f3-88e2-147e9b956a39/websocket 200 1ms","method":"OPTIONS","requestID":"c346a6a1c3931d1388108d58fa2f75b0","responseTime":1,"status":200,"url":"/devices/585d0362-95bd-47f3-88e2-147e9b956a39/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"bfe490fc931d26efea624de64f657c6f"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d34279e0-4d17-44d7-a8ef-628c352beb90/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":"bfe490fc931d26efea624de64f657c6f"} device-1 | {"level":"info","message":"POST /devices/d34279e0-4d17-44d7-a8ef-628c352beb90/websocket 200 25ms","method":"POST","requestID":"bfe490fc931d26efea624de64f657c6f","responseTime":25,"status":200,"url":"/devices/d34279e0-4d17-44d7-a8ef-628c352beb90/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc","level":"info","message":"auth send jwt","requestID":"caeffb6728bc82e405d21751b7b41836"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"caeffb6728bc82e405d21751b7b41836","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"caeffb6728bc82e405d21751b7b41836"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":793,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":793,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.136928,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"caeffb6728bc82e405d21751b7b41836","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"caeffb6728bc82e405d21751b7b41836","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"caeffb6728bc82e405d21751b7b41836"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/585d0362-95bd-47f3-88e2-147e9b956a39/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.024","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"caeffb6728bc82e405d21751b7b41836"} device-1 | {"level":"info","message":"POST /devices/585d0362-95bd-47f3-88e2-147e9b956a39/websocket 200 16ms","method":"POST","requestID":"caeffb6728bc82e405d21751b7b41836","responseTime":16,"status":200,"url":"/devices/585d0362-95bd-47f3-88e2-147e9b956a39/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc","level":"info","message":"auth send jwt","requestID":"9f56423b3e811d24a3391a4ceccc4759"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9f56423b3e811d24a3391a4ceccc4759","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9f56423b3e811d24a3391a4ceccc4759"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":794,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":794,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.840796,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"9f56423b3e811d24a3391a4ceccc4759","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9f56423b3e811d24a3391a4ceccc4759","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:34.028998438Z"}]},"request_id":"c838cf7e-6a2d-424e-9120-7722ffbd592d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.1055825} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9f56423b3e811d24a3391a4ceccc4759","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9f56423b3e811d24a3391a4ceccc4759"} device-1 | {"level":"info","message":"GET /devices/d34279e0-4d17-44d7-a8ef-628c352beb90? 200 13ms","method":"GET","requestID":"9f56423b3e811d24a3391a4ceccc4759","responseTime":13,"status":200,"url":"/devices/d34279e0-4d17-44d7-a8ef-628c352beb90?"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d34279e0-4d17-44d7-a8ef-628c352beb90? 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":"9f56423b3e811d24a3391a4ceccc4759"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc","level":"info","message":"auth send jwt","requestID":"6e46aa8e9771d8c4694dc308d36656f8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"6e46aa8e9771d8c4694dc308d36656f8","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6e46aa8e9771d8c4694dc308d36656f8"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":795,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":795,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.379306,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"6e46aa8e9771d8c4694dc308d36656f8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6e46aa8e9771d8c4694dc308d36656f8","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:34.084144844Z"}]},"request_id":"43187860-1059-4c51-8f1e-e8b6c8cc5ec2","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.1301894} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6e46aa8e9771d8c4694dc308d36656f8","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6e46aa8e9771d8c4694dc308d36656f8"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/585d0362-95bd-47f3-88e2-147e9b956a39? 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":"6e46aa8e9771d8c4694dc308d36656f8"} device-1 | {"level":"info","message":"GET /devices/585d0362-95bd-47f3-88e2-147e9b956a39? 200 18ms","method":"GET","requestID":"6e46aa8e9771d8c4694dc308d36656f8","responseTime":18,"status":200,"url":"/devices/585d0362-95bd-47f3-88e2-147e9b956a39?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc","level":"info","message":"auth send jwt","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f43f8ce867cafdb7c2a08fc416642da9","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":796,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":796,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.089287,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"f43f8ce867cafdb7c2a08fc416642da9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f43f8ce867cafdb7c2a08fc416642da9","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Attempting to run experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Attempting to book experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Successfully booked experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"129b7070-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"129bbe90-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":797,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":797,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.109136,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"129b7070-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"129b7070-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44494","level":"info","msg":"Received request.","req_id":798,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:44494","level":"info","msg":"Sent response.","req_id":798,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.99067,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"129bbe90-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"129bbe90-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:34.028998438Z"}]},"request_id":"0cc1eb4d-0630-491e-bac6-4f3d3736617e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.1955855} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"129b7070-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"129b7070-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:34.084144844Z"}]},"request_id":"3ded1634-8f31-4dd9-a02f-0b6049c3f334","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.200967} device-1 | {"level":"info","message":"GET /devices/d34279e0-4d17-44d7-a8ef-628c352beb90? 200 18ms","method":"GET","requestID":"129b7070-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":18,"status":200,"url":"/devices/d34279e0-4d17-44d7-a8ef-628c352beb90?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"129bbe90-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"129bbe90-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/585d0362-95bd-47f3-88e2-147e9b956a39? 200 19ms","method":"GET","requestID":"129bbe90-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":200,"url":"/devices/585d0362-95bd-47f3-88e2-147e9b956a39?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Setting up experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Successfully locked booking for experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Attempting to update booking for experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Successfully updated booking for experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Successfully set up experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"12a645e0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"12a6bb10-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"12a70930-4e7d-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Successfully running experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":799,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":799,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.567405,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:44494","level":"info","msg":"Received request.","req_id":800,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12a645e0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"12a645e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44494","level":"info","msg":"Sent response.","req_id":800,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.037676,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12a6bb10-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"12a6bb10-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44500","level":"info","msg":"Received request.","req_id":801,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:34.028998438Z"}]},"request_id":"3565a1e0-d5de-4b5a-87d4-99ad5d38fe51","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.271477} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c1e9f1f8-d7d6-46db-8cbb-2ca6b620a560","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.2719429} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"12a645e0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:34.084144844Z"}]},"request_id":"818f3e79-566b-49f2-9315-42901f15a366","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.2741168} authorization-1 | {"client_addr":"127.0.0.1:44500","level":"info","msg":"Sent response.","req_id":801,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.662008,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12a70930-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","object_type":"device","rebac_allow":false,"scope_allow":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":"12a70930-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"12a6bb10-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"12a645e0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/d34279e0-4d17-44d7-a8ef-628c352beb90? 200 25ms","method":"GET","requestID":"12a645e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":25,"status":200,"url":"/devices/d34279e0-4d17-44d7-a8ef-628c352beb90?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"12a70930-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d34279e0-4d17-44d7-a8ef-628c352beb90/signaling 200 20ms","method":"POST","requestID":"12a70930-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":20,"status":200,"url":"/devices/d34279e0-4d17-44d7-a8ef-628c352beb90/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"12a6bb10-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5c1dea1b-1ed0-43c0-8b40-5b442e0e4385#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5c1dea1b-1ed0-43c0-8b40-5b442e0e4385","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"294c1398-2d29-4af6-8271-74bb7b36b222","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.280364} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dfb0a46c-470f-4051-b0ee-84bc85d74656","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.280641} device-1 | {"level":"info","message":"GET /devices/585d0362-95bd-47f3-88e2-147e9b956a39? 200 24ms","method":"GET","requestID":"12a6bb10-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":24,"status":200,"url":"/devices/585d0362-95bd-47f3-88e2-147e9b956a39?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"12aa8ba0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"f43f8ce867cafdb7c2a08fc416642da9","responseTime":17,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"12aad9c0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":802,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:44494","level":"info","msg":"Received request.","req_id":803,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"823556b7-3d18-4cba-8161-7ea5e9952d6e","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.2882433} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":802,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.414987,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12aa8ba0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"12aa8ba0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"be24b867-44cb-436e-b9a8-b171525e5fbf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.2898743} authorization-1 | {"client_addr":"127.0.0.1:44494","level":"info","msg":"Sent response.","req_id":803,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.744718,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12aad9c0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"12aad9c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"807","request_time":"0.153","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} experiment-1 | {"level":"info","message":"POST /experiments? 201 146ms","method":"POST","requestID":"f43f8ce867cafdb7c2a08fc416642da9","responseTime":146,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"12aa8ba0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/585d0362-95bd-47f3-88e2-147e9b956a39/signaling 200 12ms","method":"POST","requestID":"12aa8ba0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/devices/585d0362-95bd-47f3-88e2-147e9b956a39/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"12aad9c0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d34279e0-4d17-44d7-a8ef-628c352beb90/signaling 200 11ms","method":"POST","requestID":"12aad9c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/d34279e0-4d17-44d7-a8ef-628c352beb90/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"12acd590-4e7d-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc","level":"info","message":"auth send jwt","requestID":"87330bead0210208498ba76ce827beac"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"87330bead0210208498ba76ce827beac","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"87330bead0210208498ba76ce827beac"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":804,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:44494","level":"info","msg":"Received request.","req_id":805,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"78f54909-de34-4aa0-b0fb-550d8705be28","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.3015118} authorization-1 | {"client_addr":"127.0.0.1:44494","level":"info","msg":"Sent response.","req_id":805,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.8146,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":804,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.401603,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"87330bead0210208498ba76ce827beac","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"87330bead0210208498ba76ce827beac","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12acd590-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"12acd590-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:34.028998438Z"}]},"request_id":"b54adde7-b691-4ce4-b4a7-dd18acdb5b16","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.3060143} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"12acd590-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/585d0362-95bd-47f3-88e2-147e9b956a39/signaling 200 10ms","method":"POST","requestID":"12acd590-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/devices/585d0362-95bd-47f3-88e2-147e9b956a39/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"87330bead0210208498ba76ce827beac","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Building connection plan","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"50b3d30f-0d49-47d0-b5eb-5b50af152d97"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"249abebe-a7e9-49b1-bc88-ff637210a69c"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"0238072e-caf3-47aa-859f-114cf7e67d97"}]},"level":"info","message":"Built pairwise service configurations","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"12aeaa50-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"87330bead0210208498ba76ce827beac"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d34279e0-4d17-44d7-a8ef-628c352beb90? 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":"87330bead0210208498ba76ce827beac"} device-1 | {"level":"info","message":"GET /devices/d34279e0-4d17-44d7-a8ef-628c352beb90? 200 13ms","method":"GET","requestID":"87330bead0210208498ba76ce827beac","responseTime":13,"status":200,"url":"/devices/d34279e0-4d17-44d7-a8ef-628c352beb90?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":806,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":806,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.731259,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12aeaa50-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"12aeaa50-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc","level":"info","message":"auth send jwt","requestID":"5350937af9e46f5ab442783593d330ee"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5350937af9e46f5ab442783593d330ee","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5350937af9e46f5ab442783593d330ee"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":807,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":807,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.695863,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"5350937af9e46f5ab442783593d330ee","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5350937af9e46f5ab442783593d330ee","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"d51feaa5-039d-49c4-b691-74ac4fd4664d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.3239856} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cc6e4500-dac1-42a7-83b2-35e6c2afcc25","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.3241684} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:34.084144844Z"}]},"request_id":"6298db9f-c529-47c4-b2f9-a20abfa4dc64","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.3249412} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"12aeaa50-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5350937af9e46f5ab442783593d330ee","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5350937af9e46f5ab442783593d330ee"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/585d0362-95bd-47f3-88e2-147e9b956a39? 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":"5350937af9e46f5ab442783593d330ee"} device-1 | {"level":"info","message":"GET /devices/585d0362-95bd-47f3-88e2-147e9b956a39? 200 14ms","method":"GET","requestID":"5350937af9e46f5ab442783593d330ee","responseTime":14,"status":200,"url":"/devices/585d0362-95bd-47f3-88e2-147e9b956a39?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"12aeaa50-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"12aeaa50-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae'","requestID":"12aeaa50-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae'","requestID":"12aeaa50-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"12aeaa50-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 31ms","method":"POST","requestID":"12aeaa50-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":31,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"12aeaa50-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae","device":"585d0362-95bd-47f3-88e2-147e9b956a39","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"creating connection","messageType":"command","services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}],"tiebreaker":false} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae","device":"d34279e0-4d17-44d7-a8ef-628c352beb90","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/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"f43f8ce867cafdb7c2a08fc416642da9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"12b735d0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":808,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"387da3a7-b5a6-4eca-87ab-42d5179db9fd","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.3691843} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":808,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.403062,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12b735d0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"12b735d0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"12b735d0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d34279e0-4d17-44d7-a8ef-628c352beb90/signaling 200 8ms","method":"POST","requestID":"12b735d0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/d34279e0-4d17-44d7-a8ef-628c352beb90/signaling"} device-1 | {"device":"d34279e0-4d17-44d7-a8ef-628c352beb90","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"d34279e0-4d17-44d7-a8ef-628c352beb90","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"12b8e380-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":809,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"daffdbd2-7798-4207-a751-52f907aa2ccb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.380097} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":809,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.05995,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12b8e380-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","object_type":"device","rebac_allow":false,"scope_allow":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":"12b8e380-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"12b8e380-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/585d0362-95bd-47f3-88e2-147e9b956a39/signaling 200 7ms","method":"POST","requestID":"12b8e380-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/devices/585d0362-95bd-47f3-88e2-147e9b956a39/signaling"} device-1 | {"device":"585d0362-95bd-47f3-88e2-147e9b956a39","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"585d0362-95bd-47f3-88e2-147e9b956a39","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 6840798317920884312 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:VvCT\r\na=ice-pwd:NPPPULGqgzc+w2xOCslOln7S\r\na=ice-options:trickle\r\na=fingerprint:sha-256 5B:8D:30:D5:D0:FB:07:6C:3F:29:38:DA:76:83:DC:6A:59:BD:BA:67:47:F9:3C:45:B5:50:12:13:BC:EB:BF: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":"d34279e0-4d17-44d7-a8ef-628c352beb90","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 6025631749134413194 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:2wV1\r\na=ice-pwd:0gP8ov+CJZ2u7J8MyCD6GK4A\r\na=ice-options:trickle\r\na=fingerprint:sha-256 03:3E:FF:A4:D7:9D:74:01:40:BA:4D:2E:DD:09:28:AC:83:6B:64:8F:F6:8E:7B:BA:2E:6C:0D:34:EA:39:DB:F8\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"585d0362-95bd-47f3-88e2-147e9b956a39","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3954446670 1 udp 2113937151 a202faeb-3a3d-4f0d-b29a-9843fb7e3fcc.local 55686 typ host generation 0 ufrag 2wV1 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"585d0362-95bd-47f3-88e2-147e9b956a39","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3737320195 1 udp 1677729535 141.24.211.56 55686 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 2wV1 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"585d0362-95bd-47f3-88e2-147e9b956a39","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/585d0362-95bd-47f3-88e2-147e9b956a39'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39'"} device-1 | {"content":{"candidate":"candidate:3430509178 1 udp 2113937151 3dbdf6d0-372c-4349-a2a3-a4a08773f971.local 46957 typ host generation 0 ufrag VvCT network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d34279e0-4d17-44d7-a8ef-628c352beb90","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3379651874 1 udp 1677729535 141.24.211.56 46957 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag VvCT network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d34279e0-4d17-44d7-a8ef-628c352beb90","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"d34279e0-4d17-44d7-a8ef-628c352beb90","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/d34279e0-4d17-44d7-a8ef-628c352beb90'"} device-1 | {"device":"585d0362-95bd-47f3-88e2-147e9b956a39","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/c2d221ab-a271-4d73-95fa-ab93020c8cae' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"c2d221ab-a271-4d73-95fa-ab93020c8cae","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d34279e0-4d17-44d7-a8ef-628c352beb90","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"585d0362-95bd-47f3-88e2-147e9b956a39","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"585d0362-95bd-47f3-88e2-147e9b956a39","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"d34279e0-4d17-44d7-a8ef-628c352beb90","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/585d0362-95bd-47f3-88e2-147e9b956a39"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae"}}},"level":"info","message":"received a callback","requestID":"d8b57d035cbae5ccc49136c0aab8a5f3"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d8b57d035cbae5ccc49136c0aab8a5f3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d8b57d035cbae5ccc49136c0aab8a5f3","responseTime":1,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"d8b57d035cbae5ccc49136c0aab8a5f3","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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":"d8b57d035cbae5ccc49136c0aab8a5f3"} device-1 | {"device":"585d0362-95bd-47f3-88e2-147e9b956a39","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"c2d221ab-a271-4d73-95fa-ab93020c8cae","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"c2d221ab-a271-4d73-95fa-ab93020c8cae","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/c2d221ab-a271-4d73-95fa-ab93020c8cae' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"c2d221ab-a271-4d73-95fa-ab93020c8cae","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c129e79050b09d0189660e145d23b1c1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c129e79050b09d0189660e145d23b1c1","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/585d0362-95bd-47f3-88e2-147e9b956a39"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae"}}},"level":"info","message":"received a callback","requestID":"c129e79050b09d0189660e145d23b1c1"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"12c5b4c0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":810,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fc2d221ab-a271-4d73-95fa-ab93020c8cae","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"56393de5-c15c-41a2-97b5-687092c0686a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.4647079} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":810,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.218916,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12c5b4c0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae","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":"12c5b4c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"12c5b4c0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae 200 8ms","method":"GET","requestID":"12c5b4c0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 30ms","method":"POST","requestID":"c129e79050b09d0189660e145d23b1c1","responseTime":30,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.033","http_referrer":"","http_user_agent":"node-fetch","requestID":"c129e79050b09d0189660e145d23b1c1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"12c9d370-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":811,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"db70a387-c07f-4adc-a4fc-8017782522d5","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.4916844} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":811,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.261406,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12c9d370-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"12c9d370-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"12c9d370-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/585d0362-95bd-47f3-88e2-147e9b956a39/signaling 200 8ms","method":"POST","requestID":"12c9d370-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/585d0362-95bd-47f3-88e2-147e9b956a39/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"12cb5a10-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":812,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a3dd9330-2990-43b5-b2e5-01868ba3e55d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.500845} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":812,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.201796,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12cb5a10-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","object_type":"device","rebac_allow":false,"scope_allow":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":"12cb5a10-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"12cb5a10-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d34279e0-4d17-44d7-a8ef-628c352beb90/signaling 200 7ms","method":"POST","requestID":"12cb5a10-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/devices/d34279e0-4d17-44d7-a8ef-628c352beb90/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc","level":"info","message":"auth send jwt","requestID":"15a7d20799222ab57dc67b354971b4f7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"15a7d20799222ab57dc67b354971b4f7","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385","requestID":"15a7d20799222ab57dc67b354971b4f7"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":813,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":813,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.690256,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"15a7d20799222ab57dc67b354971b4f7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"15a7d20799222ab57dc67b354971b4f7","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385","requestID":"15a7d20799222ab57dc67b354971b4f7"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385 HTTP/1.1","status": "200","body_bytes_sent":"880","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"15a7d20799222ab57dc67b354971b4f7"} experiment-1 | {"level":"info","message":"GET /experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385 200 10ms","method":"GET","requestID":"15a7d20799222ab57dc67b354971b4f7","responseTime":10,"status":200,"url":"/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc","level":"info","message":"auth send jwt","requestID":"0357291e96743b43f75a8845b94e1ae1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0357291e96743b43f75a8845b94e1ae1","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385","requestID":"0357291e96743b43f75a8845b94e1ae1"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":814,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":814,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.023926,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0357291e96743b43f75a8845b94e1ae1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0357291e96743b43f75a8845b94e1ae1","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Attempting to finish experiment","requestID":"0357291e96743b43f75a8845b94e1ae1"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"12d45ac0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":815,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":815,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.643912,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12d45ac0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"12d45ac0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae","device":"585d0362-95bd-47f3-88e2-147e9b956a39","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae","device":"d34279e0-4d17-44d7-a8ef-628c352beb90","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/c2d221ab-a271-4d73-95fa-ab93020c8cae' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"c2d221ab-a271-4d73-95fa-ab93020c8cae","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fc2d221ab-a271-4d73-95fa-ab93020c8cae': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fc2d221ab-a271-4d73-95fa-ab93020c8cae","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"6cc25187-500f-436a-ac3c-066ab9483be0","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.5708034} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5a0c05e6-98fb-4fc2-8236-511fe1e29b13","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.5710611} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9836b6700f891e3fbf3a697a888ef72b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9836b6700f891e3fbf3a697a888ef72b","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4eb5dad2c27f863498a8609bb984d3d3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"12d45ac0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4eb5dad2c27f863498a8609bb984d3d3","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/585d0362-95bd-47f3-88e2-147e9b956a39"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae"}}},"level":"info","message":"received a callback","requestID":"9836b6700f891e3fbf3a697a888ef72b"} 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/585d0362-95bd-47f3-88e2-147e9b956a39"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae"}}},"level":"info","message":"received a callback","requestID":"4eb5dad2c27f863498a8609bb984d3d3"} device-1 | {"data":{"peerconnection":"c2d221ab-a271-4d73-95fa-ab93020c8cae","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"12d45ac0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae 204 32ms","method":"DELETE","requestID":"12d45ac0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":32,"status":204,"url":"/peerconnections/c2d221ab-a271-4d73-95fa-ab93020c8cae"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"},"level":"info","message":"Successfully finished experiment","requestID":"0357291e96743b43f75a8845b94e1ae1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"12dbadc0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":816,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F585d0362-95bd-47f3-88e2-147e9b956a39","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6f6ebf15-461a-49c6-90dc-1f0b33770b1f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.6093662} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":816,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.468386,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12dbadc0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/585d0362-95bd-47f3-88e2-147e9b956a39","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"12dbadc0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"12dbadc0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/585d0362-95bd-47f3-88e2-147e9b956a39/signaling 200 9ms","method":"POST","requestID":"12dbadc0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/585d0362-95bd-47f3-88e2-147e9b956a39/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"12dd5b70-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5c1dea1b-1ed0-43c0-8b40-5b442e0e4385': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5c1dea1b-1ed0-43c0-8b40-5b442e0e4385","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"a5b0a90a-4a7d-4e48-983d-7bc04a815dde","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.6161735} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ac8b4c55-82b4-42d6-b748-3216d371fe59","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.616515} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"0357291e96743b43f75a8845b94e1ae1","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":817,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd34279e0-4d17-44d7-a8ef-628c352beb90","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cf94e01c-7576-45b9-90dc-c631f5ee3f43","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.620452} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":817,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.642904,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"12dd5b70-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"12dd5b70-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"12dd5b70-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/d34279e0-4d17-44d7-a8ef-628c352beb90/signaling 200 9ms","method":"POST","requestID":"12dd5b70-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/d34279e0-4d17-44d7-a8ef-628c352beb90/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385","requestID":"0357291e96743b43f75a8845b94e1ae1"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.132","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0357291e96743b43f75a8845b94e1ae1"} experiment-1 | {"level":"info","message":"DELETE /experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385 204 129ms","method":"DELETE","requestID":"0357291e96743b43f75a8845b94e1ae1","responseTime":129,"status":204,"url":"/experiments/5c1dea1b-1ed0-43c0-8b40-5b442e0e4385"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 106ms","method":"POST","requestID":"9836b6700f891e3fbf3a697a888ef72b","responseTime":106,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.109","http_referrer":"","http_user_agent":"node-fetch","requestID":"9836b6700f891e3fbf3a697a888ef72b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc","level":"info","message":"auth send jwt","requestID":"133ad1bb0b745a00b2ee7744342d4133"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"133ad1bb0b745a00b2ee7744342d4133","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 108ms","method":"POST","requestID":"4eb5dad2c27f863498a8609bb984d3d3","responseTime":108,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.112","http_referrer":"","http_user_agent":"node-fetch","requestID":"4eb5dad2c27f863498a8609bb984d3d3"} device-1 | {"level":"info","message":"postDevices called","requestID":"133ad1bb0b745a00b2ee7744342d4133"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +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.628","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"41040ac44d26b55190c4a428b574eba2"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +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.608","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"75ff27294e817df362ee44c8a0fce79f"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/d34279e0-4d17-44d7-a8ef-628c352beb90' closed"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":818,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":818,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.886807,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"133ad1bb0b745a00b2ee7744342d4133","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"133ad1bb0b745a00b2ee7744342d4133","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/585d0362-95bd-47f3-88e2-147e9b956a39' 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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F570bf771-b017-45be-a389-ae6efa487ac6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"449a2f98-ce30-4b41-89a7-bfbc5255ba53","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.7044706} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"133ad1bb0b745a00b2ee7744342d4133","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dcd85ad7-962d-4f93-aca8-3cb262347491","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.7085762} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"133ad1bb0b745a00b2ee7744342d4133","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F570bf771-b017-45be-a389-ae6efa487ac6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"7814a5aa-35e2-4e8b-9f76-1ba90c95ea5a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.7193472} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d63da660-9568-4acf-b6d8-6a1bd13172d8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.719463} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"133ad1bb0b745a00b2ee7744342d4133","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F570bf771-b017-45be-a389-ae6efa487ac6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F570bf771-b017-45be-a389-ae6efa487ac6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:36.719321180Z"}]},"request_id":"c1fa3298-6c6e-413b-bac1-db208487a24a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.7234027} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"133ad1bb0b745a00b2ee7744342d4133","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"133ad1bb0b745a00b2ee7744342d4133"} gateway-1 | {"time_local":"30/Jul/2024:14:07:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"315","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"133ad1bb0b745a00b2ee7744342d4133"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"133ad1bb0b745a00b2ee7744342d4133","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc","level":"info","message":"auth send jwt","requestID":"fca2db5d3bface99bdba6a0548a8ce90"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"fca2db5d3bface99bdba6a0548a8ce90","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"fca2db5d3bface99bdba6a0548a8ce90"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":819,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":819,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.876852,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"fca2db5d3bface99bdba6a0548a8ce90","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348456,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1Nn0.LpnTTggh0zEoUsNCeKI1ZJD24DOVmVqcFY9dXHnfIfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"fca2db5d3bface99bdba6a0548a8ce90","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"5d908bf5-0c2d-4737-b9c5-3475f77a3f30","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.745884} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fca2db5d3bface99bdba6a0548a8ce90","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f849dc20-042e-4b03-87cb-923720f907b3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.7504437} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"fca2db5d3bface99bdba6a0548a8ce90","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"e3c98e34-76a8-495e-b7a7-8a7c53cc2c0c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.765269} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"68a6c42d-12b7-423b-b533-0ecd21669707","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.7654264} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"fca2db5d3bface99bdba6a0548a8ce90","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:36.765246497Z"}]},"request_id":"919aa012-99f8-4118-89d8-dc18b117dc16","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348456.7686884} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"fca2db5d3bface99bdba6a0548a8ce90","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"fca2db5d3bface99bdba6a0548a8ce90"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fca2db5d3bface99bdba6a0548a8ce90"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"fca2db5d3bface99bdba6a0548a8ce90","responseTime":40,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"dbcc242f7437235c99e67e1aaa94cc7a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"dbcc242f7437235c99e67e1aaa94cc7a","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:07:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/631bd555-a380-48e5-a8de-1e40e1974b5a/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":"dbcc242f7437235c99e67e1aaa94cc7a"} device-1 | {"level":"info","message":"OPTIONS /devices/631bd555-a380-48e5-a8de-1e40e1974b5a/websocket 200 1ms","method":"OPTIONS","requestID":"dbcc242f7437235c99e67e1aaa94cc7a","responseTime":1,"status":200,"url":"/devices/631bd555-a380-48e5-a8de-1e40e1974b5a/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM","level":"info","message":"auth send jwt","requestID":"0e4b06a0cf5cf9d73a0a0248ae095c4f"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"0e4b06a0cf5cf9d73a0a0248ae095c4f","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0e4b06a0cf5cf9d73a0a0248ae095c4f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":820,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":820,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.276414,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:38Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"0e4b06a0cf5cf9d73a0a0248ae095c4f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348458,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0e4b06a0cf5cf9d73a0a0248ae095c4f","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0e4b06a0cf5cf9d73a0a0248ae095c4f"} device-1 | {"level":"info","message":"POST /devices/631bd555-a380-48e5-a8de-1e40e1974b5a/websocket 200 22ms","method":"POST","requestID":"0e4b06a0cf5cf9d73a0a0248ae095c4f","responseTime":22,"status":200,"url":"/devices/631bd555-a380-48e5-a8de-1e40e1974b5a/websocket"} gateway-1 | {"time_local":"30/Jul/2024:14:07:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/631bd555-a380-48e5-a8de-1e40e1974b5a/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":"0e4b06a0cf5cf9d73a0a0248ae095c4f"} device-1 | {"level":"info","message":"device 'http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM","level":"info","message":"auth send jwt","requestID":"b900e5f2d509b6445ab1b03b2a7b07fe"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b900e5f2d509b6445ab1b03b2a7b07fe","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b900e5f2d509b6445ab1b03b2a7b07fe"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":821,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":821,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.362906,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"b900e5f2d509b6445ab1b03b2a7b07fe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348458,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b900e5f2d509b6445ab1b03b2a7b07fe","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:36.765246497Z"}]},"request_id":"37c59a1a-375b-4a63-8708-3a672fe148d8","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348458.8190017} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b900e5f2d509b6445ab1b03b2a7b07fe","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b900e5f2d509b6445ab1b03b2a7b07fe"} gateway-1 | {"time_local":"30/Jul/2024:14:07:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/631bd555-a380-48e5-a8de-1e40e1974b5a? 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":"b900e5f2d509b6445ab1b03b2a7b07fe"} device-1 | {"level":"info","message":"GET /devices/631bd555-a380-48e5-a8de-1e40e1974b5a? 200 18ms","method":"GET","requestID":"b900e5f2d509b6445ab1b03b2a7b07fe","responseTime":18,"status":200,"url":"/devices/631bd555-a380-48e5-a8de-1e40e1974b5a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM","level":"info","message":"auth send jwt","requestID":"8e7f01603b0d9054064a8f89b2373817"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8e7f01603b0d9054064a8f89b2373817","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"8e7f01603b0d9054064a8f89b2373817"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":822,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":822,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.174026,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:38Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"8e7f01603b0d9054064a8f89b2373817","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348458,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8e7f01603b0d9054064a8f89b2373817","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Attempting to run experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Attempting to book experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Successfully booked experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"143634b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"14365bc0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":823,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":823,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.092183,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:38Z"} authorization-1 | {"client_addr":"127.0.0.1:44494","level":"info","msg":"Received request.","req_id":824,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/570bf771-b017-45be-a389-ae6efa487ac6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"143634b0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/570bf771-b017-45be-a389-ae6efa487ac6","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348458,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"143634b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44494","level":"info","msg":"Sent response.","req_id":824,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.254663,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"14365bc0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348458,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"14365bc0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F570bf771-b017-45be-a389-ae6efa487ac6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F570bf771-b017-45be-a389-ae6efa487ac6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:36.719321180Z"}]},"request_id":"41308237-e15d-4509-a5cd-3f2fa5e7139f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348458.8844857} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"143634b0-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:36.765246497Z"}]},"request_id":"cd768d54-ccdc-4999-a7a1-a4e3cb68b396","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348458.8861623} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"14365bc0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"143634b0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/570bf771-b017-45be-a389-ae6efa487ac6? 200 16ms","method":"GET","requestID":"143634b0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":16,"status":200,"url":"/devices/570bf771-b017-45be-a389-ae6efa487ac6?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"14365bc0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/631bd555-a380-48e5-a8de-1e40e1974b5a? 200 15ms","method":"GET","requestID":"14365bc0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/devices/631bd555-a380-48e5-a8de-1e40e1974b5a?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Setting up experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Successfully locked booking for experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} device-1 | {"level":"info","message":"postDevicesByDeviceId called","requestID":"143b8be0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":825,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":825,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.241967,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:38Z"} authorization-1 | {"action":"instantiate","level":"info","message":"opa_check","object":"device:http://localhost/devices/570bf771-b017-45be-a389-ae6efa487ac6","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"143b8be0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/570bf771-b017-45be-a389-ae6efa487ac6","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348458,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"143b8be0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"3e2067c5-8beb-4c10-af7b-c936b9810a9d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348458.9363346} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"be53a711-0d29-4e9b-a62a-aaf51f183286","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348458.9367633} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"143b8be0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"registering changed-callback for device 'http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7' to 'http://localhost/callbacks/experiment'","requestID":"143b8be0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceId succeeded","requestID":"143b8be0-4e7d-11ef-b6a3-8dff1d026ae9"} authentication-1 | {"level":"info","message":"POST /token 201 27ms","method":"POST","requestID":"1440bc00-4e7d-11ef-9956-7be2d1223f94","responseTime":27,"status":201,"url":"/token"} device-1 | {"level":"info","message":"POST /devices/570bf771-b017-45be-a389-ae6efa487ac6?changedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 69ms","method":"POST","requestID":"143b8be0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":69,"status":201,"url":"/devices/570bf771-b017-45be-a389-ae6efa487ac6?changedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Attempting to update booking for experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Successfully updated booking for experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Successfully set up experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"144e9eb0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"144eecd0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"144f3af0-4e7d-11ef-b6a3-8dff1d026ae9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Successfully running experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":826,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:39Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":826,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.829873,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:39Z"} authorization-1 | {"client_addr":"127.0.0.1:44494","level":"info","msg":"Received request.","req_id":827,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"144e9eb0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348458,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"144e9eb0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44494","level":"info","msg":"Sent response.","req_id":827,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.401695,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:39Z"} authorization-1 | {"client_addr":"127.0.0.1:44500","level":"info","msg":"Received request.","req_id":828,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"144eecd0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348458,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"144eecd0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44500","level":"info","msg":"Sent response.","req_id":828,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.091174,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:39Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9cbd5498-7970-4702-963c-ae4cb68eb167","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348459.048733} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"144f3af0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 15ms","method":"POST","requestID":"144f3af0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":15,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:38.936297605Z"}]},"request_id":"9d30b85f-13ef-49ad-b185-01ea841be233","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348459.057363} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"144e9eb0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:36.765246497Z"}]},"request_id":"d006a000-e45d-452d-83f8-2254e39b4c99","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348459.0624566} device-1 | {"data":{"error":"MissingEntityError","message":"Could not find websocket connection for device 245b8476-f3c4-493f-b393-709eb057a1d7","method":"POST","stack":"MissingEntityError: Could not find websocket connection for device 245b8476-f3c4-493f-b393-709eb057a1d7\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/245b8476-f3c4-493f-b393-709eb057a1d7/signaling"},"level":"error","message":"An error occurred during the handling of a request","requestID":"144f3af0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/245b8476-f3c4-493f-b393-709eb057a1d7/signaling 404 25ms","method":"POST","requestID":"144f3af0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":25,"status":404,"url":"/devices/245b8476-f3c4-493f-b393-709eb057a1d7/signaling"} experiment-1 | {"data":{"response":{"body":{"error":"MissingEntityError","message":"Could not find websocket connection for device 245b8476-f3c4-493f-b393-709eb057a1d7"},"status":404}},"level":"error","message":"Could not send status-update message","requestID":"8e7f01603b0d9054064a8f89b2373817"} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"144eecd0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F09454c5b-dbc6-4719-aa89-435d6074394b#owner@http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F09454c5b-dbc6-4719-aa89-435d6074394b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"18d2b857-5a55-4d4b-b5af-4e5a07d3dc9c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348459.0671508} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c303a75a-7486-4438-9c6f-ac7744835e22","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348459.0677428} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"144e9eb0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"8e7f01603b0d9054064a8f89b2373817","responseTime":22,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"GET /devices/245b8476-f3c4-493f-b393-709eb057a1d7? 200 35ms","method":"GET","requestID":"144e9eb0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":35,"status":200,"url":"/devices/245b8476-f3c4-493f-b393-709eb057a1d7?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"14541cf0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"144eecd0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/631bd555-a380-48e5-a8de-1e40e1974b5a? 200 38ms","method":"GET","requestID":"144eecd0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":38,"status":200,"url":"/devices/631bd555-a380-48e5-a8de-1e40e1974b5a?"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":829,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:39Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a109f829-9f73-46fc-a0f7-f4e0ee0cf37a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348459.0780003} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":829,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.08149,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"14541cf0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","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/09454c5b-dbc6-4719-aa89-435d6074394b","user":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"8e7f01603b0d9054064a8f89b2373817"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"14541cf0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"30/Jul/2024:14:07:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1107","request_time":"0.254","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8e7f01603b0d9054064a8f89b2373817"} experiment-1 | {"level":"info","message":"POST /experiments? 201 248ms","method":"POST","requestID":"8e7f01603b0d9054064a8f89b2373817","responseTime":248,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"14541cf0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/631bd555-a380-48e5-a8de-1e40e1974b5a/signaling 200 13ms","method":"POST","requestID":"14541cf0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":13,"status":200,"url":"/devices/631bd555-a380-48e5-a8de-1e40e1974b5a/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"18f943459485323882f1178231cd594b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"18f943459485323882f1178231cd594b","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"30/Jul/2024:14:07:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/245b8476-f3c4-493f-b393-709eb057a1d7/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":"18f943459485323882f1178231cd594b"} device-1 | {"level":"info","message":"OPTIONS /devices/245b8476-f3c4-493f-b393-709eb057a1d7/websocket 200 1ms","method":"OPTIONS","requestID":"18f943459485323882f1178231cd594b","responseTime":1,"status":200,"url":"/devices/245b8476-f3c4-493f-b393-709eb057a1d7/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IkF6VGJ1ZW14YlhCaWFlbEZWWXIydWtuRy1xX3Nlakl1d21MbUhkVFhybjY0QlNYSEZENWVnUURIZTJnaTlfeTJxbkdmT2VsV1l6VU5xXzBNRTFpNHN3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ2MX0.9KtH89UJr_QE_Y0hD6UtCFp7m8JDL5Glfe8L9I9jiqs","level":"info","message":"auth send jwt","requestID":"124c38d36b58f664f6f1e40a14473921"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"124c38d36b58f664f6f1e40a14473921","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"124c38d36b58f664f6f1e40a14473921"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":830,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:41Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":830,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.373954,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:41Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"124c38d36b58f664f6f1e40a14473921","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","object_type":"device","payload":{"admin":true,"edgeToken":"AzTbuemxbXBiaelFVYr2uknG-q_sejIuwmLmHdTXrn64BSXHFD5egQDHe2gi9_y2qnGfOelWYzUNq_0ME1i4sw","iat":1722348461,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IkF6VGJ1ZW14YlhCaWFlbEZWWXIydWtuRy1xX3Nlakl1d21MbUhkVFhybjY0QlNYSEZENWVnUURIZTJnaTlfeTJxbkdmT2VsV1l6VU5xXzBNRTFpNHN3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ2MX0.9KtH89UJr_QE_Y0hD6UtCFp7m8JDL5Glfe8L9I9jiqs"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"124c38d36b58f664f6f1e40a14473921","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"124c38d36b58f664f6f1e40a14473921"} gateway-1 | {"time_local":"30/Jul/2024:14:07:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/245b8476-f3c4-493f-b393-709eb057a1d7/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":"124c38d36b58f664f6f1e40a14473921"} device-1 | {"level":"info","message":"POST /devices/245b8476-f3c4-493f-b393-709eb057a1d7/websocket 200 22ms","method":"POST","requestID":"124c38d36b58f664f6f1e40a14473921","responseTime":22,"status":200,"url":"/devices/245b8476-f3c4-493f-b393-709eb057a1d7/websocket"} device-1 | {"level":"info","message":"Sending changed-callback for device 'http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"device 'http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bad4a0c200cebfeb7cc83c6c74fed4c5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"bad4a0c200cebfeb7cc83c6c74fed4c5","responseTime":2,"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/245b8476-f3c4-493f-b393-709eb057a1d7"},"eventType":"device-changed"}},"level":"info","message":"received a callback","requestID":"bad4a0c200cebfeb7cc83c6c74fed4c5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ2MX0.NeyYx_UtwyZwLAuecaaKiAC-bWLqYJ2AH_aaamY7ps0","level":"info","message":"auth send jwt","requestID":"14c480e19f5466fb977c01873a7c208f"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"14c480e19f5466fb977c01873a7c208f","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"14c480e19f5466fb977c01873a7c208f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":831,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:41Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":831,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.361044,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"14c480e19f5466fb977c01873a7c208f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348461,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ2MX0.NeyYx_UtwyZwLAuecaaKiAC-bWLqYJ2AH_aaamY7ps0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"14c480e19f5466fb977c01873a7c208f","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:38.936297605Z"}]},"request_id":"30884d5f-2dd0-4c70-90d6-6731f519c803","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348461.1092596} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"14c480e19f5466fb977c01873a7c208f","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"14c480e19f5466fb977c01873a7c208f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 24ms","method":"POST","requestID":"bad4a0c200cebfeb7cc83c6c74fed4c5","responseTime":24,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch","requestID":"bad4a0c200cebfeb7cc83c6c74fed4c5"} gateway-1 | {"time_local":"30/Jul/2024:14:07:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/245b8476-f3c4-493f-b393-709eb057a1d7? 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":"14c480e19f5466fb977c01873a7c208f"} device-1 | {"level":"info","message":"GET /devices/245b8476-f3c4-493f-b393-709eb057a1d7? 200 19ms","method":"GET","requestID":"14c480e19f5466fb977c01873a7c208f","responseTime":19,"status":200,"url":"/devices/245b8476-f3c4-493f-b393-709eb057a1d7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ2MX0.NeyYx_UtwyZwLAuecaaKiAC-bWLqYJ2AH_aaamY7ps0","level":"info","message":"auth send jwt","requestID":"58bffcd1d1e984f3ce583869ece84e9b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"58bffcd1d1e984f3ce583869ece84e9b","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"58bffcd1d1e984f3ce583869ece84e9b"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":832,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:41Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":832,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.268516,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"58bffcd1d1e984f3ce583869ece84e9b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348461,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ2MX0.NeyYx_UtwyZwLAuecaaKiAC-bWLqYJ2AH_aaamY7ps0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"58bffcd1d1e984f3ce583869ece84e9b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:36.765246497Z"}]},"request_id":"fdb706cf-c465-4932-9cfc-10c90a12d585","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348461.1395128} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"58bffcd1d1e984f3ce583869ece84e9b","responseTime":8,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"58bffcd1d1e984f3ce583869ece84e9b"} gateway-1 | {"time_local":"30/Jul/2024:14:07:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/631bd555-a380-48e5-a8de-1e40e1974b5a? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"58bffcd1d1e984f3ce583869ece84e9b"} device-1 | {"level":"info","message":"GET /devices/631bd555-a380-48e5-a8de-1e40e1974b5a? 200 21ms","method":"GET","requestID":"58bffcd1d1e984f3ce583869ece84e9b","responseTime":21,"status":200,"url":"/devices/631bd555-a380-48e5-a8de-1e40e1974b5a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"175045f0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"17509410-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":833,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":833,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.119059,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"client_addr":"127.0.0.1:38240","level":"info","msg":"Received request.","req_id":834,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"175045f0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348458,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"175045f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38240","level":"info","msg":"Sent response.","req_id":834,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.136558,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"17509410-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348458,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"17509410-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:36.765246497Z"}]},"request_id":"334072a9-de7f-4a8f-b3ac-bcc0a35a6937","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.096245} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"17509410-4e7d-11ef-b6a3-8dff1d026ae9","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:37714","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"},"timestamp":"2024-07-30T14:07:38.936297605Z"}]},"request_id":"0078e1ea-3384-41ce-8fb5-c4c46f001f4f","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.097815} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"175045f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"17509410-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/631bd555-a380-48e5-a8de-1e40e1974b5a? 200 24ms","method":"GET","requestID":"17509410-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":24,"status":200,"url":"/devices/631bd555-a380-48e5-a8de-1e40e1974b5a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"175045f0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /devices/245b8476-f3c4-493f-b393-709eb057a1d7? 200 27ms","method":"GET","requestID":"175045f0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":27,"status":200,"url":"/devices/245b8476-f3c4-493f-b393-709eb057a1d7?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1754d9d0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":835,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"be6208df-2bb2-424c-a31c-724fe97f2f75","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.116568} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":835,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.15509,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"1754d9d0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","object_type":"device","rebac_allow":false,"scope_allow":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":"1754d9d0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1754d9d0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/245b8476-f3c4-493f-b393-709eb057a1d7/signaling 200 14ms","method":"POST","requestID":"1754d9d0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/245b8476-f3c4-493f-b393-709eb057a1d7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"175771e0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":836,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"873f5aa7-7110-45d0-ac89-804dc6b00530","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.1332638} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":836,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.912288,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"175771e0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","object_type":"device","rebac_allow":false,"scope_allow":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":"175771e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"175771e0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/631bd555-a380-48e5-a8de-1e40e1974b5a/signaling 200 14ms","method":"POST","requestID":"175771e0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":14,"status":200,"url":"/devices/631bd555-a380-48e5-a8de-1e40e1974b5a/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Building connection plan","requestID":"8e7f01603b0d9054064a8f89b2373817"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"6f129894-7db3-4edd-9576-cdd758f7475c"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"caa49e14-d826-4293-bccd-aa35c0106a10"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"4e40f6eb-1df0-469c-8ef1-b79c002ccaf0"}]},"level":"info","message":"Built pairwise service configurations","requestID":"8e7f01603b0d9054064a8f89b2373817"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"8e7f01603b0d9054064a8f89b2373817"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"175a3100-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":837,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":837,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.227767,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"175a3100-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348458,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ1OH0.xKdN2rsAAGaiobfxZj-s6IZ70hBETaPR_pBTP8Dd1hM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"175a3100-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","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%2Fe73a09e2-d00c-4bfd-9369-1f775b788188'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]}},"raw_response":{},"request_id":"96170f08-8eb3-40bc-8eba-dee0944e99fb","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.1628346} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"78cdb104-a485-4d0a-9107-bddce70e51fa","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.1634078} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"175a3100-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"175a3100-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"175a3100-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d'","requestID":"175a3100-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d'","requestID":"175a3100-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"175a3100-4e7d-11ef-b6a3-8dff1d026ae9"} 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":"175a3100-4e7d-11ef-b6a3-8dff1d026ae9","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":"175a3100-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d","device":"245b8476-f3c4-493f-b393-709eb057a1d7","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/877e832f-34b7-4884-be8e-c052ca25b36d","device":"631bd555-a380-48e5-a8de-1e40e1974b5a","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/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"8e7f01603b0d9054064a8f89b2373817"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"17650670-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":838,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1ba5141b-64f7-433c-a4b6-144a2df5903a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.2207386} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":838,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.476022,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"17650670-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"17650670-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"17650670-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/245b8476-f3c4-493f-b393-709eb057a1d7/signaling 200 11ms","method":"POST","requestID":"17650670-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":11,"status":200,"url":"/devices/245b8476-f3c4-493f-b393-709eb057a1d7/signaling"} device-1 | {"device":"631bd555-a380-48e5-a8de-1e40e1974b5a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"631bd555-a380-48e5-a8de-1e40e1974b5a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"17670240-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":839,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8e73f78f-5773-4649-85a0-845604e885f1","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.2326825} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":839,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.478884,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"17670240-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"17670240-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"17670240-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/631bd555-a380-48e5-a8de-1e40e1974b5a/signaling 200 8ms","method":"POST","requestID":"17670240-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/631bd555-a380-48e5-a8de-1e40e1974b5a/signaling"} device-1 | {"device":"245b8476-f3c4-493f-b393-709eb057a1d7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"245b8476-f3c4-493f-b393-709eb057a1d7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 3167309913216299028 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:3CsI\r\na=ice-pwd:u2S29mS6/tHCAYOL3HAE7zqY\r\na=ice-options:trickle\r\na=fingerprint:sha-256 75:EB:A3:55:30:62:A2:8A:00:9F:83:76:91:63:0F:4E:CB:7B:47:C8:0F:9A:C3:8F:79:A7:AE:1D:80:79:A3:64\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"631bd555-a380-48e5-a8de-1e40e1974b5a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 6912096060650648971 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:bi/q\r\na=ice-pwd:z9GZdKKuDSqIosB4n5tUlEdb\r\na=ice-options:trickle\r\na=fingerprint:sha-256 58:C5:9E:E6:A7:AC:9B:1C:33:8C:6C:E8:ED:A1:8D:15:6A:C0:89:64:F9:EC:9C:75:74:32:03:8F:0A:23:AB:33\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"245b8476-f3c4-493f-b393-709eb057a1d7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:4012045461 1 udp 2113937151 87ce9ced-9a9a-4451-ba0e-5745e2e99d75.local 35985 typ host generation 0 ufrag bi/q network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"245b8476-f3c4-493f-b393-709eb057a1d7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3883581266 1 udp 1677729535 141.24.211.56 4308 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag bi/q network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"245b8476-f3c4-493f-b393-709eb057a1d7","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/245b8476-f3c4-493f-b393-709eb057a1d7'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7'"} device-1 | {"content":{"candidate":"candidate:4288632017 1 udp 2113937151 8401dffd-4d99-4ff6-9b16-c685f9dd2214.local 33118 typ host generation 0 ufrag 3CsI network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"631bd555-a380-48e5-a8de-1e40e1974b5a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:4204223369 1 udp 1677729535 141.24.211.56 33118 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 3CsI network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"631bd555-a380-48e5-a8de-1e40e1974b5a","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/631bd555-a380-48e5-a8de-1e40e1974b5a'"} device-1 | {"device":"631bd555-a380-48e5-a8de-1e40e1974b5a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"631bd555-a380-48e5-a8de-1e40e1974b5a","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/877e832f-34b7-4884-be8e-c052ca25b36d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"877e832f-34b7-4884-be8e-c052ca25b36d","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"245b8476-f3c4-493f-b393-709eb057a1d7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"384aac427fd54de3825c1bfba4b3fe06","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"245b8476-f3c4-493f-b393-709eb057a1d7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"384aac427fd54de3825c1bfba4b3fe06","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":"new","url":"http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d"}}},"level":"info","message":"received a callback","requestID":"384aac427fd54de3825c1bfba4b3fe06"} device-1 | {"device":"245b8476-f3c4-493f-b393-709eb057a1d7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"631bd555-a380-48e5-a8de-1e40e1974b5a","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"384aac427fd54de3825c1bfba4b3fe06","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"384aac427fd54de3825c1bfba4b3fe06"} device-1 | {"device":"245b8476-f3c4-493f-b393-709eb057a1d7","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"877e832f-34b7-4884-be8e-c052ca25b36d","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"877e832f-34b7-4884-be8e-c052ca25b36d","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/877e832f-34b7-4884-be8e-c052ca25b36d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"877e832f-34b7-4884-be8e-c052ca25b36d","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c3c5134584160d82f784e649b8e23743","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c3c5134584160d82f784e649b8e23743","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/245b8476-f3c4-493f-b393-709eb057a1d7"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d"}}},"level":"info","message":"received a callback","requestID":"c3c5134584160d82f784e649b8e23743"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"17733740-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":840,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F877e832f-34b7-4884-be8e-c052ca25b36d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"78d7db56-c4eb-4f82-9827-9a5fe1765063","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.312695} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":840,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.267033,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"17733740-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d","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":"17733740-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"17733740-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"GET /peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d 200 7ms","method":"GET","requestID":"17733740-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 32ms","method":"POST","requestID":"c3c5134584160d82f784e649b8e23743","responseTime":32,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.035","http_referrer":"","http_user_agent":"node-fetch","requestID":"c3c5134584160d82f784e649b8e23743"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"1777a410-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":841,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"22caed18-23cc-40a1-83e4-3d49378c3849","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.3418837} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":841,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.61743,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"1777a410-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1777a410-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"1777a410-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/245b8476-f3c4-493f-b393-709eb057a1d7/signaling 200 8ms","method":"POST","requestID":"1777a410-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":200,"url":"/devices/245b8476-f3c4-493f-b393-709eb057a1d7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"17792ab0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":842,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"352b56e8-6880-4958-81e7-ea937d763c4a","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.3523476} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":842,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.754481,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"17792ab0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","object_type":"device","rebac_allow":false,"scope_allow":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":"17792ab0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"17792ab0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/631bd555-a380-48e5-a8de-1e40e1974b5a/signaling 200 9ms","method":"POST","requestID":"17792ab0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/631bd555-a380-48e5-a8de-1e40e1974b5a/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ2NH0.1zVCJwdOllyF07ziZOtkApNFsH3nICBlJGwTLYv7zVM","level":"info","message":"auth send jwt","requestID":"50de59c6ab7508898b671a6926353c1f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"50de59c6ab7508898b671a6926353c1f","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/09454c5b-dbc6-4719-aa89-435d6074394b","requestID":"50de59c6ab7508898b671a6926353c1f"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":843,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":843,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.932261,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"50de59c6ab7508898b671a6926353c1f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348464,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ2NH0.1zVCJwdOllyF07ziZOtkApNFsH3nICBlJGwTLYv7zVM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"50de59c6ab7508898b671a6926353c1f","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/09454c5b-dbc6-4719-aa89-435d6074394b","requestID":"50de59c6ab7508898b671a6926353c1f"} gateway-1 | {"time_local":"30/Jul/2024:14:07:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/09454c5b-dbc6-4719-aa89-435d6074394b HTTP/1.1","status": "200","body_bytes_sent":"1180","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"50de59c6ab7508898b671a6926353c1f"} experiment-1 | {"level":"info","message":"GET /experiments/09454c5b-dbc6-4719-aa89-435d6074394b 200 10ms","method":"GET","requestID":"50de59c6ab7508898b671a6926353c1f","responseTime":10,"status":200,"url":"/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ2NH0.1zVCJwdOllyF07ziZOtkApNFsH3nICBlJGwTLYv7zVM","level":"info","message":"auth send jwt","requestID":"3882e239498d4f40e1aed9dee9fd894a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3882e239498d4f40e1aed9dee9fd894a","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/09454c5b-dbc6-4719-aa89-435d6074394b","requestID":"3882e239498d4f40e1aed9dee9fd894a"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":844,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":844,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.14061,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"3882e239498d4f40e1aed9dee9fd894a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"experiment:http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b","object_type":"experiment","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348464,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ2NH0.1zVCJwdOllyF07ziZOtkApNFsH3nICBlJGwTLYv7zVM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3882e239498d4f40e1aed9dee9fd894a","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Attempting to finish experiment","requestID":"3882e239498d4f40e1aed9dee9fd894a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"17822b60-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":845,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":845,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.67499,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"17822b60-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"peerconnection:http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348464,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ2NH0.1zVCJwdOllyF07ziZOtkApNFsH3nICBlJGwTLYv7zVM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"17822b60-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d","device":"245b8476-f3c4-493f-b393-709eb057a1d7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d","device":"631bd555-a380-48e5-a8de-1e40e1974b5a","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/877e832f-34b7-4884-be8e-c052ca25b36d' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"877e832f-34b7-4884-be8e-c052ca25b36d","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F877e832f-34b7-4884-be8e-c052ca25b36d': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F877e832f-34b7-4884-be8e-c052ca25b36d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"b7fb49f4-f5da-4087-8d09-354f2405c9ea","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.420595} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c6bb42d8-80a7-4db0-9d8f-0e0079508daf","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.4207802} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7c80201a230192cd533e77ca2b8301c9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"17822b60-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7c80201a230192cd533e77ca2b8301c9","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/245b8476-f3c4-493f-b393-709eb057a1d7"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d"}}},"level":"info","message":"received a callback","requestID":"7c80201a230192cd533e77ca2b8301c9"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fffdbbe7a45cb3980b501ec35aa649aa","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"fffdbbe7a45cb3980b501ec35aa649aa","responseTime":0,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"17822b60-4e7d-11ef-b6a3-8dff1d026ae9"} 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/245b8476-f3c4-493f-b393-709eb057a1d7"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d"}}},"level":"info","message":"received a callback","requestID":"fffdbbe7a45cb3980b501ec35aa649aa"} device-1 | {"level":"info","message":"DELETE /peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d 204 19ms","method":"DELETE","requestID":"17822b60-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":19,"status":204,"url":"/peerconnections/877e832f-34b7-4884-be8e-c052ca25b36d"} device-1 | {"level":"info","message":"deleteDevicesByDeviceId called","requestID":"17855fb0-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":846,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":846,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.661689,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"17855fb0-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","object_type":"device","payload":{"admin":true,"edgeToken":"Qmq3N5cjSAoxOJfiXs8m17yqee_5fCV4zu7XwLlCKFfxKgP8d8fudXsfpmf4i4TOSQeyyGwERa0p5DG8l4C1Bw","iat":1722348464,"sub":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188","subject_alt":"http://localhost/users/e73a09e2-d00c-4bfd-9369-1f775b788188"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzL2U3M2EwOWUyLWQwMGMtNGJmZC05MzY5LTFmNzc1Yjc4ODE4OCIsImVkZ2VUb2tlbiI6IlFtcTNONWNqU0FveE9KZmlYczhtMTd5cWVlXzVmQ1Y0enU3WHdMbENLRmZ4S2dQOGQ4ZnVkWHNmcG1mNGk0VE9TUWV5eUd3RVJhMHA1REc4bDRDMUJ3IiwiYWRtaW4iOnRydWUsImlhdCI6MTcyMjM0ODQ2NH0.1zVCJwdOllyF07ziZOtkApNFsH3nICBlJGwTLYv7zVM"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"17855fb0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7'"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"a6d5d296-d37d-4a27-83a4-fa5a06b639d3","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.4413996} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2c787adb-cc1e-4c7d-bf2a-fac8f9145c0b","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.441555} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"17855fb0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"deleteDevicesByDeviceId succeeded","requestID":"17855fb0-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"DELETE /devices/245b8476-f3c4-493f-b393-709eb057a1d7 204 26ms","method":"DELETE","requestID":"17855fb0-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":26,"status":204,"url":"/devices/245b8476-f3c4-493f-b393-709eb057a1d7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"},"level":"info","message":"Successfully finished experiment","requestID":"3882e239498d4f40e1aed9dee9fd894a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"178c6490-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":847,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F245b8476-f3c4-493f-b393-709eb057a1d7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"77229c7a-8069-4ab2-b8d5-b980e93d756c","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.4783144} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":847,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.488766,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"178c6490-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"178c6490-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"error":"MissingEntityError","message":"The requested Device Overview does not exist in the database","method":"POST","stack":"MissingEntityError: The requested Device Overview does not exist in the database\n at DeviceOverviewRepository.findOneOrFail (file:///usr/local/lib/node_modules/@crosslab/service-common/lib/esm/database/abstractRepository.js:63:19)\n at async DeviceRepository.findOneOrFail (file:///usr/local/lib/node_modules/@crosslab/service-device/app/database/repositories/device.js:155:32)\n at async Object.postDevicesByDeviceIdSignaling (file:///usr/local/lib/node_modules/@crosslab/service-device/app/operations/devices/device/signaling/post.js:22:25)\n at async file:///usr/local/lib/node_modules/@crosslab/service-device/app/generated/routes.js:276:28","status":404,"url":"/devices/245b8476-f3c4-493f-b393-709eb057a1d7/signaling"},"level":"error","message":"An error occurred during the handling of a request","requestID":"178c6490-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/245b8476-f3c4-493f-b393-709eb057a1d7/signaling 404 8ms","method":"POST","requestID":"178c6490-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":8,"status":404,"url":"/devices/245b8476-f3c4-493f-b393-709eb057a1d7/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":"3882e239498d4f40e1aed9dee9fd894a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"178e1240-4e7d-11ef-b6a3-8dff1d026ae9"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F09454c5b-dbc6-4719-aa89-435d6074394b': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F09454c5b-dbc6-4719-aa89-435d6074394b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2Fe73a09e2-d00c-4bfd-9369-1f775b788188"}]},"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","writes":null},"raw_response":{},"request_id":"5ed7feff-e2eb-4eb4-9e0f-bed53f52380d","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.4851606} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"raw_response":{"authorization_model":{"id":"01J41ZBZ405T7C2CJ5BSCFYF8M","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"af839e85-33a1-47b0-b6e9-d267c40afdaa","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.4853487} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"3882e239498d4f40e1aed9dee9fd894a","responseTime":16,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Received request.","req_id":848,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:37714","raw_request":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","contextual_tuples":null,"store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F631bd555-a380-48e5-a8de-1e40e1974b5a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1fd5a81c-db90-49aa-a974-594e09f54a47","store_id":"01J41ZBZ2NKFG6SRKC3GX461RZ","subsystem":"openfga","timestamp":1722348464.4897058} authorization-1 | {"client_addr":"127.0.0.1:48636","level":"info","msg":"Sent response.","req_id":848,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.746812,"resp_status":200,"subsystem":"opa","time":"2024-07-30T14:07:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","openfga":{"authorization_model_id":"01J41ZBZ405T7C2CJ5BSCFYF8M","store":"01J41ZBZ2NKFG6SRKC3GX461RZ"},"requestID":"178e1240-4e7d-11ef-b6a3-8dff1d026ae9","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"178e1240-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"178e1240-4e7d-11ef-b6a3-8dff1d026ae9"} device-1 | {"level":"info","message":"POST /devices/631bd555-a380-48e5-a8de-1e40e1974b5a/signaling 200 9ms","method":"POST","requestID":"178e1240-4e7d-11ef-b6a3-8dff1d026ae9","responseTime":9,"status":200,"url":"/devices/631bd555-a380-48e5-a8de-1e40e1974b5a/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/09454c5b-dbc6-4719-aa89-435d6074394b","requestID":"3882e239498d4f40e1aed9dee9fd894a"} gateway-1 | {"time_local":"30/Jul/2024:14:07:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/09454c5b-dbc6-4719-aa89-435d6074394b 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":"3882e239498d4f40e1aed9dee9fd894a"} experiment-1 | {"level":"info","message":"DELETE /experiments/09454c5b-dbc6-4719-aa89-435d6074394b 204 156ms","method":"DELETE","requestID":"3882e239498d4f40e1aed9dee9fd894a","responseTime":156,"status":204,"url":"/experiments/09454c5b-dbc6-4719-aa89-435d6074394b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 132ms","method":"POST","requestID":"7c80201a230192cd533e77ca2b8301c9","responseTime":132,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.135","http_referrer":"","http_user_agent":"node-fetch","requestID":"7c80201a230192cd533e77ca2b8301c9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 132ms","method":"POST","requestID":"fffdbbe7a45cb3980b501ec35aa649aa","responseTime":132,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07: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.134","http_referrer":"","http_user_agent":"node-fetch","requestID":"fffdbbe7a45cb3980b501ec35aa649aa"} gateway-1 | {"time_local":"30/Jul/2024:14:07:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2406","request_time":"3.491","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"33d154d6113586dc65435adf6037775a"} gateway-1 | {"time_local":"30/Jul/2024:14:07:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2646","request_time":"5.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":"5bd391b5205534fe1422ba6f6ec7a0fe"} device-1 | {"level":"info","message":"Sending changed-callback for device 'http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/245b8476-f3c4-493f-b393-709eb057a1d7' closed"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cc81278a5ce019ec2463a323367d2e47","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"cc81278a5ce019ec2463a323367d2e47","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/245b8476-f3c4-493f-b393-709eb057a1d7"},"eventType":"device-changed"}},"level":"info","message":"received a callback","requestID":"cc81278a5ce019ec2463a323367d2e47"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 410 2ms","method":"POST","requestID":"cc81278a5ce019ec2463a323367d2e47","responseTime":2,"status":410,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"30/Jul/2024:14:07:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "410","body_bytes_sent":"5","request_time":"0.005","http_referrer":"","http_user_agent":"node-fetch","requestID":"cc81278a5ce019ec2463a323367d2e47"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/631bd555-a380-48e5-a8de-1e40e1974b5a' closed"} authorization-1 | {"level":"info","msg":"Shutting down...","subsystem":"opa","time":"2024-07-30T14:07:49Z"} authorization-1 | {"level":"info","msg":"Server shutdown.","subsystem":"opa","time":"2024-07-30T14:07:49Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"attempting to shutdown gracefully","subsystem":"openfga","timestamp":1722348469.734211} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"server exited. goodbye ๐Ÿ‘‹","subsystem":"openfga","timestamp":1722348469.73487} federation-1 exited with code 0 experiment-1 exited with code 0 authorization-1 exited with code 0 device-1 exited with code 0 authentication-1 exited with code 0 gateway-1 exited with code 0