Errors when doing a Preview - Expected?

Bonita 7.0.2, Windows 10, Java 8-51

When I do a Preview of a new page (empty in this case) I get a series of errors as below, Chrome and Edge.

Is this expected or am I expecting too much (like in preview it would work)?

Thanks and regards
Seán

vendors-1438789960873.min.js:366 Opening Web Socket... vendors-1438789960873.min.js:393 Uncaught SyntaxError: Failed to construct 'WebSocket': The URL 'wsockets/426/w_wj4cw9/websocket' is invalid.y.websocket @ vendors-1438789960873.min.js:393y._try_next_protocol @ vendors-1438789960873.min.js:393y._didClose @ vendors-1438789960873.min.js:393f._ir.onfinish @ vendors-1438789960873.min.js:393f.emit @ vendors-1438789960873.min.js:393P.doXhr.f.onfinish @ vendors-1438789960873.min.js:393f.emit @ vendors-1438789960873.min.js:393u._start.g.xhr.onreadystatechange @ vendors-1438789960873.min.js:393 vendors-1438789960873.min.js:393 POST http://localhost:8080/designer/websockets/426/h_qn72hi/xhr_streaming 500 (Internal Server Error)u._start @ vendors-1438789960873.min.js:393(anonymous function) @ vendors-1438789960873.min.js:393 vendors-1438789960873.min.js:393 POST http://localhost:8080/designer/websockets/426/l8qm3nxq/xhr 500 (Internal Server Error)u._start @ vendors-1438789960873.min.js:393(anonymous function) @ vendors-1438789960873.min.js:393 vendors-1438789960873.min.js:366 Whoops! Lost connection to undefined vendors-1438789960873.min.js:130 error connecting to notifications web socket for topic /previewableUpdates

What generates this error, is that the vendors are getting the incomplete way. To eliminate this problem I edited the file to handle with this. Then edit the vendors-1472572145629.min.js file (you can rename it, just see the name of the browser by the browser name), which is in the folder C: \ {{pretty}} \ workspace \ tomcat \ webapps \ designer \ WEB -INF \ classes \ static \ js

Search for === “http” and change the method that addresses this question

var z = y.websocket = function(a, d) {
var e = this,
f = d + “/websocket”;
if(f.slice(0, 4) === “http”)
f.slice(0, 5) === “https” ? f = “wss” + f.slice(5) : f = “ws” + f.slice(4), e.ri = a, e.url = f;
else
f = ‘ws://’ + window.location.host + window.location.pathname.substring(0, window.location.pathname.indexOf(‘/’, 1) + 1) + f, e.ri = a, e.url = f;

	var g = b.WebSocket || b.MozWebSocket;
	e.ws = new g(e.url), e.ws.onmessage = function(a) {
		e.ri._didMessage(a.data)
	}, e.unload_ref = c.unload_add(function() {
		e.ws.close()
	}), e.ws.onclose = function() {
		e.ri._didMessage(c.closeFrame(1006, "WebSocket connection broken"))
	}
};

I’m going through a tutorial and am also having this error. Did you ever find a solution to it?