Hello,
It’s my first tyk on premise installation, i’m following the tuto from
https:// Tyk API Gateway Documentation
i’m trying the test with “https:// httpbin.org/”
I’m behing a proxy, the http_env var are set, and i can do a “wget https:// httpbin.org/” from shell
but i don’t think the gateway uses the proxy environment variable
i didn’t found any example on the web on how to configure an outgoing proxy
i found this
https ://community.tyk.io/t/using-tyk-behind-a-proxy/644
and i hope it has been solved since 2016
curl -H “Authorization: [mytoken]” https:// myhostname.io:8080/test_api/
{
“error”: “There was a problem proxying the request”
}
in the logs i got :
time=“Mar 29 09:42:33” level=error msg=“http: proxy error: dial tcp 54.225.153.22:443: i/o timeout” api_id=2068532940a04e7859f1cc7343b4add9 org_id=5abb86c7c9293914b87241be server_name=httpbin.org user_id=“****3e73” user_ip=X.X.X.X user_name=
It really looks like the gateway does not use the proxy.
I don’t know how to set it
it’s probably in the file tyk.conf
maybe inside http_server_options
I’ll pass the end of the week on another API management tool.
if i have no answer, i’ll try to search in the code for an outgoing proxy option
I’ll answer if i find the solution
Thanks
Amaury