zlux icon indicating copy to clipboard operation
zlux copied to clipboard

zowe 2.0 on zOS: After zowe logon. Opening Jes Explorer prompts for userid and logon and getting Unexpected token < in JSON at position 0

Open Sathya755 opened this issue 2 years ago • 5 comments

Describe the bug Hi Team, We have recently installed Zowe 2.0 successfully on zOS. We are able to use Zowe Desktop at https://myhost:httpsPort/ and logon successfully. After logon selecting any option, say for eg. Jes Explorer prompts for userid and logon and getting Unexpected token < in JSON at position 0 after providing valid userid and password.

Can you please check and suggest. Please let me know if you need any other details.

Regards, Sathya

Screenshots

zowe error

Sathya755 avatar Jun 02 '22 10:06 Sathya755

When using the explorers, please access the Desktop from the gateway, https://myhost:httpsPort/zlux/ui/v1/

1000TurquoisePogs avatar Jul 07 '22 14:07 1000TurquoisePogs

Hello

Did you find the answer to your question ?

I have the same issue and I'd like to correct it.

And when I access from the gateway https://host:port/zlux/ui/v1

The answer is {"messages":[{"messageType":"ERROR","messageNumber":"ZWEAM104E","messageContent":"The endpoint you are looking for '/ZLUX/ui/v1' could not be located","messageAction":"Verify that the URL of the endpoint you are trying to reach is correct.","messageReason":"The endpoint you are looking for could not be located.","messageKey":"org.zowe.apiml.common.endPointNotFound"}]}

GilPen avatar Sep 02 '22 13:09 GilPen

You must use lowercase, it's https://myhost:httpsPort/zlux/ui/v1/ not https://myhost:httpsPort/ZLUX/ui/v1/

1000TurquoisePogs avatar Sep 23 '22 13:09 1000TurquoisePogs

Correction @GilPen, may not have been obvious from @1000TurquoisePogs 's answer but the "httpsPort" in: https://myhost:httpsPort/zlux/ui/v1/

is referring to the Gateway port. So please make sure you trying with the Gateway port, not the App server port. Once accessed the Desktop from the Gateway, you can click on the Explorers and they should work as intended now

DivergentEuropeans avatar Dec 06 '22 01:12 DivergentEuropeans

As @1000TurquoisePogs linked, he's working on making that redirect happen automatically so there's less future confusion

DivergentEuropeans avatar Dec 06 '22 01:12 DivergentEuropeans