Closed 3logy closed 5 years ago
The stack over flow answer relates to the CLI, for the HTTP client you need to configure the proxy settings through the HttpClientConfiguration
settings in application.yml
@graemerocher` thank you. it's work.
I set it for example like this :
` myclient:
client:
proxy-address: xx.xx.xx.xx:2222
proxy-type: HTTP
`
Perfect
When i run/test a micronaut application behind a corporate proxy, using cntlm or not, it occurs the following error :
I posted a question on Stackoverflow and set the proxy like the documentation said, but it seems like micronaut while requesting append the proxy at the end of the client root url.
I can test and request with the same complete url on postman (using system proxy) and its works.
`
` The complete stacktrace :
Thanks for reporting an issue for Micronaut, please review the task list below before submitting the issue. Your issue report will be closed if the issue is incomplete and the below tasks not completed.
NOTE: If you are unsure about something and the issue is more of a question a better place to ask questions is on Stack Overflow (http://stackoverflow.com/tags/micronaut) or Gitter (https://gitter.im/micronautfw/). DO NOT use the issue tracker to ask questions.
Task List
Steps to Reproduce
Expected Behaviour
Return 200 OK and a JSON in the Response
Actual Behaviour
Return a Read Time Out
Environment Information