Commit ed137b3
committed
Overcome "Connection Refused" on some operations
So some operations on Windows actually cause the WinRM service to become
unavailable for some time and WinRM currently cannot overcome this
problem. Since this is a real problem to us when e.g. installing SCVMM
on servers and we cannot influence the installer, here is the
work-around we implemented.
The current implementation simply tries 5 times with a 5 seconds delay,
but YMMV. Ideally this is configurable by the user, and future defaults
should be tested.1 parent b1a54bc commit ed137b3
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
192 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
193 | 204 | | |
194 | 205 | | |
195 | 206 | | |
| |||
0 commit comments