Apache and mod_proxy not handling HTTP 100-continue from client HTTP 417

前端 未结 2 1536
無奈伤痛
無奈伤痛 2021-02-08 07:44

\'m building some webby magic and am using Apache to front our tomcat server, forwarding requests to tomcat on port 8080. I have an issue using Apache and mod_proxy to forward r

2条回答
  •  春和景丽
    2021-02-08 08:27

    In our realy particular case, it was the proxy answering with 417. Then again, the deploy seemed to have ignored the nonProxyHosts settings. Effectively, we had run into this bug: https://github.com/mojohaus/jaxb2-maven-plugin/issues/60 thus jaxb2-maven-plugin mangled our proxy settings, and the proxy answered 417.

    mvn clean deploy
    

    failed. While

    mvn deploy
    

    worked. Best workaround I found (see issue linked above) was to use a different wagon which does not get broken by jaxb2-maven-plugin (version 2.4 still known to have this proxy bug):

    
        
            org.apache.maven.wagon
            wagon-http-lightweight
            3.3.2
        
    
    

提交回复
热议问题