TGHtmlBrowser doesnt open URL

_ROOT Version:6.14.00
_Platform:Ubuntu 16.04.4 LTS
_Compiler:gcc version 5.4.0

Dear Rooters,
I try in a root session:

TGHtmlBrowser ccc("")

and get a widget with:
RHTML cannot display the Webpage

with firefox the page works and TGHtmlBrowser
works with files.


Try with a URL without https, if it works then that means you’re missing OpenSSL…

Yes, why? For example, this URL works:

root [0] TGHtmlBrowser ccc("")
(TGHtmlBrowser &) Name: fHtmlBrowser2 Title: very simple html browser

So, you now confirm that ROOT cannot use “https”, even though it does have “ssl” among its features:

root-config --features | grep -i ssl
root-config --has-ssl

Wait, I’m rebuilding with ssl…
And all I can say for now is that it was the exact symptom I had on Windows when ROOT was built without OpenSSL…

this works for me also, with roots webpage (http://roo…)
I get: Moved permanently
clicking “here” I get same as before so smells like missin SSL

Oh I forgot:

 root-config --has-ssl


OK, you’re right, it doesn’t work. I’ll try to debug it

After looking back at the TGHtml code, I can confirm that https is not supported. I’m checking what amount of work it is to support https, I’ll keep you updated.

Cheers, Bertrand.

Hi Bertrand,
thank you for the answer.
I wouldnt care too much if would work,


Actually, more and more sites forbid http and enforce https.

The support for https will be added soon. It should be available in the next release.

Cheers, Bertrand.

Now commited in master (commit #55556e9)

1 Like

Hi Bertrand,
thank you, https works now,
One thing:
Closing the browser or the session doesnt end quite smoothly.
This doesnt depend on https.
I add a traceback: (3.9 KB)


Note that the problem that Otto describes now is not related to https. It exists also in old ROOT 5 versions (if the TGHtmlBrowser is created on the stack and you “close” its window, you’ll get “SIGSEGV” on ROOT’s exit, which would not appear if it was created on the heap).


Thanks for the info, I have also seen this behavior and I’ll fix asap.

Cheers, Bertrand

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.