Update checks are not working on Windows

Issue #5168 open
Matt Harbison
created an issue

I've noticed this in the last several versions in the aboutbox, but it looks like it also affects the bug report dialog. Running from the command line with --nofork and opening the aboutbox says:

C:\Program Files\TortoiseHg>thg --nofork
qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_new
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_library_init
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error
qt.network.ssl: QSslSocket: cannot call unresolved function ERR_get_error

So maybe some OpenSSL library is missing? Hacking on about.py to not swallow exceptions shows:

    #!python
    ** Mercurial version (4.7+15-bd63ada7e1f8).  TortoiseHg version (4.7+11-5a3f7d594f04)
    ** Command: --nofork
    ** CWD: c:\Users\Matt\projects\thg
    ** Encoding: cp1252
    ** Extensions loaded: eol, rebase, convert, graphlog, patchbomb, extdiff, strip, mq, evolve, tortoisehg.util.configitems
    ** Python version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
    ** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
    ** Processor architecture: x64
    ** Qt-5.7.1 PyQt-5.7.1 QScintilla-2.9.4
    Traceback (most recent call last):
      File "c:\Users\Matt\projects\thg\tortoisehg\hgqt\about.py", line 157, in uFinished
        newverstr = f[0]
    IndexError: list index out of range

Comments (3)

  1. Matt Harbison reporter

    Digging into this a bit more, ProcessMonitor shows 2 successful TCP connections to bitbucket.io on the https port. But it doesn't show any send or receive attempts.

  2. Log in to comment