runzhiwang opened a new pull request #398: HDDS-2814. Fail to connect s3g in 
docker container with network proxy
URL: https://github.com/apache/hadoop-ozone/pull/398
 
 
   ## What changes were proposed in this pull request?
   
   How to reproduce the problem:
   
   When run compose/ozones3-haproxy/test.sh in my machine which connect network 
by proxy, it fails to `curl http://scm:9876` as the image show. Because curl 
try to resolve http://scm:9876 by the network proxy, which caused fail.  
Actually, http://scm:9876 is the local realm name used by the docker container 
which should not resolved by proxy.
   
   
![image](https://user-images.githubusercontent.com/51938049/71502925-d66ad400-28ad-11ea-85fd-b48d6d5b8402.png)
   
   How to fix:
   
   config `no_proxy=om,scm,s3g,kdc,localhost,127.0.0.1` in docker-config
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-2814
   
   ## How was this patch tested?
   
   Execute compose/ozones3-haproxy/test.sh on computer which connect outer 
network . 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to