Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack trace in logs #17431

Open
matteriben opened this issue Jan 17, 2025 · 2 comments
Open

Stack trace in logs #17431

matteriben opened this issue Jan 17, 2025 · 2 comments
Assignees

Comments

@matteriben
Copy link
Contributor

I noticed this stack trace in my log using commit a0b12b8.

2025-01-17 16:48:35.162 WARN  226  V053AddressBookSchema - Unable to read override keys from /opt/hgcapp/services-hedera/HapiApp2.0/data/config/node-admin-keys.json
java.nio.file.NoSuchFileException: data/config/node-admin-keys.json
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) ~[?:?]
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) ~[?:?]
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) ~[?:?]
	at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:261) ~[?:?]
	at java.base/java.nio.file.Files.newByteChannel(Files.java:379) ~[?:?]
	at java.base/java.nio.file.Files.newByteChannel(Files.java:431) ~[?:?]
	at java.base/java.nio.file.Files.readAllBytes(Files.java:3268) ~[?:?]
	at java.base/java.nio.file.Files.readString(Files.java:3346) ~[?:?]
	at java.base/java.nio.file.Files.readString(Files.java:3305) ~[?:?]
	at com.hedera.node.app.service.addressbook.impl.schemas.V053AddressBookSchema.parseEd25519NodeAdminKeysFrom(V053AddressBookSchema.java:223) ~[app-service-addressbook-impl-0.59.0-main.xa0b12b8.jar:0.59.0-main.xa0b12b8]
	at com.hedera.node.app.service.addressbook.impl.schemas.V053AddressBookSchema.migrate(V053AddressBookSchema.java:92) ~[app-service-addressbook-impl-0.59.0-main.xa0b12b8.jar:0.59.0-main.xa0b12b8]
	at com.hedera.node.app.state.merkle.MerkleSchemaRegistry.migrate(MerkleSchemaRegistry.java:273) ~[HederaNode.jar:0.59.0-main.xa0b12b8]
	at com.hedera.node.app.services.OrderedServiceMigrator.lambda$doMigrations$2(OrderedServiceMigrator.java:142) ~[HederaNode.jar:0.59.0-main.xa0b12b8]
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:?]
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?]
	at java.base/java.util.TreeMap$KeySpliterator.forEachRemaining(TreeMap.java:3099) ~[?:?]
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:?]
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:?]
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
	at com.hedera.node.app.services.OrderedServiceMigrator.doMigrations(OrderedServiceMigrator.java:135) ~[HederaNode.jar:0.59.0-main.xa0b12b8]
	at com.hedera.node.app.Hedera.migrateSchemas(Hedera.java:661) ~[HederaNode.jar:0.59.0-main.xa0b12b8]
	at com.hedera.node.app.Hedera.initializeStatesApi(Hedera.java:573) ~[HederaNode.jar:0.59.0-main.xa0b12b8]
	at com.hedera.node.app.ServicesMain.lambda$main$0(ServicesMain.java:281) ~[HederaNode.jar:0.59.0-main.xa0b12b8]
	at com.hedera.node.app.ServicesMain.loadInitialState(ServicesMain.java:473) [HederaNode.jar:0.59.0-main.xa0b12b8]
	at com.hedera.node.app.ServicesMain.main(ServicesMain.java:273) [HederaNode.jar:0.59.0-main.xa0b12b8]
@matteriben
Copy link
Contributor Author

This file may now be required?

An example file is here: https://github.com/hashgraph/hedera-services/blob/main/hedera-node/configuration/dev/node-admin-keys.json

@iwsimon
Copy link
Contributor

iwsimon commented Jan 17, 2025

This file is needed to set up node adminKey at Genesis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants