After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 773920 - Could not load or add help system - TLS/SSL support not available; install glib-networking
Could not load or add help system - TLS/SSL support not available; install gl...
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Windows Installer
2.8.20
Other Windows
: Normal blocker
: 2.8
Assigned To: GIMP Bugs
Jernej Simončič
: 774140 775876 777859 778838 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-11-03 22:21 UTC by Bobinfan
Modified: 2017-05-10 20:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
List of packages needed for glib-networking on Windows, with links (5.90 KB, text/html)
2017-02-26 21:26 UTC, Edward E.
Details

Description Bobinfan 2016-11-03 22:21:40 UTC
I downloaded new GIMP and Help Files Install cleanly.  Ran GIMP loaded a picture sought help through F1.  Went to attempt load but failed giving message SSL/TSL support not available install glib networking.

I'm using chrome browser ver 54 latest build.  Which supports TSL but not SSL how do I get help to function through Gimp rather than setting it through separate browser tab.  

Is there a way have GIMP 2.8.2 look where the help files have been installed? I want to change preferences for location of help file.  I could not find any place to make those changes.

Windows 10 ver 1607 latest updates all installed.  New machine Intel core 5 with 8 g ram 1 T hard drive
Comment 1 Michael Schumacher 2016-11-04 09:17:31 UTC
Confirming.

So I guess the networking shipped with the GIMP Windows installer is not built with SSL/TLS support. 

We recently made the gimp.org sites HTTPS-only (including a http:// -> https:// redirect), https://docs.gimp.org is among those, and I am rather unwilling to compromise there. It works just fine when SSL/TLS support is available.

However, it thus seems as if your GIMP is still accessing the online help, and not the locally installed ones (unless some part of the process does access docs.gimp.org even if you set it to use the local files). 

This can be changed in the preferences, see the Help System section there. You can also tell it to use your web browser instead of GIMP's own help browser, this would be a workaround for the time being.
Comment 2 Michael Schumacher 2016-11-09 15:18:31 UTC
*** Bug 774140 has been marked as a duplicate of this bug. ***
Comment 3 Michael Schumacher 2016-12-11 18:38:18 UTC
*** Bug 775876 has been marked as a duplicate of this bug. ***
Comment 4 L. P. Luigi Espenlaub 2017-01-21 07:34:19 UTC
Still remains a problem 2017-01-20. 
Have tried to install the help several times in the last year, and simply gave up each time.
Lost a lot of time searching this time until I got to this bug.

I will try to suggest the following to the documentation group.

"After downloading and running the help installer, do the following to access the help installed on your computer
1. Select [Edit] > [Preferences] > [Help System]
2. If a local installation of the user manual is indicated, select "Use a locally installed copy" and "Web browser"
Comment 5 Jehan 2017-02-02 14:50:19 UTC
*** Bug 777859 has been marked as a duplicate of this bug. ***
Comment 6 Michael Schumacher 2017-02-10 13:16:43 UTC
Does this still happen with GIMP 2.8.20?
Comment 7 John Evans 2017-02-10 15:59:10 UTC
Installed 2.8.20 fine. But when accessing help still get the same error as previous version, but when changing Edit > Preferences > Help System settings to
"Use locally installed copy" and "web browser" it works again, same as previous versions.
Comment 8 Rich 2017-02-13 17:06:13 UTC
(In reply to L. P. Luigi Espenlaub from comment #4)
> Still remains a problem 2017-01-20. 
> Have tried to install the help several times in the last year, and simply
> gave up each time.
> Lost a lot of time searching this time until I got to this bug.
> 
> I will try to suggest the following to the documentation group.
> 
> "After downloading and running the help installer, do the following to
> access the help installed on your computer
> 1. Select [Edit] > [Preferences] > [Help System]
> 2. If a local installation of the user manual is indicated, select "Use a
> locally installed copy" and "Web browser"

This solution worked thank you!  Still learning but beginning to like Gimp!
Comment 9 Michael Schumacher 2017-02-17 19:43:28 UTC
*** Bug 778838 has been marked as a duplicate of this bug. ***
Comment 10 Edward E. 2017-02-26 21:26:26 UTC
Created attachment 346773 [details]
List of packages needed for glib-networking on Windows, with links

The problem here is simply missing packages in the official Windows installer. The help-browser and web-page plugins use webkit/libsoup, which is looking for glib-networking; when glib-networking and its dependencies are present, these plugins just work. (Although online help still won't work on XP, due to bug 777696.)

In the versions of the binaries included with GIMP for Windows, Webkit depends on libsoup, which depends on glib-networking, so I'm not sure how it got left out.

A google search found a post from a few weeks ago, http://gimpchat.com/viewtopic.php?f=9&t=15256, that has an interim fix for this problem. The author used DLLs from MSYS2, which work fine on 32-bit, but on IRC Michael Schumacher pointed out that the Windows installer has openSUSE mingw binaries. See the attachment for links to the package files (32 and 64-bit).

These 7 DLLs can be manually installed in probably any recent GIMP for Windows, at least until the next installer release. If you build GIMP yourself, simply making sure glib-networking is installed should be sufficient.

This is what I tested it on (someone else will have to test 64-bit):

XP SP3 32-bit: (except help plugin, see above)
  2.8.18 & 2.8.20 official (compact install)

Vista SP2 32-bit:
  2.8.20 official
Comment 11 John Swenson 2017-03-01 18:46:22 UTC
just installed gimp for windows and the help file,  can't get to help files  TLS/SSL support not available; install glib-networking
Comment 12 John Swenson 2017-03-01 18:49:42 UTC
(In reply to John Swenson from comment #11)
> just installed gimp for windows and the help file,  can't get to help files 
> TLS/SSL support not available; install glib-networking

found the settings in "preferences"  the web help isn't connecting but changed to the local install and it now works.
Comment 13 Michael Schumacher 2017-03-11 11:15:29 UTC
Elevating to blocker for a 2.8.22 installer.
Comment 14 Jehan 2017-05-10 20:17:45 UTC
Ok as discussed on IRC, I added a hard dependency on glib-networking. HTTPS should not be considered an option anymore nowadays, but the default for remote web files. Also the experience is significantly degraded for us not to make it optional.

commit bb196607693b2a8fa95f033966506cbf3c377d81
Author: Jehan <jehan@girinstud.io>
Date:   Wed May 10 21:56:58 2017 +0200

    configure: add hard dependency on glib-networking.
    
    Use a code test inspired by libsoup configure test.
    This is a hard dependency because HTTPS should not be considered an
    option anymore. Nowadays most websites will use HTTPS by default, HTTP
    gives SEO penalties and browsers are starting to display various
    security warnings on HTTP websites.
    Also the experience will be significantly degraded without SSL/TLS
    support since the help browser will fail to load the manual remotely,
    and opening various remote files on secure protocols will fail.
    Note: the test cannot be performed while cross-compiling. In this case,
    we will just display a warning for packagers to be at least well aware
    of this dependency.

 configure.ac | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)
Comment 15 Jehan 2017-05-10 20:28:56 UTC
Also on gimp-2-8 now:

commit 9eafce47fbe1ff47a058ca51304b33bfc8d25c3a
Author: Jehan <jehan@girinstud.io>
Date:   Wed May 10 22:25:06 2017 +0200

    Bug 773920 - Could not load or add help system - TLS/SSL support not...
    
    ... available; install glib-networking
    Mostly taken from commit bb196607693b2a8fa95f033966506cbf3c377d81,
    adding hard-dependency on glib-networking.
    The configure are now a bit different now, so it was just easier
    to copy-paste and fix rather than cherry-picking.
Comment 16 Michael Schumacher 2017-05-10 20:33:59 UTC
Please note that I explicitly intended this bug as a release blocker for a Windows installer package, to be closed once a installer package with this change is released and confirmed to work.

We have a similar bug about the same issue, I would have preferred to handle that solution there.
Comment 17 Jehan 2017-05-10 20:37:24 UTC
Oh sorry. I misunderstood. Should we reopen?