[
https://issues.apache.org/jira/browse/CAMEL-12077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16439130#comment-16439130
]
Zoran Regvart commented on CAMEL-12077:
---------------------------------------
[~atyurin] have you tried to turn of mobile notifications as suggested in this
[salesforce.stackexchange.com|https://salesforce.stackexchange.com/a/207824]
answer? In general reporting issues without having a good way to reproduce them
will not get them fixed. You need to provide the minimal example code to
demonstrate the issue and describe your environment in detail. This kind of
issue could be caused by any number of non Camel related reasons, such as
network issues, middle boxes (proxies), or an issue at Salesforce. I think this
will be very difficult to reproduce. I've setup a minimal Camel
[project|https://github.com/zregvart/camel-salesforce-push/] and I'll leave it
running for a couple of days. If I don't manage to reproduce or track down the
issue to a something we can fix in Camel I'm afraid we'll have to close this
issue again.
> camel-salesforce - No streaming events are received when subscription is
> running for a long time
> ------------------------------------------------------------------------------------------------
>
> Key: CAMEL-12077
> URL: https://issues.apache.org/jira/browse/CAMEL-12077
> Project: Camel
> Issue Type: Bug
> Components: camel-salesforce
> Affects Versions: 2.21.0
> Environment: Linux
> Reporter: Andrey Tyurin
> Priority: Major
>
> When the topic subscription exists for a long time, no streaming events are
> received. In my example, I left app running for a couple of days, when I
> tried to create new item I was not able to get event for it.
> Please find the error logs:
> 2017-12-08 10:27:29 [HttpClient@1017728114-38] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=u2evatdsdpd1dx1oxjwi44x0npj, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=792, error=403::Unknown client,
> successful=false}
> 2017-12-08 10:27:34 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-08 10:27:34 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-08 10:27:34 [HttpClient@1017728114-33] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-08 10:27:35 [HttpClient@1017728114-33] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-08 13:27:39 [HttpClient@1017728114-38] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=zt4w6ycvc2w41z1vy8las52496h, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=895, error=403::Unknown client,
> successful=false}
> 2017-12-08 13:27:46 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-08 13:27:46 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-08 13:27:46 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-08 13:27:46 [HttpClient@1017728114-38] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-08 15:21:22 [HttpClient@1017728114-31] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {failure={exception=org.cometd.common.TransportException: {httpCode=408},
> message={clientId=149nqlw716ayvw11umy6y68qnt5j, channel=/meta/connect,
> id=961, connectionType=long-polling}, httpCode=408,
> connectionType=long-polling}, channel=/meta/connect, id=961, successful=false}
> 2017-12-08 15:21:24 [HttpClient@1017728114-34] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=149nqlw716ayvw11umy6y68qnt5j, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=962, error=403::Unknown client,
> successful=false}
> 2017-12-08 15:21:30 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-08 15:21:30 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-08 15:21:30 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-08 15:21:31 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-08 18:21:40 [HttpClient@1017728114-33] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=2187o33x9xfjzn12ftwc7kzkp3a, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=1065, error=403::Unknown client,
> successful=false}
> 2017-12-08 18:21:47 [HttpClient@1017728114-38] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-08 18:21:47 [HttpClient@1017728114-38] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-08 18:21:47 [HttpClient@1017728114-38] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-08 18:21:47 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-08 21:21:53 [HttpClient@1017728114-37] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=5y1v1wcvpi8mg0849ksbk5o27o, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=1168, error=403::Unknown client,
> successful=false}
> 2017-12-08 21:22:00 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-08 21:22:00 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-08 21:22:00 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-08 21:22:00 [HttpClient@1017728114-37] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-09 00:21:58 [HttpClient@1017728114-37] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=h0576fpehxdblnul6drut9m4bk, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=1271, error=403::Unknown client,
> successful=false}
> 2017-12-09 00:22:06 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-09 00:22:06 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-09 00:22:06 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-09 00:22:07 [HttpClient@1017728114-31] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-09 06:25:41 [HttpClient@1017728114-35] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=d6145y9zfpp6rel1sw93x1qeo3qs, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=1474, error=403::Unknown client,
> successful=false}
> 2017-12-09 06:25:49 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-09 06:25:49 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-09 06:25:49 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-09 06:25:49 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-09 09:27:28 [HttpClient@1017728114-33] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=9fnrr2vt8awu481ru6v45mayz3z, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=1578, error=403::Unknown client,
> successful=false}
> 2017-12-09 09:27:35 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-09 09:27:35 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-09 09:27:35 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-09 09:27:35 [HttpClient@1017728114-36] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-09 12:29:16 [HttpClient@1017728114-31] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=961lllevtczs8191xjbvc8fh9qn6, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=1682, error=403::Unknown client,
> successful=false}
> 2017-12-09 12:29:21 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-09 12:29:21 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-09 12:29:21 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-09 12:29:21 [HttpClient@1017728114-31] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-09 15:31:01 [HttpClient@1017728114-35] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=95193kstt62v0kx9yb2q9qvmvm6, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=1786, error=403::Unknown client,
> successful=false}
> 2017-12-09 15:31:07 [HttpClient@1017728114-36] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-09 15:31:07 [HttpClient@1017728114-36] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-09 15:31:07 [HttpClient@1017728114-37] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-09 15:31:07 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-09 18:32:46 [HttpClient@1017728114-37] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=gc1ax3qx9au3r0c1tcgmvfe2413x, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=1890, error=403::Unknown client,
> successful=false}
> 2017-12-09 18:32:51 [HttpClient@1017728114-38] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-09 18:32:51 [HttpClient@1017728114-38] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-09 18:32:51 [HttpClient@1017728114-31] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-09 18:32:51 [HttpClient@1017728114-36] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-09 21:34:30 [HttpClient@1017728114-36] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=bg1t9e2yv27wqwp1y0hhman9o4x4, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=1994, error=403::Unknown client,
> successful=false}
> 2017-12-09 21:34:36 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-09 21:34:36 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-09 21:34:36 [HttpClient@1017728114-36] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-09 21:34:36 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-10 00:36:15 [HttpClient@1017728114-35] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=sr1bwlxp6m88hnonh0f3sbg0luh, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2098, error=403::Unknown client,
> successful=false}
> 2017-12-10 00:36:21 [HttpClient@1017728114-33] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-10 00:36:21 [HttpClient@1017728114-33] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-10 00:36:21 [HttpClient@1017728114-33] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-10 00:36:21 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-10 03:37:59 [HttpClient@1017728114-31] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=pmcwy0elvey0d51m9dz05hixaz5, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2202, error=403::Unknown client,
> successful=false}
> 2017-12-10 03:38:05 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-10 03:38:05 [HttpClient@1017728114-35] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-10 03:38:05 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-10 03:38:06 [HttpClient@1017728114-38] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-10 06:39:44 [HttpClient@1017728114-37] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=hg83savpz71w5e14kmg9j3p2952, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2306, error=403::Unknown client,
> successful=false}
> 2017-12-10 06:39:50 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-10 06:39:50 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-10 06:39:50 [HttpClient@1017728114-31] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic1
> 2017-12-10 06:39:50 [HttpClient@1017728114-38] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribed to channel /topic/MyTopic2
> 2017-12-10 09:39:57 [HttpClient@1017728114-37] WARN
> o.a.c.c.s.i.c.SalesforceSecurityHandler - Retrying on Salesforce
> authentication error [401]: [Unauthorized]
> 2017-12-10 09:40:00 [HttpClient@1017728114-37] INFO
> o.a.c.c.s.internal.SalesforceSession - Login at Salesforce loginUrl:
> https://atyurin-dev-ed.my.salesforce.com/services/oauth2/token
> 2017-12-10 09:40:37 [HttpClient@1017728114-38] INFO
> o.a.c.c.s.internal.SalesforceSession - Login successful
> 2017-12-10 09:40:39 [HttpClient@1017728114-35] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=ranffdykcgazqa1uie3uhr9uhln, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2409, error=403::Unknown client,
> successful=false}
> 2017-12-10 09:40:45 [HttpClient@1017728114-31] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic1...
> 2017-12-10 09:40:45 [HttpClient@1017728114-31] INFO
> o.a.c.c.s.i.s.SubscriptionHelper - Subscribing to channel /topic/MyTopic2...
> 2017-12-10 09:40:49 [HttpClient@1017728114-33] WARN
> o.a.c.c.s.SalesforceConsumer - Error subscribing to MyTopic1: {httpCode=500}.
> Caused by: [org.apache.camel.component.salesforce.api.SalesforceException -
> Error subscribing to MyTopic1: {httpCode=500}]
> org.apache.camel.component.salesforce.api.SalesforceException: Error
> subscribing to MyTopic1: {httpCode=500}
> at
> org.apache.camel.component.salesforce.internal.streaming.SubscriptionHelper$7.onMessage(SubscriptionHelper.java:401)
> at
> org.cometd.common.AbstractClientSession$AbstractSessionChannel.notifyOnMessage(AbstractClientSession.java:594)
> at
> org.cometd.common.AbstractClientSession$AbstractSessionChannel.notifyMessageListeners(AbstractClientSession.java:579)
> at
> org.cometd.common.AbstractClientSession.notifyListeners(AbstractClientSession.java:291)
> at
> org.cometd.common.AbstractClientSession.receive(AbstractClientSession.java:257)
> at org.cometd.client.BayeuxClient.failMessage(BayeuxClient.java:843)
> at
> org.cometd.client.BayeuxClient.messageFailure(BayeuxClient.java:839)
> at
> org.cometd.client.BayeuxClient.messagesFailure(BayeuxClient.java:670)
> at
> org.cometd.client.BayeuxClient$MessageTransportListener.onFailure(BayeuxClient.java:1195)
> at
> org.cometd.client.transport.LongPollingTransport$2.onComplete(LongPollingTransport.java:251)
> at
> org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:193)
> at
> org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:185)
> at
> org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:459)
> at
> org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:405)
> at
> org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:297)
> at org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java:1067)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1392)
> at
> org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:170)
> at
> org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:131)
> at
> org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:70)
> at
> org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:130)
> at
> org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:116)
> at
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
> at
> org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:258)
> at
> org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:147)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
> at
> org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
> at
> org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:122)
> at
> org.eclipse.jetty.util.thread.strategy.ExecutingExecutionStrategy.invoke(ExecutingExecutionStrategy.java:58)
> at
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:201)
> at
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:133)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.cometd.common.TransportException: {httpCode=500}
> at
> org.cometd.client.transport.LongPollingTransport$2.onComplete(LongPollingTransport.java:250)
> ... 25 common frames omitted
> 2017-12-10 09:40:49 [HttpClient@1017728114-33] WARN
> o.a.c.c.s.SalesforceConsumer - Error subscribing to MyTopic2: {httpCode=500}.
> Caused by: [org.apache.camel.component.salesforce.api.SalesforceException -
> Error subscribing to MyTopic2: {httpCode=500}]
> org.apache.camel.component.salesforce.api.SalesforceException: Error
> subscribing to MyTopic2: {httpCode=500}
> at
> org.apache.camel.component.salesforce.internal.streaming.SubscriptionHelper$7.onMessage(SubscriptionHelper.java:401)
> at
> org.cometd.common.AbstractClientSession$AbstractSessionChannel.notifyOnMessage(AbstractClientSession.java:594)
> at
> org.cometd.common.AbstractClientSession$AbstractSessionChannel.notifyMessageListeners(AbstractClientSession.java:579)
> at
> org.cometd.common.AbstractClientSession.notifyListeners(AbstractClientSession.java:291)
> at
> org.cometd.common.AbstractClientSession.receive(AbstractClientSession.java:257)
> at org.cometd.client.BayeuxClient.failMessage(BayeuxClient.java:843)
> at
> org.cometd.client.BayeuxClient.messageFailure(BayeuxClient.java:839)
> at
> org.cometd.client.BayeuxClient.messagesFailure(BayeuxClient.java:670)
> at
> org.cometd.client.BayeuxClient$MessageTransportListener.onFailure(BayeuxClient.java:1195)
> at
> org.cometd.client.transport.LongPollingTransport$2.onComplete(LongPollingTransport.java:251)
> at
> org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:193)
> at
> org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:185)
> at
> org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:459)
> at
> org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:405)
> at
> org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:297)
> at org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java:1067)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1392)
> at
> org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:170)
> at
> org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:131)
> at
> org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:70)
> at
> org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:130)
> at
> org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:116)
> at
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
> at
> org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:258)
> at
> org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:147)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
> at
> org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
> at
> org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:122)
> at
> org.eclipse.jetty.util.thread.strategy.ExecutingExecutionStrategy.invoke(ExecutingExecutionStrategy.java:58)
> at
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:201)
> at
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:133)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: org.cometd.common.TransportException: {httpCode=500}
> at
> org.cometd.client.transport.LongPollingTransport$2.onComplete(LongPollingTransport.java:250)
> ... 25 common frames omitted
>
> 2017-12-10 11:10:04 [HttpClient@1017728114-34] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {failure={exception=org.cometd.common.TransportException: {httpCode=408},
> message={clientId=j71fzokzl0jz8u4pmwmpf81lsgo, channel=/meta/connect,
> id=2462, connectionType=long-polling}, httpCode=408,
> connectionType=long-polling}, channel=/meta/connect, id=2462,
> successful=false}
> 2017-12-10 11:10:05 [HttpClient@1017728114-38] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=j71fzokzl0jz8u4pmwmpf81lsgo, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2463, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:12:34 [HttpClient@1017728114-38] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {failure={exception=java.io.EOFException:
> HttpConnectionOverHTTP@40633b9f(l:/99.99.99.99:56812 <->
> r:atyurin-dev-ed.my.salesforce.com/999.999.999.999:443,closed=false)=>HttpChannelOverHTTP@4db26bdf(exchange=HttpExchange@805c821
> req=TERMINATED/null@null
> res=PENDING/null@null)[send=HttpSenderOverHTTP@5163a57d(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@5bdf2b74{s=START}],recv=HttpReceiverOverHTTP@5ed5f43(rsp=IDLE,failure=null)[HttpParser{s=CLOSED,0
> of
> -1}]]<-DecryptedEndPoint@230fcb1f{atyurin-dev-ed.my.salesforce.com/999.999.999.999:443<->/99.99.99.99:56812,OPEN,fill=-,flush=-,to=3839/340000}->HttpConnectionOverHTTP@40633b9f(l:/99.99.99.99:56812
> <->
> r:atyurin-dev-ed.my.salesforce.com/999.999.999.999:443,closed=false)=>HttpChannelOverHTTP@4db26bdf(exchange=HttpExchange@805c821
> req=TERMINATED/null@null
> res=PENDING/null@null)[send=HttpSenderOverHTTP@5163a57d(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@5bdf2b74{s=START}],recv=HttpReceiverOverHTTP@5ed5f43(rsp=IDLE,failure=null)[HttpParser{s=CLOSED,0
> of
> -1}]]->SocketChannelEndPoint@6f0bca4e{atyurin-dev-ed.my.salesforce.com/999.999.999.999:443<->/99.99.99.99:56812,ISHUT,fill=-,flush=-,to=3943/340000}{io=0/0,kio=0,kro=1}->SslConnection@4d2dc850{NEED_WRAP,eio=-1/-1,di=-1}=>HttpConnectionOverHTTP@40633b9f(l:/99.99.99.99:56812
> <->
> r:atyurin-dev-ed.my.salesforce.com/999.999.999.999:443,closed=false)=>HttpChannelOverHTTP@4db26bdf(exchange=HttpExchange@805c821
> req=TERMINATED/null@null
> res=PENDING/null@null)[send=HttpSenderOverHTTP@5163a57d(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@5bdf2b74{s=START}],recv=HttpReceiverOverHTTP@5ed5f43(rsp=IDLE,failure=null)[HttpParser{s=CLOSED,0
> of -1}]], message={clientId=ww1w91if6spkrox1xymgrvt6o8ll,
> channel=/meta/connect, id=2489, connectionType=long-polling},
> connectionType=long-polling}, channel=/meta/connect, id=2489,
> successful=false}
> 2017-12-10 11:12:40 [HttpClient@1017728114-34] WARN
> o.a.c.c.s.i.c.SalesforceSecurityHandler - Retrying on Salesforce
> authentication error [401]: [Unauthorized]
> 2017-12-10 11:12:40 [HttpClient@1017728114-34] INFO
> o.a.c.c.s.internal.SalesforceSession - Login at Salesforce loginUrl:
> https://atyurin-dev-ed.my.salesforce.com/services/oauth2/token
> 2017-12-10 11:12:42 [HttpClient@1017728114-36] INFO
> o.a.c.c.s.internal.SalesforceSession - Login successful
> 2017-12-10 11:12:42 [HttpClient@1017728114-36] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=ww1w91if6spkrox1xymgrvt6o8ll, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2490, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:13 [HttpClient@1017728114-36] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=61lxo6llr4yw1910hp0t365ttto, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2665, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:14 [HttpClient@1017728114-35] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=11tnpbrj5qvj4af9xrc3nosdkq, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2667, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:14 [HttpClient@1017728114-38] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=3i3dau8a03fy91pnrayrdjtpkc, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2669, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:14 [HttpClient@1017728114-36] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=21lkzjxa7ad9n54f91lyomzmw6, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2671, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:14 [HttpClient@1017728114-34] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=116cjl3y3drl1911ws24n8u5b1t, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2673, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:14 [HttpClient@1017728114-36] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=2vm194lk70od3ns9nxe7np9yi, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2675, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:14 [HttpClient@1017728114-35] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=29uhg7te3sn65yt67cjsrka1x, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2677, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:15 [HttpClient@1017728114-31] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=41vyk88oh4f3pty02acrb7mmul, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2679, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:15 [HttpClient@1017728114-33] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=312j6xdm64akv31i8ilnllj1rm1, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2681, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:15 [HttpClient@1017728114-35] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=2l76pzk76qs6mecqtffua906c, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2683, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:16 [HttpClient@1017728114-36] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=483vzn5kqtoyp1q8v6lkimvhv9, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2685, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:16 [HttpClient@1017728114-31] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=31buo56apo2ovnch7b3tjmpbog, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2687, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:16 [HttpClient@1017728114-35] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=3sb36sqfeqbhkzem40g835wt7, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2689, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:16 [HttpClient@1017728114-38] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=31r1f9mcjzzyomap16uj4ieshg, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2691, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:16 [HttpClient@1017728114-34] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=6oaoo0ah2km8w1izm3gp5dkj2p, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2693, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:16 [HttpClient@1017728114-35] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=51hrihst0ck6u9v3o8tdbwmvwj, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2695, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:16 [HttpClient@1017728114-38] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=41p4j3lb0qstby9bxdyp89osrz, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2697, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:16 [HttpClient@1017728114-33] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=4129863hz8x7t2k77v0bstky76, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2699, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:16 [HttpClient@1017728114-37] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=7xpr2m9rs6gmsccvd8nk6d9v7, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2701, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:16 [HttpClient@1017728114-36] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=61pmjjpug4774x1evy7uyhjaziv, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2703, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:16 [HttpClient@1017728114-33] WARN
> o.a.c.c.s.i.s.SubscriptionHelper - Connect failure:
> {clientId=5dbar5wlq1g8qetocemnpwfp0, advice={reconnect=handshake,
> interval=500}, channel=/meta/connect, id=2705, error=403::Unknown client,
> successful=false}
> 2017-12-10 11:27:16 [HttpClient@1017728114-35] INFO
> o.e.jetty.client.ResponseNotifier - Exception while notifying listener
> org.cometd.client.transport.LongPollingTransport$2@a205ef1
> java.lang.NullPointerException: null
> at
> org.cometd.client.BayeuxClient.processMessages(BayeuxClient.java:604)
> at org.cometd.client.BayeuxClient.access$3100(BayeuxClient.java:100)
> at
> org.cometd.client.BayeuxClient$MessageTransportListener.onMessages(BayeuxClient.java:1189)
> at
> org.cometd.client.transport.LongPollingTransport$2.onComplete(LongPollingTransport.java:236)
> at
> org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:193)
> at
> org.eclipse.jetty.client.ResponseNotifier.notifyComplete(ResponseNotifier.java:185)
> at
> org.eclipse.jetty.client.HttpReceiver.terminateResponse(HttpReceiver.java:459)
> at
> org.eclipse.jetty.client.HttpReceiver.responseSuccess(HttpReceiver.java:405)
> at
> org.eclipse.jetty.client.http.HttpReceiverOverHTTP.messageComplete(HttpReceiverOverHTTP.java:297)
> at org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java:1067)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1392)
> at
> org.eclipse.jetty.client.http.HttpReceiverOverHTTP.parse(HttpReceiverOverHTTP.java:170)
> at
> org.eclipse.jetty.client.http.HttpReceiverOverHTTP.process(HttpReceiverOverHTTP.java:131)
> at
> org.eclipse.jetty.client.http.HttpReceiverOverHTTP.receive(HttpReceiverOverHTTP.java:70)
> at
> org.eclipse.jetty.client.http.HttpChannelOverHTTP.receive(HttpChannelOverHTTP.java:130)
> at
> org.eclipse.jetty.client.http.HttpConnectionOverHTTP.onFillable(HttpConnectionOverHTTP.java:116)
> at
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
> at
> org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:258)
> at
> org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:147)
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
> at
> org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)