argosp / argos

General issues, wiki , integrations
3 stars 1 forks source link

Numerous failed calls for subscriptions #37

Open gadieid opened 1 year ago

gadieid commented 1 year ago

This happens in the installation under argos.new-aks-stage.linnovate.net as well as in out onsite.

Numerous erroes (See in developer tools in chrome browser)

index-dccdd4a6.js:132 WebSocket connection to 'wss://argos.new-aks-stage.linnovate.net/subscriptions' failed: e.connect @ index-dccdd4a6.js:132

aronStein commented 1 year ago

Because the graph server is down.

aronStein commented 1 year ago

probably missing variable settings: ROOT_TOKEN & ROOT_URI

gadieid commented 1 year ago

The variables appear in docker-compse.yml environment: PORT: ${GRAPH_PORT} DEBUG_PORT: ${GRAPH_DEBUG_PORT} ROOT_URI: ${ROOT_URI} ROOT_TOKEN: ${ROOT_TOKEN}

And are set in the .env file

The TOKEN value is taken from the playground using this code mutation { login(email:"admin1@linnovate.net", password:"####"){ token uid } } Which returns { "data": { "login": { "token": "eyJhbGciOiJIUzI1NiJ9.JTdCJTIyX2lkJTIyOiUyMjY0YWJmY2VhZmZkNzEzM2RhNmJjY2E0MiUyMiwlMjJ1aWQlMjI6JTIyNWFlMDcyMTAtMWYxZi0xMWVlLThlMjYtNTFmZGRiYTdlMDE2JTIyLCUyMmlkJTIyOiUyMmFkbWluMUBsaW5ub3ZhdGUubmV0JTIyLCUyMm5hbWUlMjI6JTIyYWRtaW4lMjIsJTIyZW1haWwlMjI6JTIyYWRtaW4xQGxpbm5vdmF0ZS5uZXQlMjIsJTIydXNlcm5hbWUlMjI6JTIyYWRtaW4xQGxpbm5vdmF0ZS5uZXQlMjIsJTIyX192JTIyOjAsJTIyR2V0TWFpbEV2ZXJ5RGF5QWJvdXRHaXZlblRhc2tzJTIyOiUyMm5vJTIyLCUyMkdldE1haWxFdmVyeURheUFib3V0TXlUYXNrcyUyMjolMjJubyUyMiwlMjJHZXRNYWlsRXZlcnlXZWVrQWJvdXRHaXZlblRhc2tzJTIyOiUyMm5vJTIyLCUyMkdldE1haWxFdmVyeVdlZWtBYm91dE15VGFza3MlMjI6JTIybm8lMjIsJTIycHJvdmlkZXIlMjI6JTIybG9jYWwlMjIsJTIycm9sZXMlMjI6JTVCJTIyYXV0aGVudGljYXRlZCUyMiU1RCU3RA.1O-plbdFMOPOPB9ngNUcZVRUvuG7I9EPc1mjbyjWO_o", "uid": "5ae07210-1f1f-11ee-8e26-51fddba7e016" } } }

The value is copied into the .env