I can’t seem to get a Vaadin(7) BrowserFrame to open https sources, and am struggling to understand why that might be. With http:// sources the web page is opened just fine, but I just get a blank page when using a https://www.google.co.uk; tcpdump shows that the a request was served, but it’s not displayed in the browser window.
class BrowserWindow extends Window {
BrowserWindow(URI externalUri) {
center()
setClosable(false)
setDraggable(false)
setResizable(false)
setSizeFull()
setModal(true)
def ex = new ExternalResource(externalUri.toString())
BrowserFrame browser = new BrowserFrame("Browser", ex)
browser.setSizeFull()
content = browser
}
}
It works just fine with:
getUI().getCurrent().addWindow(new BrowserWindow("http://www.truespeed.com")
but not with
getUI().getCurrent().addWindow(new BrowserWindow("https://www.google.co.uk")
Does anyone know why that might be?