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

Add option to trace eureka registration #591

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

1000TurquoisePogs
Copy link
Member

@1000TurquoisePogs 1000TurquoisePogs commented Feb 10, 2025

Depends upon zowe/zlux-app-server#334

This PR adds the property components.app-server.node.mediationLayer.traceTls
It is used to set enableTrace from the NodeJS TLS level https://nodejs.org/api/tls.html#tlscreateserveroptions-secureconnectionlistener

This is needed because it seems to be the only way to get handshake tracing for NodeJS.
There's a previous property, components.app-server.node.https.enableTrace but it is only for inbound request from clients.
This new property allows you to trace the connection this server gives out to the discovery server, as an outbound request instead.
This can reveal the cause of low level networking issues if they arise.

How to test

Enabling components.app-server.node.mediationLayer.traceTls will show plenty of TLS handshake information during eureka registration. With it off (default), you should notice nothing different.

@1000TurquoisePogs 1000TurquoisePogs merged commit 8e9c236 into v2.x/staging Feb 10, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

2 participants