0kSfc8kfHDOuuVIaNjeY commented on issue #638:
URL:
https://github.com/apache/pekko-management/issues/638#issuecomment-3922113095
@pjfanning It seems that downgrading just pekko-management-cluster-bootstrap
is blocked by the pekko-management main package:
```
{"@timestamp":"2026-02-18T16:29:53.646052339+01:00","log.logger":"main.Main","log.level":"ERROR","error.stack_trace":"java.lang.IllegalStateException:
You are using version 1.2.0 of Pekko Management, but it appears you (perhaps
indirectly) also depend on older versions of related artifacts. You can solve
this by adding an explicit dependency on version 1.2.0 of the
[pekko-management-cluster-bootstrap] artifacts to your project. Here's a
complete collection of detected artifacts: (1.1.1,
[pekko-management-cluster-bootstrap]), (1.2.0, [pekko-discovery-kubernetes-api,
pekko-lease-kubernetes, pekko-management, pekko-management-cluster-http]). See
also:
https://pekko.apache.org/docs/pekko/current/common/binary-compatibility-rules.html#mixed-versioning-is-not-allowed\n\tat
org.apache.pekko.util.ManifestInfo.checkSameVersion(ManifestInfo.scala:188)\n\tat
org.apache.pekko.util.ManifestInfo.checkSameVersion(ManifestInfo.scala:166)\n\tat
org.apache.pekko.management.scaladsl.PekkoManagement.
<init>(PekkoManagement.scala:72)\n\tat
org.apache.pekko.management.scaladsl.PekkoManagement$.createExtension(PekkoManagement.scala:55)\n\tat
org.apache.pekko.management.scaladsl.PekkoManagement$.createExtension(PekkoManagement.scala:54)\n\tat
org.apache.pekko.actor.ActorSystemImpl.registerExtension(ActorSystem.scala:1202)\n\tat
org.apache.pekko.actor.ExtensionId.apply(Extension.scala:87)\n\tat
org.apache.pekko.actor.ExtensionId.apply$(Extension.scala:81)\n\tat
org.apache.pekko.management.scaladsl.PekkoManagement$.apply(PekkoManagement.scala:47)\n\tat
org.apache.pekko.management.javadsl.PekkoManagement$.get(PekkoManagement.scala:29)\n\tat
org.apache.pekko.management.javadsl.PekkoManagement.get(PekkoManagement.scala)\n\tat
main.Main.main(Main.java:242)\n\tat
main.Main.main(Main.java:84)\n","service.name":"Server","message":"Failed to
enable SSL encryption for Pekko Management with given configuration. Will use
unencrypted communication instead!"}
Exception in thread "main" java.lang.IllegalStateException: You are using
version 1.2.0 of Pekko Management, but it appears you (perhaps indirectly) also
depend on older versions of related artifacts. You can solve this by adding an
explicit dependency on version 1.2.0 of the
[pekko-management-cluster-bootstrap] artifacts to your project. Here's a
complete collection of detected artifacts: (1.1.1,
[pekko-management-cluster-bootstrap]), (1.2.0, [pekko-discovery-kubernetes-api,
pekko-lease-kubernetes, pekko-management, pekko-management-cluster-http]). See
also:
https://pekko.apache.org/docs/pekko/current/common/binary-compatibility-rules.html#mixed-versioning-is-not-allowed
at
org.apache.pekko.util.ManifestInfo.checkSameVersion(ManifestInfo.scala:188)
at
org.apache.pekko.util.ManifestInfo.checkSameVersion(ManifestInfo.scala:166)
at
org.apache.pekko.management.scaladsl.PekkoManagement.<init>(PekkoManagement.scala:72)
at
org.apache.pekko.management.scaladsl.PekkoManagement$.createExtension(PekkoManagement.scala:55)
at
org.apache.pekko.management.scaladsl.PekkoManagement$.createExtension(PekkoManagement.scala:54)
at
org.apache.pekko.actor.ActorSystemImpl.registerExtension(ActorSystem.scala:1202)
at org.apache.pekko.actor.ExtensionId.apply(Extension.scala:87)
at org.apache.pekko.actor.ExtensionId.apply$(Extension.scala:81)
at
org.apache.pekko.management.scaladsl.PekkoManagement$.apply(PekkoManagement.scala:47)
at
org.apache.pekko.management.javadsl.PekkoManagement$.get(PekkoManagement.scala:29)
at
org.apache.pekko.management.javadsl.PekkoManagement.get(PekkoManagement.scala)
```
I have now tested self-built dependencies from the 1.2.x branch with the
cluster-bootstrap support TLS requests in client calls (#426) (#549) commit
reverted and can confirm that this has resolved the issue:
```
{"@timestamp":"2026-02-18T18:18:56.078444202+01:00","log.logger":"org.apache.pekko.management.cluster.bootstrap.contactpoint.HttpClusterBootstrapRoutes","log.level":"INFO","labels":{"pekkoUid":"-5927608501056951111","sourceThread":"PushServerSystem-pekko.actor.default-dispatcher-14","sourceActorSystem":"PushServerSystem","pekkoAddress":"pekko://[email protected]:1910","pekkoSource":"HttpClusterBootstrapRoutes(pekko://PushServerSystem)","pekkoTimestamp":"17:18:56.078UTC"},"service.name":"HAFAS.engine
- Push - Server","message":"Bootstrap request from 172.28.50.139:56028:
Contact Point returning 0 seed-nodes []"}
```
I'll try out setting the ca-path and let you know if that works with regular
1.2.0 version.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]