mid server auto upgrade

Krischan
Giga Guru

Hi everyone,

i have a problem with my midservers.
I have them running on a windows machine with a special service user.
I have setup with a webfilter proxy...
Now... My logfile of the midserver shows the error about unable to upgrade the server.

unfortunately I have little idea, what the problem is, because I already provided the config file with the proxy stuff:

         <!-- These parameters specify a proxy server the MID server will use BOTH for contacting
                       your Service-now instance AND for downloading upgrades. -->
 <!--
             <parameter name="mid.proxy.use_proxy" value="true"/>
             <parameter name="mid.proxy.host" value="fcc-webfilter.franke.world"/>
             <parameter name="mid.proxy.port" value="8080"/>
             -->
             <!-- Set these parameters ONLY if your proxy requires a user name and password. -->

 <parameter name="mid.proxy.username" value="<correct user here"/>
             <parameter name="mid.proxy.password" value="<correct password here>"/>

 
             <!-- These parameters specify a proxy server the MID server will use ONLY for
                       downloading upgrades. -->

             <parameter name="glide.mid.autoupgrade.proxy_host" value="fcc-webfilter.franke.world"/>
             <parameter name="glide.mid.autoupgrade.proxy_port" value="8080"/>

I am able to just login with the same user, open a browser and download the file with the same proxy configured.
But my MidServer log shows:


4/05/11 11:18:00 (110) MIDServer Upgrade host: http://install.service-now.com/glide/distribution/builds/mid/
04/05/11 11:18:00 (110) MIDServer Enabling monitor: AutoUpgrade
04/05/11 11:18:00 (110) MIDServer stats threads: 16, memory max: 508.0mb, allocated: 10.0mb, used: 3.0mb, queued: 0 probes, processing: 0 probes
04/05/11 11:18:00 (126) AutoUpgrade.3600 Checking to see if MID server needs to upgrade
04/05/11 11:18:00 (157) MIB Initializer Loading MIBs
04/05/11 11:18:00 (594) AutoUpgrade.3600 Instance MID version: 02-02-2011_1644, override: null
04/05/11 11:18:00 (594) AutoUpgrade.3600 ZIP FILE NAME: mid-02-02-2011_1644.upgrade.zip
04/05/11 11:18:00 (594) AutoUpgrade.3600 Current MID version: 09-30-2010_0830
04/05/11 11:18:00 (594) AutoUpgrade.3600 ZIP FILE NAME: mid-09-30-2010_0830.upgrade.zip
04/05/11 11:18:00 (594) AutoUpgrade.3600 Upgrading to zip file mid-02-02-2011_1644.upgrade.zip
04/05/11 11:18:00 (907) AutoUpgrade.3600 SEVERE *** ERROR *** Method failed: (http://install.service-now.com/glide/distribution/builds/mid/mid-02-02-2011_1644.upgrade.zip)HTTP/1.... 407 Proxy access denied with code: 407
04/05/11 11:18:00 (907) AutoUpgrade.3600 Download of mid-02-02-2011_1644.upgrade.zip failed, did not upgrade
1 REPLY 1

Not applicable

I think you should leave the 'glide.mid.autoupgrade.proxy_host' and 'glide.mid.autoupgrade.proxy_port' settings out of the config, as they appear to be the same as your main proxy.

As the comment says, "These parameters specify a proxy server the MID server will use ONLY for downloading upgrades." and, although I've not gone and checked the code, I suspect that it isn't using the 'mid.proxy.username'/ 'mid.proxy.password' values for that second proxy.