You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuweni.apache.org by GitBox <gi...@apache.org> on 2021/06/14 07:56:00 UTC
[GitHub] [incubator-tuweni] atoulme opened a new issue #277: Error with invalid discovery messages
atoulme opened a new issue #277:
URL: https://github.com/apache/incubator-tuweni/issues/277
This error is reported during discovery:
```
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: 06:55:26.613 [DefaultDispatcher-worker-1] ERROR org.apache.tuweni.devp2p.DiscoveryService - ÐΞVp2p discovery 957395249: unexpected error during packet handling
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Invalid point coordinates
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2050)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at com.google.common.cache.LocalCache.get(LocalCache.java:3952)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4871)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at org.apache.tuweni.devp2p.DevP2PPeerRoutingTable.hashForId(PeerRoutingTable.kt:100)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at org.apache.tuweni.devp2p.DevP2PPeerRoutingTable.nearest(PeerRoutingTable.kt:92)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at org.apache.tuweni.devp2p.CoroutineDiscoveryService.neighbors(DiscoveryService.kt:863)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at org.apache.tuweni.devp2p.CoroutineDiscoveryService.handleFindNode(DiscoveryService.kt:610)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at org.apache.tuweni.devp2p.CoroutineDiscoveryService$handleFindNode$1.invokeSuspend(DiscoveryService.kt)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: Caused by: java.lang.IllegalArgumentException: Invalid point coordinates
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at org.bouncycastle.math.ec.ECCurve.validatePoint(ECCurve.java:125)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at org.bouncycastle.math.ec.ECCurve.decodePoint(ECCurve.java:418)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at org.apache.tuweni.crypto.SECP256K1$PublicKey.asEcPoint(SECP256K1.java:707)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at org.apache.tuweni.devp2p.EthereumNodeRecord$Companion.nodeId(EthereumNodeRecord.kt:58)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at org.apache.tuweni.devp2p.DevP2PPeerRoutingTable$hashForId$1.call(PeerRoutingTable.kt:100)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at org.apache.tuweni.devp2p.DevP2PPeerRoutingTable$hashForId$1.call(PeerRoutingTable.kt:69)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4876)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3528)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2277)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2154)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2044)
Jun 13 06:55:26 ip-172-31-23-167 crawler[3231927]: #011... 16 common frames omitted
```
--
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For additional commands, e-mail: dev-help@tuweni.apache.org
[GitHub] [incubator-tuweni] atoulme commented on issue #277: Error with invalid discovery messages
Posted by GitBox <gi...@apache.org>.
atoulme commented on issue #277:
URL: https://github.com/apache/incubator-tuweni/issues/277#issuecomment-860480234
Not a bug, but we should catch this and log a warning.
--
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For additional commands, e-mail: dev-help@tuweni.apache.org