zowe / zlux

The top-level superproject for zLUX. zLUX includes the Zowe Desktop framework in addition to several built-in apps and an example server implementation.
Eclipse Public License 2.0
39 stars 42 forks source link

Problem login into zowe desktop #676

Open ccc13481 opened 3 years ago

ccc13481 commented 3 years ago

Hi

I am trying to login to zowe desktop, but I get an error. I have look at (issue #499) and also tried that approch.

The error I'm getting is: Error: connect ECONNREFUSED 127.0.0.1:7009
at TCPConnectWrap.afterConnect Ýas oncomplete¨ (net.js:1147:16) æ
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 7009
å

Error message on the login page is "Authentication failed for 1 types. Types: ["zss"]". Before trying the #499 the message was ".. for 3 types. Types: [zss...."

The ports have been changed and 7009 is the default 8544 and zowe is running from a VIPA addresse. z/OS 2.4 and ZOWE 1.22 (v. 1.22.0+20210602)

What to I need to collect of information to solve this?

BR Frank Allan Rasmussen Danske Bank

1000TurquoisePogs commented 3 years ago

In your log, do you have the message: ZWED5018I and ZWES1014I? Can you post those, as they help to know the overall configuration that could have failed here.

ccc13481 commented 3 years ago

Hi

ZWES1014I ZIS status - 'Ok' (name='ZWESIS_STD ', cmsRC='0', description='Ok', clientVersion='2')

WED5018I - Initializing with configuration:
æ
"productDir": "/Y/usr/lpp/zowe/zowe-1.22.0-runtime/components/app-server/share/zlux-app-server/defaults", "siteDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server/site",
"instanceDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server",
"groupsDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server/groups",
"usersDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server/users",
"pluginsDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server/plugins",
"node": æ
"rootRedirectURL": "/ZLUX/plugins/org.zowe.zlux.bootstrap/web/",
"allowInvalidTLSProxy": false,
"noChild": false,
"noPrompt": false,
"https": æ
"ipAddresses": Ý
"0.0.0.0"
¨,
"port": 7009,
"keys": Ý
"/global/zowe/keystore/localhost/localhost.keystore.key"
¨,
"certificates": Ý
"/global/zowe/keystore/localhost/localhost.keystore.cer-ebcdic"
¨,
"certificateAuthorities": Ý
"/global/zowe/keystore/local_ca/localca.cer-ebcdic"
¨
å,
"mediationLayer": æ
"server": æ
"hostname": "zowegs.danskenet.net",
"port": 7001,
"isHttps": true,
"gatewayPort": 7002
å,
"enabled": true,
"cachingService": æ
"enabled": true
å
å,
"headers": æ
"X-frame-Options": æ
"override": true,
"value": "sameorigin"
å
å,
"hostname": "zowegs.danskenet.net"
å,
"dataserviceAuthentication": æ
"rbac": false,
"defaultAuthentication": "zss",
"implementationDefaults": æ
"saf": æ
"plugins": Ý
"org.zowe.zlux.auth.safsso"
¨
å
å å
å,
"agent": æ
"host": "zowegs.danskenet.net",
"jwt": æ
"token": æ
"name": 0,
"label": 0
å,
"fallback": true
å,
"https": æ
"ipAddresses": Ý
"127.0.0.1"
¨,
"port": 7010
å,
"mediationLayer": æ
"serviceName": "zss",
"enabled": true
å,
"http": æå
å,
"privilegedServerName": "ZWESIS_STD"
å ZWED5018I - Initializing with configuration:
æ
"productDir": "/Y/usr/lpp/zowe/zowe-1.22.0-runtime/components/app-server/share/zlux-app-server/defaults", "siteDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server/site",
"instanceDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server",
"groupsDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server/groups",
"usersDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server/users",
"pluginsDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server/plugins",
"node": æ
"rootRedirectURL": "/ZLUX/plugins/org.zowe.zlux.bootstrap/web/",
"allowInvalidTLSProxy": false,
"noChild": false,
"noPrompt": false,
"https": æ
"ipAddresses": Ý
"0.0.0.0"
¨,
"port": 7009,
"keys": Ý
"/global/zowe/keystore/localhost/localhost.keystore.key"
¨,
"certificates": Ý
"/global/zowe/keystore/localhost/localhost.keystore.cer-ebcdic"
¨,
"certificateAuthorities": Ý
"/global/zowe/keystore/local_ca/localca.cer-ebcdic"
¨
å,
"mediationLayer": æ
"server": æ
"hostname": "zowegs.danskenet.net",
"port": 7001,
"isHttps": true,
"gatewayPort": 7002
å,
"enabled": true,
"cachingService": æ
"enabled": true
å
å,
"headers": æ
"X-frame-Options": æ
"override": true,
"value": "sameorigin"
å
å,
"hostname": "zowegs.danskenet.net"
å,
"dataserviceAuthentication": æ
"rbac": false,
"defaultAuthentication": "zss",
"implementationDefaults": æ
"saf": æ
"plugins": Ý
"org.zowe.zlux.auth.safsso"
¨
å
å å,
"agent": æ
"host": "zowegs.danskenet.net",
"jwt": æ
"token": æ
"name": 0,
"label": 0
å,
"fallback": true
å,
"https": æ
"ipAddresses": Ý
"127.0.0.1"
¨,
"port": 7010
å,
"mediationLayer": æ
"serviceName": "zss",
"enabled": true
å,
"http": æå
å,
"privilegedServerName": "ZWESIS_STD"
å ZWED5018I - Initializing with configuration:
æ
"productDir": "/Y/usr/lpp/zowe/zowe-1.22.0-runtime/components/app-server/share/zlux-app-server/defaults",
"siteDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server/site",
"instanceDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server",
"groupsDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server/groups",
"usersDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server/users",
"pluginsDir": "/Y/usr/lpp/zowe/zowe-1.22.0-instance/workspace/app-server/plugins",
"node": æ
"rootRedirectURL": "/ZLUX/plugins/org.zowe.zlux.bootstrap/web/",
"allowInvalidTLSProxy": false,
"noChild": false,
"noPrompt": false,
"https": æ
"ipAddresses": Ý
"0.0.0.0"
¨,
"port": 7009,
"keys": Ý
"/global/zowe/keystore/localhost/localhost.keystore.key"
¨,
"certificates": Ý
"/global/zowe/keystore/localhost/localhost.keystore.cer-ebcdic"
¨,
"certificateAuthorities": Ý
"/global/zowe/keystore/local_ca/localca.cer-ebcdic"
¨
å,
"mediationLayer": æ
"server": æ
"hostname": "zowegs.danskenet.net",
"port": 7001,
"isHttps": true,
"gatewayPort": 7002
å,
"enabled": true,
"cachingService": æ
"enabled": true
å
å,
"headers": æ
"X-frame-Options": æ
"override": true,
"value": "sameorigin"
å
å,
"hostname": "zowegs.danskenet.net"
å,
"dataserviceAuthentication": æ
"rbac": false,
"defaultAuthentication": "zss",
"implementationDefaults": æ
"saf": æ
"plugins": Ý
"org.zowe.zlux.auth.safsso"
¨
å
å å,
"agent": æ
"host": "zowegs.danskenet.net",
"jwt": æ
"token": æ
"name": 0,
"label": 0
å,
"fallback": true
å,
"https": æ
"ipAddresses": Ý
"127.0.0.1"
¨,
"port": 7010
å,
"mediationLayer": æ
"serviceName": "zss",
"enabled": true
å,
"http": æå
å,
"privilegedServerName": "ZWESIS_STD"
å

BR Frank Allan Rasmussen Danske Bank

1000TurquoisePogs commented 3 years ago

Sorry for the wait and thanks for your patience. Would you like to try out this build of Zowe which includes the PR #321? This is a non-SMPE build: https://zowe.jfrog.io/zowe/libs-snapshot-local/org/zowe/1.23.0-PR-2277/zowe-1.23.0-pr-2277-1-20210804161808.pax But, I could make an SMPE one if you want. What it does: It eliminates the need for the server to contact "127.0.0.1:7009" in the first place, so the error should disappear. We're currently testing it and it would be included in Zowe v1.24.0 but that will not be released until next month, so this is a test build at the moment. Since it is a test build, I would not recommend installing it on top of an existing Zowe ROOT_DIR, but instead you could add it to your system as an additional ROOT_DIR. The same existing ESM permissions and users would be able to use both installs.