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

engine API call error due to failure in jwt creation #7559

Closed
tbenr opened this issue Sep 29, 2023 · 1 comment · Fixed by #7580
Closed

engine API call error due to failure in jwt creation #7559

tbenr opened this issue Sep 29, 2023 · 1 comment · Fixed by #7580
Assignees
Labels
bug 🐞 Something isn't working

Comments

@tbenr
Copy link
Contributor

tbenr commented Sep 29, 2023

User reported this strange stack trace:

2023-09-29 14:51:36.274+02:00 | pool-4-thread-11 | ERROR | teku-event-log | Execution Client request failed. Make sure the Execution Client is online and can respond to requests.
java.util.ServiceConfigurationError: io.jsonwebtoken.io.Serializer: Error accessing configuration file
at java.util.ServiceLoader.fail(ServiceLoader.java:586) ~[?:?]
at java.util.ServiceLoader$LazyClassPathLookupIterator.parse(ServiceLoader.java:1180) ~[?:?]
at java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1213) ~[?:?]
at java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1228) ~[?:?]
at java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1273) ~[?:?]
at java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1309) ~[?:?]
at java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1393) ~[?:?]
at io.jsonwebtoken.impl.lang.Services.loadFirst(Services.java:110) ~[jjwt-impl-0.11.5.jar:0.11.5]
at io.jsonwebtoken.impl.lang.Services.loadFirst(Services.java:100) ~[jjwt-impl-0.11.5.jar:0.11.5]
at io.jsonwebtoken.impl.lang.LegacyServices.loadFirst(LegacyServices.java:24) ~[jjwt-impl-0.11.5.jar:0.11.5]
at io.jsonwebtoken.impl.DefaultJwtBuilder.compact(DefaultJwtBuilder.java:291) ~[jjwt-impl-0.11.5.jar:0.11.5]
at tech.pegasys.teku.ethereum.executionclient.auth.TokenProvider.token(TokenProvider.java:38) ~[teku-ethereum-executionclient-23.9.1.jar:23.9.1]
@tbenr
Copy link
Contributor Author

tbenr commented Sep 29, 2023

doing some reserch I found:

jwtk/jjwt#648

which then referces

seems like the fix is targeted to 0.12.0. An option would be to switch jwt library.

@rolfyone rolfyone added the bug 🐞 Something isn't working label Oct 3, 2023
@lucassaldanha lucassaldanha self-assigned this Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants