community
community copied to clipboard
Eureka failed to endpoint
Describe the bug
Usually after few minutes Eureka accepts the sessions But now the message appears all the time : (_zsf.apiml,EurekaClient.js:710) Eureka request failed to endpoint
Regardind to the log, I suppose a certificate problem. So I generate new cetificates with the the script zowe-setup-certificate.sh and the zowe-setup-certificate.env file. The result of the operation was "successfull". After restart ZOWE the problem occurs again.
Steps to Reproduce
- Try to connect to ZLUX
Expected behavior I would like to connect to ZLUX
Logs
Everytime I try to connect ZLUX, these messages appear in the log
2022-08-19 07:00:08.444 ZWED:189 ZWESVUS INFO (_zsf.auth,webauth.js:364) ZWED0070I - User=undefined (org.zowe.zlux.auth.trivial): Session authenticate successful. Plugin response: é"success":trueè
(node:189) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
Error: unable to get issuer certificate
at TLSSocket.onConnectSecure (_tls_wrap.js:1506:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:948:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12) é
code: 'UNABLE_TO_GET_ISSUER_CERT'
è
Details
z/OSMF 2.4.0/wlp-1.0.50.cl210320210309-1101 ZOWE version 1.27.1 nodejs version v12.18.0 java version J8.0_64
Regards Gilles Peniguel
@1000TurquoisePogs we believe this issue is as well app framework related, could you, please, have a look and eventually transfer to the appropriate repository?
I don't know which codebase the problem lies in, so I'll just move it to community for now.
@GilPen could you post or upload the output zowe-setup-certificate.sh please?
Hello
The log is in the attach files.
Regards Gilles zowe-setup-certificates-2022-08-30-08-40-34.log