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

Issue with guardrails configure and guardrails hub install. #1147

Open
mohitmatta opened this issue Oct 28, 2024 · 2 comments
Open

Issue with guardrails configure and guardrails hub install. #1147

mohitmatta opened this issue Oct 28, 2024 · 2 comments

Comments

@mohitmatta
Copy link

I have been trying to run the below commands:

RUN guardrails configure --token "" --enable-metrics --enable-remote-inferencing

RUN export http_proxy=http://proxy.discoverfinancial.com:8080
&& export https_proxy=http://proxy.discoverfinancial.com:8080
&& guardrails hub install hub://guardrails/regex_match

its failing with below reason:

Message: 'An unexpected error occurred!'
Arguments: (ProxyError(MaxRetryError("HTTPSConnectionPool(host='hub.api.guardrailsai.com', port=443): Max retries exceeded with url: /auth (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 407 Proxy Authentication Required')))")),)

I already tried generating the new token on https://hub.guardrailsai.com/keys and supplying the token in guardrails configure command but its failing with seam reason.

Please suggest if i am missing any step.

@zsimjee
Copy link
Collaborator

zsimjee commented Oct 28, 2024

where you're building your dockerfile, do you have access to the internet? Can you try to curl https://hub.api.guardrailsai.com/ from the same endpoint? It should return hello world. If not, then it's a connectivity issue.

@mohitmatta
Copy link
Author

We were not able to connect to that webserver from openshift environment although we are able to run it from local. We are working on resolving connectivity issue with ocp cluster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants