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

No User and Role Management Tab #478

Closed
tan-blng opened this issue Feb 1, 2024 · 2 comments
Closed

No User and Role Management Tab #478

tan-blng opened this issue Feb 1, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@tan-blng
Copy link

tan-blng commented Feb 1, 2024

Describe the issue

Followed the documentation, and deploy all the stacks (stable-diffusion-webui and extension, and the middleware) successfully. However, there is no "role management" or "user management" tab under the "AWS SageMaker" tab. It asks for API URL and API Token, as well as Username and Password. I filled in API URL and API Token, which is copied from middleware stack output, but not sure what about username and password. I tried leave it empty, and also guessed with "admin", and then click the "Test Connection & Udpate Setting" button, the result is always "Failed to connect to backend server, please check the url and token" in the label area. The log reports:

DEBUG:aws_extension.sagemaker_ui_tab:user None logged in
ERROR:aws_extension.sagemaker_ui_tab:Error: Failed to get server request. Details: 403 Client Error: Forbidden for url: https://{xxxxxxxxxx}.execute-api.us-west-2.amazonaws.com/prod/ping

I checked webui version, which is 1.7.0, and other extensions version (e.g. ControlNet) all compatible.
I also tried the file sagemaker_ui.json, filled in the api_gateway_url and api_token value, and leave the "username" empty, but didn't work.

Thank you for helping looking into this issue.

image

Links

https://awslabs.github.io/stable-diffusion-aws-extension/en/user-guide/multi-user/

@tan-blng tan-blng added the documentation Improvements or additions to documentation label Feb 1, 2024
@ghost
Copy link

ghost commented Feb 2, 2024

May I ask if you were within 10 minutes of successful deployment when you encountered this error? If so, please try again.

@tan-blng
Copy link
Author

tan-blng commented Feb 2, 2024

Thanks, problem solved by using the 1.4.0 cloudformation template.

@tan-blng tan-blng closed this as completed Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant