[
https://issues.apache.org/jira/browse/CAMEL-13707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16888988#comment-16888988
]
Eloy Coto commented on CAMEL-13707:
-----------------------------------
Hi [~bedla]
I'm testing with the following change, but I can't build at all, could you help
me?
Change:
[https://github.com/zregvart/camel-netty-proxy/compare/master...eloycoto:ApacheRepo?expand=1]
Log on build:
{code:java}
localhost.localdomain ➜ camel-netty-proxy git:(ApacheRepo) docker build
--no-cache -t camel-netty-proxy .
Sending build context to Docker daemon 21.74MB
Step 1/15 : FROM maven:3-jdk-8 AS build
---> 23d9c051cfbe
Step 2/15 : WORKDIR /build
---> Running in a25881239161
Removing intermediate container a25881239161
---> 5de680d18779
Step 3/15 : COPY pom.xml settings.xml ./
---> 89b14aa0daca
Step 4/15 : RUN mvn -B -q -s settings.xml dependency:go-offline
---> Running in 6e7acbc93b4c
[ERROR] Failed to execute goal on project camel-netty-proxy: Could not resolve
dependencies for project com.github.zregvart:camel-netty-proxy:jar:0.0.1: The
following artifacts could not be resolved:
org.apache.camel:camel-main:jar:3.0.0-SNAPSHOT,
org.apache.camel:camel-core:jar:3.0.0-SNAPSHOT,
org.apache.camel:camel-api:jar:3.0.0-SNAPSHOT,
org.apache.camel:camel-netty4-http:jar:3.0.0-SNAPSHOT: Could not find artifact
org.apache.camel:camel-main:jar:3.0.0-SNAPSHOT in apache
(https://repository.apache.org/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException{code}
Could you help me to get a sandbox using current master?
Regards.
> camel-netty4-http - Query string issues
> ---------------------------------------
>
> Key: CAMEL-13707
> URL: https://issues.apache.org/jira/browse/CAMEL-13707
> Project: Camel
> Issue Type: Bug
> Components: camel-netty4-http
> Reporter: Eloy Coto
> Assignee: Jan Bednar
> Priority: Minor
> Fix For: 3.0.0, 3.0.0.M5
>
> Attachments: CamelHttpQuerySlashPath.java
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Test environment:
>
> [https://github.com/zregvart/camel-netty-proxy]
> running the readme, all ok,
>
> running the following command, no connection and the following error message:
> {code:java}
> $ http_proxy=http://localhost:8080 curl -v "http://neverssl.co?user=123m" *
> Uses proxy env variable http_proxy == 'http://localhost:8080' * Trying ::1...
> * TCP_NODELAY set * Connected to localhost (::1) port 8080 (#0) > GET
> http://neverssl.co/?user=123m HTTP/1.1 > Host: neverssl.co > User-Agent:
> curl/7.64.0 > Accept: */* > Proxy-Connection: Keep-Alive > ^C {code}
> Log output:
> {code:java}
> 2019-07-01 08:23:55 [Camel Thread #11 - NettyClientTCPWorker] WARN
> i.n.util.concurrent.DefaultPromise - An exception was thrown by
> org.apache.camel.component.netty4.NettyProducer$ChannelConnectedListener.operationComplete()
> io.netty.util.IllegalReferenceCountException: refCnt: 0, decrement: 1 at
> io.netty.util.internal.ReferenceCountUpdater.toLiveRealRefCnt(ReferenceCountUpdater.java:74)
> at
> io.netty.util.internal.ReferenceCountUpdater.release(ReferenceCountUpdater.java:138)
> at
> io.netty.buffer.AbstractReferenceCountedByteBuf.release(AbstractReferenceCountedByteBuf.java:100)
> at
> io.netty.handler.codec.http.HttpObjectAggregator$AggregatedFullHttpMessage.release(HttpObjectAggregator.java:386)
> at io.netty.util.ReferenceCountUtil.release(ReferenceCountUtil.java:88) at
> org.apache.camel.component.netty4.NettyProducer$BodyReleaseCallback.done(NettyProducer.java:663)
> at
> org.apache.camel.component.netty4.NettyProducer$ChannelConnectedListener.operationComplete(NettyProducer.java:631)
> at
> org.apache.camel.component.netty4.NettyProducer$ChannelConnectedListener.operationComplete(NettyProducer.java:612)
> at
> io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:502)
> at
> io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:495)
> at
> io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:474)
> at
> io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:415)
> at
> io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:540) at
> io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:533)
> at
> io.netty.util.concurrent.DefaultPromise.setFailure(DefaultPromise.java:106)
> at
> io.netty.channel.DefaultChannelPromise.setFailure(DefaultChannelPromise.java:89)
> at io.netty.bootstrap.Bootstrap.doResolveAndConnect0(Bootstrap.java:216) at
> io.netty.bootstrap.Bootstrap.access$000(Bootstrap.java:49) at
> io.netty.bootstrap.Bootstrap$1.operationComplete(Bootstrap.java:188) at
> io.netty.bootstrap.Bootstrap$1.operationComplete(Bootstrap.java:174) at
> io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:502)
> at
> io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:476)
> at
> io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:415)
> at
> io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:540) at
> io.netty.util.concurrent.DefaultPromise.setSuccess0(DefaultPromise.java:529)
> at
> io.netty.util.concurrent.DefaultPromise.trySuccess(DefaultPromise.java:101)
> at
> io.netty.channel.DefaultChannelPromise.trySuccess(DefaultChannelPromise.java:84)
> at
> io.netty.channel.AbstractChannel$AbstractUnsafe.safeSetSuccess(AbstractChannel.java:1009)
> at
> io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:517)
> at
> io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:428)
> at
> io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:487)
> at
> io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
> at
> io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:405)
> at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) at
> io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:906)
> at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
> at java.lang.Thread.run(Thread.java:748){code}
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)