Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENG-222] Unable to access one project, but can access another #1149

Closed
basperheim opened this issue Nov 1, 2023 · 4 comments · Fixed by #1152
Closed

[ENG-222] Unable to access one project, but can access another #1149

basperheim opened this issue Nov 1, 2023 · 4 comments · Fixed by #1152
Assignees
Labels
🐞 bug Something isn't working

Comments

@basperheim
Copy link

basperheim commented Nov 1, 2023

Describe the bug

We are a small team with two projects, and I have been granted admin access. I can sign in just fine, but I can only access one of them. The other project, when I try to view env variables for an environment, just gets "stuck" and continues to load (or sometimes I get a 400 resp).

Using the infisical CLI in a terminal it's the same thing. I can login just fine with infisical login, but I get this response when I attempt to use infisical run on the same project:

error: unable to get your encrypted workspace key. [err=CallGetEncryptedWorkspaceKey: Unsuccessful response [GET https://app.infisical.com/api/v2/workspace/........./encrypted-key] [status-code=500]]
Could not fetch secrets
If you are using a service token to fetch secrets, please ensure it is valid
If this issue continues, get support at https://infisical.com/slack

I'm the only one in my team who has this issue. Everyone can access the project just fine.

Expected behavior

I should be able to access this one project like I can the other one.

Screenshots

Platform you are having the issue on:

macOS terminal and Chrome

From SyncLinear.com | ENG-222

@vmatsiiako vmatsiiako changed the title Unable to access one project, but can access another [ENG-222] Unable to access one project, but can access another Nov 1, 2023
@maidul98
Copy link
Collaborator

maidul98 commented Nov 1, 2023

Hello @basperheim, are you using Infisical cloud? If so can you please share the id of the project that is stuck. The ID should be available in the url

@basperheim
Copy link
Author

Hello @basperheim, are you using Infisical cloud? If so can you please share the id of the project that is stuck. The ID should be available in the url

Workspace/Project ID is: 64ca8e7b7af3a6437fab8d47.

I just use "Infisical Cloud"--I don't know what the "Self Hosting" option refers to when logging in via terminal.

In a Chrome browser I get this 400 error when trying to load the project:
Infisical project 400 error

In a terminal I get this error:

$ infisical login
✔ Override current logged in user
✔ Infisical Cloud
Logging in via browser... To login via interactive mode run [infisical login -i]
>>>> Welcome to Infisical! You are now logged in as basperheim@gmail.com <<<< 

Quick links
- Learn to inject secrets into your application at https://infisical.com/docs/cli/usage
- Stuck? Join our slack for quick support https://infisical.com/slack

$ yarn run start:dev
error: unable to get your encrypted workspace key. [err=CallGetEncryptedWorkspaceKey: Unsuccessful response [GET https://app.infisical.com/api/v2/workspace/64ca8e7b7af3a6437fab8d47/encrypted-key] [status-code=500]]
Could not fetch secrets
If you are using a service token to fetch secrets, please ensure it is valid

If this issue continues, get support at https://infisical.com/slack

start:dev runs: infisical run --env=dev

@akhilmhdh
Copy link
Member

Hey @basperheim Are you in our slack. We are trying to find a way to reproduce this bug on our side. Would really appreciate to chat how this happened.

@basperheim
Copy link
Author

Hey @basperheim Are you in our slack. We are trying to find a way to reproduce this bug on our side. Would really appreciate to chat how this happened.

Yes, I joined your slack and sent @maidul98 a DM just now. Is there a particular channel I should bring this up in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants