Duplicated
Last Updated: 21 Jan 2022 07:18 by ADMIN
John
Created on: 20 Jan 2022 17:33
Type: Bug Report
2
JustDecompile AutoUpdate Service and PluginManager Service Errors still present.

Progress/Telerik Team,

I am requesting this bug fix after reading many forum posts about it, and having myself been burdened by this issue for several years.  I posted a comment on another thread, but felt like I should start my own ticket. 

Here is the other thread, posted by Joe:

https://feedback.telerik.com/justdecompile/1536217-issue-with-justdecompile-telerik-com-domain

This is still happening after uninstalling all previous versions and doing a clean install from the Progress Control Panel on 01/20/2022. I have confirmed this issue on 2016 versions, 2017_2_706_0, and 2019_1_118_0. Like all the other posters, I have no proxies set up, just a straight up internet connection. Also, I can hit both of the services that are referenced in the JustDecompile.exe.config directly from a browser.

https://justdecompile.telerik.com/AutoUpdatesService/UpdatesService.svc

https://www.telerik.com/services/productversion/service.svc (NO METADATA)

 

There are 2 issues at play here.

 

Issue-01: (see: issue-01-on-just-decompile-load.png)

When opening JustDecompile, user receives the error message:

"Cannot connect to JustDecompile update server. Please check your internet connection or disable automatic updates to avoid further connection attempts."

So, of course, I can disable the automatic updates check (see: issue-01-workaround.png). This is merely a work-around to stop the messagebox from popping up. This is not a true fix. Also, this does not fix the second issue. When decompilng JustDecompile to attempt to find the issue, of course it is obfuscated. The exception is being thrown in the JustDecompile.AutoUpdates, Updater class, in the method:

        private void ™(string u009au0018, Dispatcher u0089u0018)
        {
            try
            {
                Updater updater = this;
                bool includeInternalBuildsWhenCheckForUpdates = .Settings.IncludeInternalBuildsWhenCheckForUpdates;
                bool flag = this..CheckForLatestOrInternalVersion(u009au0018, includeInternalBuildsWhenCheckForUpdates);
                this..™†(false).Wait();
                if (Updater..Count > 0)
                {
                    Updater..ForEach((Action<bool?> argument0) => argument0(new bool?((flag ? true : updater..HasAnyUpdates))));
                    Updater..Clear();
                }
                if (flag || this..HasAnyUpdates)
                {
                    this.‘(u0089u0018, .CurrentVersion.ToString(), true);
                }
                if (!flag)
                {
                    .Settings.LastFoundVersion = u009au0018;
                    .SaveSettings();
                }
            }
            catch (Exception exception)
            {
                Updater..ForEach((Action<bool?> argument1) => argument1(null));
                Updater..Clear();
                .BeginInvoke(() => {
                    StringBuilder stringBuilder = new StringBuilder();
                    stringBuilder.Append("Cannot connect to JustDecompile update server.").Append(Environment.NewLine).Append("Please, check your internet connection or disable automatic updates to avoid ").Append(Environment.NewLine).Append("further connection attempts.");
                    ToolWindow.Alert(stringBuilder.ToString());
                }, DispatcherPriority.Normal);
            }
            Updater. = false;
        }
 

Issue 02: (see: issue-02-on-plugins-manager-load.png)

When user opens Plugin Manager, user receives the error message:

"Cannot connect to JustDecompile server. Please check your internet connection. Could not establish secure channel for SSL/TLS with authority 'justdecompile.telerik.com'".

The relevant code is here. Again, it is obfuscated, so doesnt make too much sense, but it resides in the class labeled 'u009au0088' in what I speculate to be the ServerPluginsService, as it implements the IServerPluginsService.

        public void ›†(u0018u0086.œ† u009cu0086)
        {
            œˆ _u009cu0088 = this;
            int num = 0;
            if (2 != 0)
            {
                _u009cu0088.IsBusy = (bool)num;
            }
            else
            {
            }
            if (!u009cu0086.)
            {
                this.IsLoaded = true;
                this.‘ˆ(u009cu0086.);
                return;
            }
            StringBuilder stringBuilder = new StringBuilder();
            stringBuilder.Append("Cannot connect to JustDecompile server.").Append(Environment.NewLine).Append("Please, check your internet connection.").Append(Environment.NewLine).Append(u009cu0086..InnerException.Message);
            ToolWindow.Alert(stringBuilder.ToString());
        }

 

If you are having trouble finding it in your code, just do a search for "Cannot connect to" . There are also places in the code, where the 2 servers listed above are hardcoded, some with http:// and some with https:// Not sure if there could be a mismatch regarding what is hardcoded and what is in the config file.

Is this ever going to be fixed or should the community just deal with unresolved errors in the software we pay for? There are tons of forum posts about this dating back to 2013, 2017, and as recent as 2021, and all of the responses have been that you are aware of the problem and that a fix is planned. When is the fix planned for? "The near future"? Did you stop working on it completely. If so, then why is it still available in the Progress Control Panel? Can we ever expect this application to work correctly, as it used to?

 

https://www.telerik.com/forums/cannot-connect-to-justdecompile-server

https://www.telerik.com/forums/provide-a-place-to-enter-the-proxy-details

https://feedback.telerik.com/justdecompile/1470252-issue-with-justdecompile-telerik-com-domain

Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Nick Iliev
Posted on: 21 Jan 2022 07:18

Hello John,

 

The bug is logged here https://feedback.telerik.com/justdecompile/1536217-issue-with-justdecompile-telerik-com-domain 

Closing this one as a duplicate thread.

 

Regards,
Nick Iliev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.