xrexis / procurement

Automatically exported from code.google.com/p/procurement
0 stars 0 forks source link

Error Checking for Update/Error creating the Web Proxy specified in the 'system.net/defaultProxy' configuration section #275

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NB: First check the wiki and existing issues!

What version of Procurement are you using? On what operating system?
1.54, Windows 7

What steps will reproduce the problem?
1. Opening up procurement, a window reading "error checking for updates, 
details logged to DebugInfo.log" will pop up. Here is the debug info:

System.Reflection.TargetInvocationException: An exception occurred during the 
operation, making the result invalid.  Check InnerException for exception 
details. ---> System.Net.WebException: An exception occurred during a WebClient 
request. ---> System.Configuration.ConfigurationErrorsException: Error creating 
the Web Proxy specified in the 'system.net/defaultProxy' configuration section. 
---> System.Net.Sockets.SocketException: The parameter is incorrect
   at System.Net.NetworkAddressChangePolled..ctor()
   at System.Net.AutoWebProxyScriptEngine.AutoDetector.Initialize()
   at System.Net.AutoWebProxyScriptEngine..ctor(WebProxy proxy, Boolean useRegistry)
   at System.Net.WebProxy.UnsafeUpdateFromRegistry()
   at System.Net.Configuration.DefaultProxySectionInternal..ctor(DefaultProxySection section)
   at System.Net.Configuration.DefaultProxySectionInternal.GetSection()
   --- End of inner exception stack trace ---
   at System.Net.Configuration.DefaultProxySectionInternal.GetSection()
   at System.Net.WebRequest.get_InternalDefaultWebProxy()
   at System.Net.HttpWebRequest..ctor(Uri uri, ServicePoint servicePoint)
   at System.Net.HttpRequestCreator.Create(Uri Uri)
   at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)
   at System.Net.WebClient.GetWebRequest(Uri address)
   at System.Net.WebClient.DownloadStringAsync(Uri address, Object userToken)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
   at Procurement.Utility.VersionChecker.client_DownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)

What is the expected output? What do you see instead?

I expect to be able to log in and use procurement. However, when I try to log 
in there is another error, which is detailed below.

Please provide any additional information below.

When I attempt to log in anyway, there is another error: 

Error creating the Web Proxy specified in the 'system.net/defaultProxy' 
configuration section.

I'd like to thank you for making this program, and appreciate any effort you 
make in order to improve it. I hope to hear from you soon

Original issue reported on code.google.com by Lam.Son7...@gmail.com on 28 Jun 2014 at 1:21

GoogleCodeExporter commented 9 years ago
Are you running Procurement from a network share or going through a proxy ie: 
have a proxy set in the settings file?

Thanks for the support, I'll endeavor to get your issue sorted.

Original comment by stickymaddness on 29 Jun 2014 at 10:59

GoogleCodeExporter commented 9 years ago
I have no experience with programming, but I think I am running Procurement 
through network share. I do not see a proxy set in my settings file. Here it is:

<?xml version="1.0" encoding="UTF-8"?>

-<Settings xsi:noNamespaceSchemaLocation="Settings.xsd" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-<Ratios>

<Orb ChaosAmount="450" OrbAmount="1" type="Mirror"/>

<Orb ChaosAmount="50" OrbAmount="1" type="Eternal"/>

<Orb ChaosAmount="0" OrbAmount="1" type="Imprint"/>

<Orb ChaosAmount="20" OrbAmount="1" type="Exalted"/>

<Orb ChaosAmount="8" OrbAmount="1" type="Divine"/>

<Orb ChaosAmount="2" OrbAmount="1" type="GemCutterPrism"/>

<Orb ChaosAmount="1" OrbAmount="2.5" type="Chisel"/>

<Orb ChaosAmount="2" OrbAmount="1" type="Regal"/>

<Orb ChaosAmount="1" OrbAmount="1" type="Chaos"/>

<Orb ChaosAmount="1" OrbAmount="1" type="Regret"/>

<Orb ChaosAmount="1" OrbAmount="2" type="Blessed"/>

<Orb ChaosAmount="1" OrbAmount="2.5" type="Scouring"/>

<Orb ChaosAmount="1" OrbAmount="2.5" type="Fusing"/>

<Orb ChaosAmount="1" OrbAmount="2.5" type="Alchemy"/>

<Orb ChaosAmount="1" OrbAmount="40" type="AlchemyShard"/>

<Orb ChaosAmount="1" OrbAmount="8" type="Chance"/>

<Orb ChaosAmount="1" OrbAmount="10" type="JewelersOrb"/>

<Orb ChaosAmount="1" OrbAmount="20" type="Alteration"/>

<Orb ChaosAmount="1" OrbAmount="20" type="Chromatic"/>

<Orb ChaosAmount="1" OrbAmount="1" type="VaalOrb"/>

</Ratios>

-<PopularGems>

<Gem name="Cast when Damage Taken"/>

<Gem name="Cast On Critical Strike"/>

<Gem name="Blood Magic"/>

<Gem name="Item Quantity"/>

<Gem name="Life Gain on Hit"/>

<Gem name="Life Leech"/>

<Gem name="Multistrike"/>

<Gem name="Reduced Mana"/>

<Gem name="Spell Totem"/>

<Gem name="Chain"/>

<Gem name="Faster Attacks"/>

<Gem name="Greater Multiple Projectiles"/>

<Gem name="Lesser Multiple Projectiles"/>

<Gem name="Added Chaos Damage"/>

<Gem name="Item Rarity"/>

<Gem name="Concentrated Effect"/>

<Gem name="Elemental Hit"/>

<Gem name="Elemental Proliferation"/>

<Gem name="Elemental Weakness"/>

<Gem name="Multistrike"/>

<Gem name="Temporal Chains"/>

<Gem name="Faster Casting"/>

</PopularGems>

-<UserSettings>

<Setting name="AccountLogin" value=""/>

<Setting name="AccountPassword" value=""/>

<Setting name="UseSessionID" value="false"/>

<Setting name="FavoriteLeague" value=""/>

<Setting name="FavoriteCharacter" value=""/>

<Setting name="CompactMode" value="false"/>

<Setting name="DownloadOnlyMyLeagues" value="false"/>

<Setting name="DownloadOnlyMyCharacters" value="false"/>

<Setting name="CurrencyDistributionMetric" value="Chaos"/>

<Setting name="EmbedBuyouts" value="True"/>

<Setting name="BuyoutItemsOnlyVisibleInBuyoutsTag" value="False"/>

<Setting name="OnlyDisplayBuyouts" value="false"/>

<Setting name="CheckForUpdates" value="True"/>

</UserSettings>

-<ProxySettings>

<Setting name="Enabled" value="False"/>

<Setting name="Username" value=""/>

<Setting name="Password" value=""/>

<Setting name="Domain" value=""/>

</ProxySettings>

-<Lists>

-<List name="MyLeagues">

<Item value="Standard"/>

<Item value="Hardcore"/>

<Item value="Invasion"/>

<Item value="Ambush"/>

</List>

-<List name="MyTabs">

<!--If you only want Procurement to download specific tabs list them here, eg 
:-->

<!--<Item value="Shop" />-->

</List>

-<List name="MyCharacters">

<!--If you only want Procurement to download specific characters list them 
here, eg :-->

<!--<Item value="SomeCharacter" />-->

</List>

-<List name="AdditionalTemplates">

<!--Add yours own templates here. Eg-->

<!--<Item value="LvlingShop.txt"/>-->

</List>

<List name="IgnoreTabsInRecipes"/>

</Lists>

</Settings>

I apologize for any inconveniences.

Original comment by Lam.Son7...@gmail.com on 2 Jul 2014 at 12:19

GoogleCodeExporter commented 9 years ago
Are you still experiencing this issue? 

What I meant by a "network share" was if you were downloading Procurement on 
and then running it from another pc, but from the drive on the pc you 
downloaded it from, or from a flash drive. 

Original comment by stickymaddness on 6 Jul 2014 at 11:39

GoogleCodeExporter commented 9 years ago
Closing due to inactivity

Original comment by stickymaddness on 25 Jul 2014 at 9:14