_Platform:Ubuntu 16.04.4 LTS
_Compiler:gcc version 5.4.0
I try in a root session:
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…
root  TGHtmlBrowser ccc("https://root.cern.ch")
(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
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:
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.
thank you for the answer.
I wouldnt care too much if root.cern.ch 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.
Now commited in master (commit #55556e9)
thank you, https works now,
Closing the browser or the session doesnt end quite smoothly.
This doesnt depend on https.
I add a traceback:
root_6_15_01.bt.gz (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.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.