Downloading InstallOSX_10.11.1_15B42-10.11.1.dmg...
0. Download error -1001: The request timed out.
Headers: {u'Content-Length': u'6171214406', u'Accept-Ranges': u'bytes', u'Keep-Alive': u'timeout=5, max=94', u'Server': u'Apache/2.4.7 (Ubuntu)', u'Last-Modified': u'Fri, 30 Oct 2015 12:56:39 GMT', u'Connection': u'Keep-Alive', u'Etag': u'"16fd54246-52351f5570fc0"', u'Date': u'Wed, 25 Nov 2015 15:27:10 GMT', u'Content-Type': u'application/x-apple-diskimage'}
WARNING: Download of InstallOSXElcap failed: Error -1001: The request timed out.
/var/log/apache2/
You will want to look in your apache logs on your server, by default located at:
/var/log/apache2/
Start in your logs, then start playing with changing your settings one at a time.
Your two error codes (-1001, and -1005) are directly related to your server configuration. How you fix this will require testing in your environment as server RAM, server upload bandwidth, and client download bandwidth will all play variables in this issue.
My recommendation would be try using the "mod_reqtimeout" module from apache to increase the timeout or throttle the connection. This article goes over the details: http://httpd.apache.org/docs/2.2/mod/mod_reqtimeout.html
Our main repo is also on a virtual
Munki log
Dec 14 2015 11:43:10 +0100 Downloading InstallOSX_10.11.1_15B42-10.11.1.dmg from apple/osx/InstallOSX_10.11.1_15B42-10.11.1.dmg
Dec 14 2015 11:43:10 +0100 Downloading InstallOSX_10.11.1_15B42-10.11.1.dmg from apple/osx/InstallOSX_10.11.1_15B42-10.11.1.dmg
Dec 14 2015 11:43:10 +0100 Downloading InstallOSX_10.11.1_15B42-10.11.1.dmg...
Dec 14 2015 12:09:16 +0100 Download error -1001: The request timed out.
ping
Mon Dec 14 12:08:57 CET 2015: 64 bytes from IPv4:IPv4:IPv4:IPv4: icmp_seq=4098 ttl=56 time=3.562 ms
Mon Dec 14 12:08:58 CET 2015: 64 bytes from IPv4:IPv4:IPv4:IPv4: icmp_seq=4099 ttl=56 time=27.030 ms
Mon Dec 14 12:08:59 CET 2015: 64 bytes from IPv4:IPv4:IPv4:IPv4: icmp_seq=4100 ttl=56 time=27.219 ms
Mon Dec 14 12:09:01 CET 2015: Request timeout for icmp_seq 4101
Mon Dec 14 12:09:02 CET 2015: Request timeout for icmp_seq 4102
Mon Dec 14 12:09:03 CET 2015: Request timeout for icmp_seq 4103
Mon Dec 14 12:09:04 CET 2015: Request timeout for icmp_seq 4104
Mon Dec 14 12:09:05 CET 2015: Request timeout for icmp_seq 4105
Mon Dec 14 12:09:06 CET 2015: Request timeout for icmp_seq 4106
Mon Dec 14 12:09:06 CET 2015: 64 bytes from IPv4:IPv4:IPv4:IPv4: icmp_seq=4101 ttl=56 time=6029.512 ms
Mon Dec 14 12:09:06 CET 2015: 64 bytes from IPv4:IPv4:IPv4:IPv4: icmp_seq=4102 ttl=56 time=5025.090 ms
Mon Dec 14 12:09:06 CET 2015: 64 bytes from IPv4:IPv4:IPv4:IPv4: icmp_seq=4103 ttl=56 time=4020.128 ms
Mon Dec 14 12:09:06 CET 2015: 64 bytes from IPv4:IPv4:IPv4:IPv4: icmp_seq=4104 ttl=56 time=3015.901 ms
Mon Dec 14 12:09:06 CET 2015: 64 bytes from IPv4:IPv4:IPv4:IPv4: icmp_seq=4105 ttl=56 time=2015.036 ms
Mon Dec 14 12:09:06 CET 2015: 64 bytes from IPv4:IPv4:IPv4:IPv4: icmp_seq=4106 ttl=56 time=1009.890 ms
Mon Dec 14 12:09:06 CET 2015: 64 bytes from IPv4:IPv4:IPv4:IPv4: icmp_seq=4107 ttl=56 time=6.099 ms
Mon Dec 14 12:09:07 CET 2015: 64 bytes from IPv4:IPv4:IPv4:IPv4: icmp_seq=4108 ttl=56 time=5.238 ms
Mon Dec 14 12:09:08 CET 2015: 64 bytes from IPv4:IPv4:IPv4:IPv4: icmp_seq=4109 ttl=56 time=5.035 msOn Dec 14, 2015, at 4:19 PM, Michal Moravec <micha...@gmail.com> wrote:Hmm. Munki source ->There is connection_timeout with default of 10 in code/client/munkilib/gurl.pyThis value is passed to NSMutableURLRequest. It looks like seconds.As far as I can see there is currently no way to set connection_timeout apart from modifing magic constant in source.
Could be handy to be able to set connection_timeout in Munki preferences.Is this worth creating issue and possible pull request?
Correct procedure is probably to debug & fix wi-fi. However that may be tricky and increasing timeout could help us mitigating this issue.
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/5ab9bb55-48ee-41af-8784-5a0a305d7aa4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
time limit for establishing the initial connection.
If during a connection attempt the request remains idle for longer than the timeout interval, the request is considered to have timed out.
If during a connection attempt the request remains idle for longer than the timeout interval, the request is considered to have timed out. The default timeout interval is 60 seconds.
As a general rule, you should not use short timeout intervals. Instead, you should provide an easy way for the user to cancel a long-running operation. For more information, read Designing for Real-World Networks.
On Dec 14, 2015, at 4:34 PM, Michal Moravec <micha...@gmail.com> wrote:
If during a connection attempt the request remains idle for longer than the timeout interval, the request is considered to have timed out.
If during a connection attempt the request remains idle for longer than the timeout interval, the request is considered to have timed out. The default timeout interval is 60 seconds.
As a general rule, you should not use short timeout intervals. Instead, you should provide an easy way for the user to cancel a long-running operation. For more information, read Designing for Real-World Networks.
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/0e5bf111-7adc-466f-a10a-1c42c9014022%40googlegroups.com.
“connection attempt”: sounds like the initial _connection_ to me…
Ping
Tue Dec 15 11:13:11 CET 2015: 64 bytes from ipv4.ipv4.ipv4.ipv4: icmp_seq=6117 ttl=56 time=40.306 ms
Tue Dec 15 11:13:13 CET 2015: Request timeout for icmp_seq 6118 <- cable disconnect
Tue Dec 15 11:13:14 CET 2015: Request timeout for icmp_seq 6119
...
Tue Dec 15 11:13:31 CET 2015: Request timeout for icmp_seq 6136
Tue Dec 15 11:13:31 CET 2015: 64 bytes from ipv4.ipv4.ipv4.ipv4: icmp_seq=6137 ttl=56 time=24.714 ms <- cable reconnect
ManagedSoftwareUpdate.log
Dec 15 2015 11:12:56 +0100 Downloading InstallOSX_10.11.1_15B42-10.11.1.dmg from apple/osx/InstallOSX_10.11.1_15B42-10.11.1.dmg
Dec 15 2015 11:12:57 +0100 Downloading InstallOSX_10.11.1_15B42-10.11.1.dmg...
Dec 15 2015 11:13:22 +0100 Download error -1001: The request timed out.Ping
Tue Dec 15 11:35:55 CET 2015: 64 bytes from ipv4.ipv4.ipv4.ipv4: icmp_seq=154 ttl=56 time=35.478 ms
Tue Dec 15 11:35:57 CET 2015: Request timeout for icmp_seq 155 <- cable disconnect
Tue Dec 15 11:35:58 CET 2015: Request timeout for icmp_seq 156
....
Tue Dec 15 11:36:57 CET 2015: Request timeout for icmp_seq 215
ping: sendto: No route to host
....
Tue Dec 15 11:37:07 CET 2015: 64 bytes from ipv4.ipv4.ipv4.ipv4: icmp_seq=226 ttl=56 time=24.165 ms <- cable reconnect
ManagedSoftwareUpdate.log
Dec 15 2015 11:35:22 +0100 Downloading InstallOSX_10.11.1_15B42-10.11.1.dmg from apple/osx/InstallOSX_10.11.1_15B42-10.11.1.dmg
Dec 15 2015 11:35:22 +0100 Downloading InstallOSX_10.11.1_15B42-10.11.1.dmg...
Dec 15 2015 11:36:56 +0100 Download error -1001: The request timed out.--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/63c15793-a634-41dd-bb27-a487f73785df%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To post to this group, send email to munki-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/002d2be6-7403-4ca7-84da-94abb93e046f%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/C24ECE51-8401-4DF6-A9B3-02AA472A1C2F%40mac.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/CAB%3D%3DwoOXWSRx_KNBOvqgTxG8p83YiteyVNfv73COX_h6qsd_yw%40mail.gmail.com.