topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 18, 2024, 8:25 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: DcUpdater fails to check for updates  (Read 9636 times)

best1syn2oil

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3
    • View Profile
    • Donate to Member
DcUpdater fails to check for updates
« on: May 08, 2020, 06:59 PM »
Hi,  For at least the last week DcUpdater has failed each time to check for updates.  There is no error message, just the text in red saying it failed.  It seems more like a possible server issue than a software problem.

donw

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 20
    • View Profile
    • Donate to Member
Re: DcUpdater fails to check for updates
« Reply #1 on: May 09, 2020, 02:04 PM »
Happening to me as well. The text is "get version failed"

TurboJosh

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 13
  • Die hard Win32 fan - favorite OS are Win2K & WinXP
    • View Profile
    • PowerTunePlus
    • Donate to Member
Re: DcUpdater fails to check for updates [SOLVED!]
« Reply #2 on: May 20, 2020, 03:35 AM »
I SOLVED IT!

SOLUTION:
Simply download http://downloads.dla...SSL-zlib-x86-x64.zip and extract the 32-bit libcurl.dll and replace the one in your DcUppdater.exe directory. Badda bing, badda boom! Success on the very first try.

You can stop reading here.



Notes for ScreenshotCaptor Developers:

I just spent 1 hour fiercely attempting to debug this issue. I'm not really a software developer but I know enough. I found it's the 2010 version of libcurl.dll that DcUppdater.exe (yes a typo, 2 P's) uses lacks modern SSL support.

After MUCH ProcMon.exe trial and error with a dozen various copies of libcurl that all failed due to various OpenSSL certificate library issues and dozens of DLL dependencies, I finally found a version that works!! And it's all in 1 single file! (the http://downloads.dla...SSL-zlib-x86-x64.zip linked above)

From what I can tell, this build of libcurl is specially compiled to use Windows SSL support rather than the default OpenSSL libraries and files etc, which is why it's so conveniently self contained all in 1 DLL. I'm using Windows 7 64-bit (but DcUppdater.exe is 32-bit).

However, if you need to support older OS like XP that may possibly (?) lack the current SSL support, then the solution will be to use a modern build of libcurl.dll with OpenSSL support instead, as that completely bypasses using any Windows SSL support (which is why Firefox can still connect to SSL websites on Windows XP but Chrome cannot. Firefox uses their own OpenSSL support while Chrome depends on Windows's SSL support.)

Unfortunately I tried very hard, and still was unsuccessful in getting the OpenSSL version to work. (I didn't find the much simpler Windows SSL version until the end.) ProcMon showed it trying to open C:\Program Files (x86)\Common Files\SSL which did not exist, so I created it, then I tried adding the :

curl-ca-bundle.crt
and/or
cacert.pem (I think these 2 are the same file, simply renamed)

along with:

libcrypto-1_1.dll
libcurl.dll
libcurl-4.dll
libeay32.dll
libssl-1_1.dll
ssleay32.dll
zlib1.dll

Which got DcUppdater.exe to run but still had various errors depending which versions I tried. I found a number of libraries from searching my hard drive, along with some libcurl binary distributions online. Ultimately it kept trying to open an openssl.cnf and I copied one of those but that didn't work either and I reached a dead end, unless the solution was to edit the openssl.cnf to match the location of the cacert.pem which I did not try.

Josh

best1syn2oil

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3
    • View Profile
    • Donate to Member
Re: DcUpdater fails to check for updates
« Reply #3 on: May 20, 2020, 02:05 PM »
Yay! Thank you for your time in sorting this out.  I am guessing this is due to OS updates?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: DcUpdater fails to check for updates
« Reply #4 on: May 20, 2020, 08:04 PM »
Thank you for posting this! I will try to update the official version of DcUpdater asap.

imscottb

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 38
    • View Profile
    • Donate to Member
Re: DcUpdater fails to check for updates
« Reply #5 on: May 27, 2020, 06:15 PM »
I have replaced the libcurl.dll file but I still am getting the error.
 :( :( :( :( :(

imscottb

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 38
    • View Profile
    • Donate to Member
Re: DcUpdater fails to check for updates
« Reply #6 on: June 03, 2020, 11:35 AM »
Thank you. I tried again today and it now works. Last week I did replace the .dll file and I was still getting the error. I do not know why it is working today and not last week, but thankful it is working now.
I do appreciate your work always.

imscottb

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 38
    • View Profile
    • Donate to Member
Re: DcUpdater fails to check for updates
« Reply #7 on: July 05, 2020, 04:31 PM »
I am getting the error once again.  :huh:

imscottb

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 38
    • View Profile
    • Donate to Member
Re: DcUpdater fails to check for updates
« Reply #8 on: July 18, 2020, 12:08 PM »
I am STILL getting the error that DCUpdater cannot update any of the programs.
Anyone else experiencing this??