datreeio / datree

Prevent Kubernetes misconfigurations from reaching production (again 😤 )! From code to cloud, Datree provides an E2E policy enforcement solution to run automatic checks for rule violations. See our docs: https://hub.datree.io
https://datree.io
Apache License 2.0
6.39k stars 363 forks source link

Can't connect to datree web interface #615

Closed Davincible closed 2 years ago

Davincible commented 2 years ago

I have the token set, but whenever I login to the web interface, I only see the 3 step "Running Datree CLI" popup, which won't go away. So I suspect my account is not linking.

How can I fix this?

running the latest version on Manjaro

royhadad commented 2 years ago

Did you follow the 3 steps described in the pop-up?

Davincible commented 2 years ago

Oui, multiple times. I think my cli datree is not connecting to the server (correctly), but I am not sure how to troubleshoot.

Edit: Also, whenever I click the link it says "session not valid anymore", but if I'm logged in, it just redirects to my account, showing the popup

royhadad commented 2 years ago

would you like to discuss it further on slack and troubleshoot together? community slack channel: https://bit.ly/3BHwCEG

Davincible commented 2 years ago

Turns out I had installed an old version (0.15.0-1) through pacman, removing that version fixed it.

eyarz commented 2 years ago

@Davincible can you give a link to Datree on pacman so we can ask to update the version there?

Davincible commented 2 years ago

@eyarz https://archlinux.org/packages/community/x86_64/datree/

I noticed that the version just recently got bumped up, didn't propagate for me yet

eyarz commented 2 years ago

Thanks for the update. I also reached out to the package maintainer (@shibumi) to explain how to bump the version.