PowerCLI: The remote server returned an error: (503) Server Unavailable

A minap egy regi-uj hibaba botlottam. Futottak a szokasos PowerCLI scriptek, majd az egyik leallt a Copy-VMGuestFile-nal, ill. az Invoke-VMScript-nel a kovetkezo uzenettel:

00

“The remote server returned an error: (503) Server Unavailable.”

vpxd logjaban pedig a kovetkezok gyanusak:

2016-02-01T13:57:37.234+01:00 [17776 info 'commonvpxLro' opID=6ef0f51] [VpxLRO] -- BEGIN task-internal-25077927 -- -- vmodl.query.PropertyCollector.cancelWaitForUpdates -- d2f672f7-5ce3-95b5-150e-f02e57c7cd6f(52277eee-1be5-7744-4af6-5a5c63d765a1)
2016-02-01T13:57:37.234+01:00 [19516 error 'SoapAdapter.HTTPService'] Failed to read request; stream: <io_obj p:0x0000000030e040b8, h:22428, <TCP '127.0.0.1:8085'>, <TCP '127.0.0.1:59048'>>, error: class Vmacore::SystemException(An established connection was aborted by the software in your host machine)
2016-02-01T13:57:37.234+01:00 [17776 info 'commonvpxLro' opID=6ef0f51] [VpxLRO] -- FINISH task-internal-25077927 -- -- vmodl.query.PropertyCollector.cancelWaitForUpdates --

Aztan eszembe jutott hogy talalkoztam ezzel mar. Az oka, hogyha az IE-ben a proxy engedelyezett, akkor jon az 503. Igy kikapcsolas utan futnak a scriptek. Vagy, ha a proxy mindenkeppen szukseges, akkor a PowerCLI session-ben beallithato hogy ne hasznalja:

PowerCLI C:\> Set-PowerCLIConfiguration -ProxyPolicy NoProxy

Most mar orulunk, Vincent.

Advertisements
This entry was posted in Uncategorized and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s