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

configuring Vouch Proxy to use an outgoing proxy for access to the internet and IdP #291

Closed
stagging18 opened this issue Jul 9, 2020 · 6 comments
Labels

Comments

@stagging18
Copy link

Hi Team,
I am getting the below error after successful authentication.

{"level":"error","ts"1594280010.3651514,"msg":"/auth Error while retreiving user info after successful login at the OAuth provider: Post "https://dev-813551.okta.com...\": dial tcp: lookup dev-813551.okta.com on 10.65.0.33:67: no such host"}

dev-813551.okta.com is not reachable from my vouch-proxy server. if i have to access this then i have to use an outgoing proxy.

Please let me know how to set outgoing proxy in vouch server so that it can make request to my okta dev account.

Any help will be appreciated.

Regards,
Rajesh

@bnfinet
Copy link
Member

bnfinet commented Jul 9, 2020

@stagging18 this sounds like a firewall problem. That error indicates a dns lookup failure. You should check your dns settings and and firewall settings and confirm that you can resolve your okta domain from the same environment that VP is running in.

@bnfinet bnfinet changed the title How to set OIDC Outgoing Proxy as my okta dev account is not reachable from my vouch-proxy server okta dev account is not reachable from my vouch-proxy server due to dns lookup failure Jul 9, 2020
@bnfinet bnfinet changed the title okta dev account is not reachable from my vouch-proxy server due to dns lookup failure okta is not reachable from vouch-proxy due to dns lookup failure Jul 9, 2020
@stagging18
Copy link
Author

stagging18 commented Jul 9, 2020 via email

@bnfinet
Copy link
Member

bnfinet commented Jul 9, 2020

@stagging18 are you saying you're using SOCKS proxy or another outgoing proxy for all tcp/udp including DNS?

oh look, that's what your initial comment says precisely. Sorry, I missed that part :)

@bnfinet
Copy link
Member

bnfinet commented Jul 9, 2020

@stagging18 I think this should work...

export HTTP_PROXY="http://proxyIp:proxyPort"

https://stackoverflow.com/questions/14661511/setting-up-proxy-for-http-client

Actually, I'm not sure that will work for the dns lookup

@bnfinet bnfinet changed the title okta is not reachable from vouch-proxy due to dns lookup failure configuring Vouch Proxy to use an outgoing proxy for access to the internet Jul 9, 2020
@bnfinet bnfinet changed the title configuring Vouch Proxy to use an outgoing proxy for access to the internet configuring Vouch Proxy to use an outgoing proxy for access to the internet and IdP Jul 9, 2020
@stagging18
Copy link
Author

stagging18 commented Jul 9, 2020 via email

@bnfinet
Copy link
Member

bnfinet commented Jul 9, 2020

@stagging18 so glad to hear that!

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

No branches or pull requests

2 participants