VMware {code} Community
SANKAR39
Contributor
Contributor

UserSessionService serviceUrl does not provide the port details

In one of our vCenter's UserSessionService serviceUrl does not provide the port details...

What we expect is serviceUrl to be "https://<IP>:<Port>/sdk". Port mostly is 443. But what we get is "https://<IP>/sdk" (Just IP without port). We have written some code based on the port number. Any idea why would this happen. I have set up and if needed I can provide more details/ logs.

0 Kudos
1 Reply
Denis_Chorbadzh
VMware Employee
VMware Employee

Hi Sujeet,

 

We are also using UserSessionService in one of our sample plugins "html-sample" and I can see that the "serviceUrl" contains the port.

I recommend that you check the sample plugin's code and see if there is any difference to your code.

 

Best Regards,

Denis

0 Kudos