I use windows 10 with Docker toolbox and I have a docker consul on port 8095. When I raise my application pointing to 192.168.99.100:8095, internally it changes to 192.168.99.100/192.168.99.100:80 as if it validated if that host existed in that port.
SO: Windows 10 home
Java: 11.0.6.hs-adpt
Quarkus: 1.5.0.Final
The code I have made works both in windows and in linux and even in native for linux, even before adding consul.
Conflict library: quarkus-consul-config
I have tried the same with spirng and if it works when bringing the properties.
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to 192.168.99.100:80 [/192.168.99.100] failed: Connection refused: connect at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) at io.quarkus.consul.config.runtime.DefaultConsulConfigGateway.getValue(DefaultConsulConfigGateway.java:130) at io.quarkus.consul.config.runtime.ConsulConfigSourceProvider.getConfigSources(ConsulConfigSourceProvider.java:55)
What can I do in the settings so that the port change does not happen?
I use windows 10 with Docker toolbox and I have a docker consul on port 8095. When I raise my application pointing to 192.168.99.100:8095, internally it changes to 192.168.99.100/192.168.99.100:80 as if it validated if that host existed in that port.
This is my configuration:
quarkus.consul-config.agent.host-port=192.168.99.100:8095
SO: Windows 10 home Java: 11.0.6.hs-adpt Quarkus: 1.5.0.Final
The code I have made works both in windows and in linux and even in native for linux, even before adding consul.
Conflict library: quarkus-consul-config
I have tried the same with spirng and if it works when bringing the properties.
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to 192.168.99.100:80 [/192.168.99.100] failed: Connection refused: connect at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) at io.quarkus.consul.config.runtime.DefaultConsulConfigGateway.getValue(DefaultConsulConfigGateway.java:130) at io.quarkus.consul.config.runtime.ConsulConfigSourceProvider.getConfigSources(ConsulConfigSourceProvider.java:55)
What can I do in the settings so that the port change does not happen?
https://github.com/quarkusio/quarkus/issues/9845
$upstream:9845$