Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Vcenter discovery failing Unable to establish connection to https://xx.xx.xx.xx/sdk: java.lang.NullPointerException: None of url, username can be null.

vamshi19
Tera Contributor

Hello All, 

 

I recently noticed that Vcenter discovery is getting failing for some of the Vcenters and getting. 

Unable to establish connection to https://xx.xx.x.x/sdk: java.lang.NullPointerException: None of url, username can be null. When I test the credentials I am getting Invalid target specified. 

find_real_file.png

I am using same credentials for all the Vcenters but its not working for only some Vcenters (using external credentials). 

any one faced same issue?

1 ACCEPTED SOLUTION
7 REPLIES 7

So, you are not trying with the mid server which has been installed at vCenter?

yes I am using the mid server which installed at vcenter. same mid servers are working from long time and suddenly stopped working. I just restarted the mid servers than it's started working. 

 

I think some process struck on the mid server. 

 

Thanks, 

Vamshi.

That's great Vamshi.

Glad that your issue got resolved.