- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 10:04 AM
Hi Bharath,
That error normally means you're not able to reach VMware vCenter Server. Is the vCenter Server residing in a different datacenter? How are you connecting to it? What kinds of roles your credentials have?
A snapshot operation should not be any different from other vCenter operations (Start, Stop etc.), so I don't think there is something specific to snapshot that is causing an issue here. But of course, I can be more certain if I get more details.
-Badarinarayan Burli
Staff Engineer, Cloud Management.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2020 11:28 AM
Thanks for the reply.
Location of server residing is different, I have tried for both windows and Linux but no luck.
Regarding connection it's through our mid server to the server ip address.
Can you please provide me more info on what are required for snapshot operation or vcenter
operations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2020 08:28 AM
I was able to create snapshot after giving some roles to the service account at vmware , however
the ecc queue still returns error message as below.
java.rmi.RemoteException: An error occurred getting a response from the connection at url https://IP address /sdk; nested exception is: java.net.SocketTimeoutException: Read timed out at com.vmware.vim25.ws.WSClient.getInputStreamFromConnection(WSClient.java:197) at com.vmware.vim25.ws.WSClient.post(WSClient.java:171) at com.vmware.vim25.ws.WSClient.invoke(WSClient.java:91) at com.vmware.vim25.ws.VimStub.waitForUpdatesEx(VimStub.java:134) at com.vmware.vim25.mo.PropertyCollector.waitForUpdatesEx(PropertyCollector.java:119) at com.vmware.vim25.mo.ManagedObject.waitForValues(ManagedObject.java:373) at com.vmware.vim25.mo.Task.waitForMe(Task.java:95) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:292) at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2585) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85) at org.mozilla.javascript.gen.script_include_AVMWareVMProbe_10._c_anonymous_5(script_include:AVMWareVMProbe:152) at org.mozilla.javascript.gen.script_include_AVMWareVMProbe_10.call(script_include:AVMWareVMProbe) at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2651) at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) at org.mozilla.javascript.gen.script_include_VMWareSnapshotProbe_9._c_anonymous_2(script_include:VMWareSnapshotProbe:64) at org.mozilla.javascript.gen.script_include_VMWareSnapshotProbe_9.call(script_include:VMWareSnapshotProbe) at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2651) at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590) at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52) at org.mozilla.javascript.gen.script_include_VMWareSnapshotProbeV2_8._c_anonymous_1(script_include:VMWareSnapshotProbeV2:33) at org.mozilla.javascript.gen.script_include_VMWareSnapshotProbeV2_8.call(script_include:VMWareSnapshotProbeV2) at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2651) at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85) at org.mozilla.javascript.gen.script_include_AVMWareProbe_11._c_anonymous_3(script_include:AVMWareProbe:68) at org.mozilla.javascript.gen.script_include_AVMWareProbe_11.call(script_include:AVMWareProbe) at org.mozilla.javascript.ScriptRuntime.doCall2(ScriptRuntime.java:2651) at org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2590) at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85) at org.mozilla.javascript.gen.probe_VMWareSnapshotProbeV2_7._c_script_0(probe:VMWareSnapshotProbeV2:1) at org.mozilla.javascript.gen.probe_VMWareSnapshotProbeV2_7.call(probe:VMWareSnapshotProbeV2) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:563) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3429) at org.mozilla.javascript.gen.probe_VMWareSnapshotProbeV2_7.call(probe:VMWareSnapshotProbeV2) at org.mozilla.javascript.gen.probe_VMWareSnapshotProbeV2_7.exec(probe:VMWareSnapshotProbeV2) at com.service_now.mid.script.MIDScript.executeCompiledScript(MIDScript.java:223) at com.service_now.mid.script.MIDScript.evaluate(MIDScript.java:128) at com.service_now.mid.probe.JavascriptProbe.probe(JavascriptProbe.java:67) at com.service_now.mid.probe.AProbe.process(AProbe.java:96) at com.service_now.mid.queue_worker.AWorker.runWorker(AWorker.java:121) at com.service_now.mid.queue_worker.AWorkerThread.run(AWorkerThread.java:20) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:171) at java.net.SocketInputStream.read(SocketInputStream.java:141) at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) at sun.security.ssl.InputRecord.read(InputRecord.java:503) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933) at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587) at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263) at com.vmware.vim25.ws.WSClient.getInputStreamFromConnection(WSClient.java:184) ... 49 more " probe_time="10884" result_code="900000"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2020 08:49 AM
Hi Bharath,
The error is quite generic. It could be because,
1. DNS is not resolved. IP to FQDN or vice-versa is not mapped in DNS server.
2. vCenter is protected from external connections.
3. Firewall or VPN.
Are you able to ping vCenter IP from MID machine (Login to MID machine: windows or linux and try.)?
If so, can you try hitting the same URL in browser of MID? If it's linux, can you try VMware player?
Is your vCenter VM (Not the one of whom you're attempting a snapshot) connected to a private network?
Bottomline: a variety of things can stop you from connecting. From my experience, it's usually DNS. But other things are possible too.
Going by the error message it seems none of the ServiceNow components are involved.
Badari.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2020 11:49 AM
Hey Bharath -
Did you ever get the time out error response figured out? I'm running into the same exact issue. I have everything configured correctly, and can confirm that this activity is successfully creating snapshots in VMware, however I'm still getting the same error you are in the ECC Queue logs.
I opened a case with the vendor, waiting on them to respond now.
Thanks,
Patrick