Provide a place to enter the proxy details

8 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 26 Jun 2013 Link to this post

    Hello everyone,

    In connection with this UserVoice idea, we want to suggest a workaround.

    Please override the “JustDecompile.exe.config”(located in the root folder of the JustDecompile.exe) using the shared content below. This way JustDecompile will be able to bypass the local proxy server, if any. Those configurations will tell JD to use the default proxy settings defined in the IE option panel.

    <?xml version="1.0"?>
    <configuration>
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
      </startup>
      <runtime>
        <loadFromRemoteSources enabled="true"/>
      </runtime>
      <system.serviceModel>
        <bindings>
          <basicHttpBinding>
            <binding name="BasicHttpBinding_IUpdatesService" />
          </basicHttpBinding>
        </bindings>
        <client>
              binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IUpdatesService"
              contract="Services.IUpdatesService" name="BasicHttpBinding_IUpdatesService" />
        </client>
      </system.serviceModel>
      <system.net>
        <defaultProxy enabled="true" useDefaultCredentials="true">
          <proxy autoDetect="True"/>
        </defaultProxy>
      </system.net>
    </configuration>

    Please let us know should you have any issues doing so.

    Best,
    The JustDecompile team
  2. Joerg
    Joerg avatar
    2 posts
    Member since:
    Oct 2011

    Posted 09 Dec 2013 Link to this post

    Looking into the .config file as it is installed with the current version (2013.3.1029.1) the section seems to be there already, however it does not work. Usage of or authentication still seems to fail against the company proxy, however browsing via IE works perfectly fine.

    The .config for version 2013.3.1029.1 looks like this:

    <?xml version="1.0"?>
    <configuration>
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
      </startup>
      <runtime>
        <loadFromRemoteSources enabled="true"/>
      </runtime>
      <system.serviceModel>
        <bindings>
          <basicHttpBinding>
            <binding name="BasicHttpBinding_IUpdatesService" />
          </basicHttpBinding>
        </bindings>
        <client>
              binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IUpdatesService"
              contract="Services.IUpdatesService" name="BasicHttpBinding_IUpdatesService" />
        </client>
      </system.serviceModel>
      <system.net>
        <defaultProxy enabled="true" useDefaultCredentials="true">
          <proxy autoDetect="True"/>
        </defaultProxy>
      </system.net>
    </configuration>

    Is there any other way to get this working?

    Thanks,
    -Jörg
  3. DevCraft banner
  4. Momchil
    Admin
    Momchil avatar
    31 posts

    Posted 11 Dec 2013 Link to this post

    Hi there,

    Could you please tell us what operating system do you use?

    Thanks.

    Regards,
    Momchil
    Telerik
    Tell us what you think about JustDecompile. Your opinion matters! You can use our forum, or our JustDecompile UserVoice website for feature requests.
  5. Joerg
    Joerg avatar
    2 posts
    Member since:
    Oct 2011

    Posted 11 Dec 2013 Link to this post

    Good morning Momchill,

    it's a Windows 7 64bit (Enterprise Edt)  machine.

    Best regards,
    -Jörg
  6. Momchil
    Admin
    Momchil avatar
    31 posts

    Posted 14 Dec 2013 Link to this post

    Hi there,

    could please try overriding the .config file with:

    <?xml version="1.0"?>
    <configuration>
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
      </startup>
      <runtime>
        <loadFromRemoteSources enabled="true"/>
      </runtime>
      <system.serviceModel>
        <bindings>
          <basicHttpBinding>
            <binding name="BasicHttpBinding_IUpdatesService" />
          </basicHttpBinding>
        </bindings>
        <client>
              binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IUpdatesService"
              contract="Services.IUpdatesService" name="BasicHttpBinding_IUpdatesService" />
        </client>
      </system.serviceModel>
      <system.net>
        <defaultProxy enabled="true" useDefaultCredentials="true">
          <proxy usesystemdefault="true"/>
        </defaultProxy>
      </system.net>
    </configuration>

    The only difference is in the <proxy autoDetect="True"/>
     line, which is replaced by <proxy usesystemdefault="true"/>.

    Thanks.

    Regards,
    Momchil
    Telerik
    Tell us what you think about JustDecompile. Your opinion matters! You can use our forum, or our JustDecompile UserVoice website for feature requests.
  7. Holger Boskugel
    Holger Boskugel avatar
    24 posts
    Member since:
    Apr 2012

    Posted 23 Jun 2014 Link to this post

    Hello,

    I'm working in a environment of a large international company. There I had to remove the XML-Element "proxy" in configuration to get update working.

    <?xml version="1.0"?>
    <configuration>
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
      </startup>
      <runtime>
        <loadFromRemoteSources enabled="true"/>
      </runtime>
      <system.serviceModel>
        <bindings>
          <basicHttpBinding>
            <binding name="BasicHttpBinding_IUpdatesService" />
          </basicHttpBinding>
        </bindings>
        <client>
              binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IUpdatesService"
              contract="Services.IUpdatesService" name="BasicHttpBinding_IUpdatesService" />
        </client>
      </system.serviceModel>
      <system.net>
        <defaultProxy enabled="true" useDefaultCredentials="true"/>
      </system.net>
    </configuration>


    Regards

    Holger
  8. Adrian
    Adrian avatar
    1 posts
    Member since:
    Jun 2011

    Posted 03 Feb 2015 Link to this post

    For me, I had to edit the config file to use an unauthenticated proxy, AND disable expect100Continue.
    It would be nice if the update noticed the changes to the config file and left them in place! 
    ...
      <system.net>
          
        <defaultProxy enabled="true" >
          <proxy autoDetect="false" proxyaddress="http://xxxxxxxxx:9999" />
        </defaultProxy>
         
        <settings>
          <servicePointManager expect100Continue="false" />
        </settings>
      </system.net>
  9. Alexander
    Admin
    Alexander avatar
    80 posts

    Posted 05 Feb 2015 Link to this post

    Hello Adrian,

    Thank you for your feedback. We will add this bug to our backlog.

    Please, update regularly and stay tuned.

    Regards,
    Alexander Dimitrov
    Telerik
Back to Top
DevCraft banner