<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://kb.sept.mcmaster.ca/wiki/index.php?action=history&amp;feed=atom&amp;title=WebView_Controls</id>
	<title>WebView Controls - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://kb.sept.mcmaster.ca/wiki/index.php?action=history&amp;feed=atom&amp;title=WebView_Controls"/>
	<link rel="alternate" type="text/html" href="http://kb.sept.mcmaster.ca/wiki/index.php?title=WebView_Controls&amp;action=history"/>
	<updated>2026-04-06T22:39:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>http://kb.sept.mcmaster.ca/wiki/index.php?title=WebView_Controls&amp;diff=291&amp;oldid=prev</id>
		<title>Boerj2 at 16:22, 1 December 2023</title>
		<link rel="alternate" type="text/html" href="http://kb.sept.mcmaster.ca/wiki/index.php?title=WebView_Controls&amp;diff=291&amp;oldid=prev"/>
		<updated>2023-12-01T16:22:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:22, 1 December 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l47&quot;&gt;Line 47:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 47:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:WebView with SSL enabled.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:WebView with SSL enabled.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== WebView is unable to be launched: ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;When trying to launch WebView from the Cogent DataHub properties window, error 2 occurs as below:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[File:Cogent DataHub Error 2.png]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==== Resolution: ====&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;See the section above on configurations for the web server. This occurs only when the web server is not correctly configured.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== WebView is unable to load controls: ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== WebView is unable to load controls: ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key sept_wiki-wiki_:diff::1.12:old-289:rev-291 --&gt;
&lt;/table&gt;</summary>
		<author><name>Boerj2</name></author>
	</entry>
	<entry>
		<id>http://kb.sept.mcmaster.ca/wiki/index.php?title=WebView_Controls&amp;diff=289&amp;oldid=prev</id>
		<title>Boerj2: Created page with &quot;== Errors: ==  === WebView is unable to connect to the server: === When launching WebView, the background is white and the HMI software shows a yellow exclamation mark as below:  File:WebView connection settings - Connection failure.png  ==== Resolution: ====  ===== Without SSL: =====  # Close WebView  # Open Cogent DataHub properties # Uncheck the &#039;&#039;Act as a web server&#039;&#039; checkbox # Change the port to 8085 # Uncheck the &#039;&#039;Use secure sockets (SSL)&#039;&#039; checkbox # Click &#039;...&quot;</title>
		<link rel="alternate" type="text/html" href="http://kb.sept.mcmaster.ca/wiki/index.php?title=WebView_Controls&amp;diff=289&amp;oldid=prev"/>
		<updated>2023-12-01T16:17:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Errors: ==  === WebView is unable to connect to the server: === When launching WebView, the background is white and the HMI software shows a yellow exclamation mark as below:  &lt;a href=&quot;/wiki/File:WebView_connection_settings_-_Connection_failure.png&quot; title=&quot;File:WebView connection settings - Connection failure.png&quot;&gt;File:WebView connection settings - Connection failure.png&lt;/a&gt;  ==== Resolution: ====  ===== Without SSL: =====  # Close WebView  # Open Cogent DataHub properties # Uncheck the &amp;#039;&amp;#039;Act as a web server&amp;#039;&amp;#039; checkbox # Change the port to 8085 # Uncheck the &amp;#039;&amp;#039;Use secure sockets (SSL)&amp;#039;&amp;#039; checkbox # Click &amp;#039;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Errors: ==&lt;br /&gt;
&lt;br /&gt;
=== WebView is unable to connect to the server: ===&lt;br /&gt;
When launching WebView, the background is white and the HMI software shows a yellow exclamation mark as below:&lt;br /&gt;
&lt;br /&gt;
[[File:WebView connection settings - Connection failure.png]]&lt;br /&gt;
&lt;br /&gt;
==== Resolution: ====&lt;br /&gt;
&lt;br /&gt;
===== Without SSL: =====&lt;br /&gt;
&lt;br /&gt;
# Close WebView &lt;br /&gt;
# Open Cogent DataHub properties&lt;br /&gt;
# Uncheck the &amp;#039;&amp;#039;Act as a web server&amp;#039;&amp;#039; checkbox&lt;br /&gt;
# Change the port to 8085&lt;br /&gt;
# Uncheck the &amp;#039;&amp;#039;Use secure sockets (SSL)&amp;#039;&amp;#039; checkbox&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;Apply&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Check the &amp;#039;&amp;#039;Act as a webserver&amp;#039;&amp;#039; checkbox &lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039; (This closes the properties window)&lt;br /&gt;
# Launch WebView again&lt;br /&gt;
# Click the dropdown button for Advanced settings&lt;br /&gt;
# Change the port to the port that was entered i.e. 8085&lt;br /&gt;
# Uncheck the &amp;#039;&amp;#039;Use HTTPS&amp;#039;&amp;#039; checkbox&lt;br /&gt;
# The background should appear alongside a green checkmark as below:&lt;br /&gt;
&lt;br /&gt;
[[File:WebView port correction without SSL.png]]&lt;br /&gt;
&lt;br /&gt;
===== With SSL : =====&lt;br /&gt;
&lt;br /&gt;
# Close WebView &lt;br /&gt;
# Open Cogent DataHub properties&lt;br /&gt;
# Uncheck the &amp;#039;&amp;#039;Act as a web server&amp;#039;&amp;#039; checkbox&lt;br /&gt;
# Change the port to 8443&lt;br /&gt;
# Check the &amp;#039;&amp;#039;Use secure sockets (SSL)&amp;#039;&amp;#039; checkbox&lt;br /&gt;
# Ensure that the SSL Certificate file is:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
C:\Program Files\Cogent\Cogent DataHub\Plugin\WebServer\etc\datahub.pem&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
# Click on &amp;#039;&amp;#039;&amp;#039;Apply&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Check the &amp;#039;&amp;#039;Act as a web server&amp;#039;&amp;#039; checkbox&lt;br /&gt;
# Click on &amp;#039;&amp;#039;&amp;#039;OK&amp;#039;&amp;#039;&amp;#039; (This will close the properties)&lt;br /&gt;
# Launch WebView again&lt;br /&gt;
# Click the dropdown button for Advanced settings&lt;br /&gt;
# Change the port to the port that was entered i.e. 8443&lt;br /&gt;
# Check the &amp;#039;&amp;#039;Use HTTPS&amp;#039;&amp;#039; checkbox&lt;br /&gt;
# Check the &amp;#039;&amp;#039;Accept Untrusted Certificates&amp;#039;&amp;#039; checkbox&lt;br /&gt;
# The background should appear alongside a green checkmark as below:&lt;br /&gt;
&lt;br /&gt;
[[File:WebView with SSL enabled.png]]&lt;br /&gt;
&lt;br /&gt;
=== WebView is unable to load controls: ===&lt;br /&gt;
There is an error loading WebView HMI software showing the notification below:&lt;br /&gt;
&lt;br /&gt;
[[File:WebView Controls loading Failure.png]]&lt;br /&gt;
&lt;br /&gt;
==== Resolution ====&lt;br /&gt;
&lt;br /&gt;
# Click ok on all notifications &lt;br /&gt;
# Close WebView&lt;br /&gt;
# Open the Cogent DataHub properties&lt;br /&gt;
# Set the Document root directory to:&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
C:\Program Files\Cogent\Cogent DataHub\plugin\WebServer\html&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
# Click OK (This closes Cogent DataHub Properties)&lt;br /&gt;
# Launch WebView again&lt;br /&gt;
# Log in using the provided credentials&lt;br /&gt;
&lt;br /&gt;
=== Successful configuration example: ===&lt;br /&gt;
[[File:WebView Successful configuration .png]]&lt;br /&gt;
&lt;br /&gt;
===== SSL Disabled configuration =====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Port&amp;#039;&amp;#039;&amp;#039;: 8085&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;SSL&amp;#039;&amp;#039;&amp;#039;: Unchecked&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Root Directory&amp;#039;&amp;#039;&amp;#039;: C:\Program Files\Cogent\Cogent DataHub\plugin\WebServer\html&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Error Log&amp;#039;&amp;#039;&amp;#039;: C:\Users\&amp;#039;&amp;#039;MacID&amp;#039;&amp;#039;\AppData\Roaming\Cogent DataHub\log\error.log&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Access Log&amp;#039;&amp;#039;&amp;#039;: C:\Users\&amp;#039;&amp;#039;MacID&amp;#039;&amp;#039;\AppData\Roaming\Cogent DataHub\log\access.log&lt;br /&gt;
&lt;br /&gt;
===== SSL Enabled Configuration: =====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Port&amp;#039;&amp;#039;&amp;#039;: 8443&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;SSL&amp;#039;&amp;#039;&amp;#039;: Checked&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Root Directory&amp;#039;&amp;#039;&amp;#039;: C:\Program Files\Cogent\Cogent DataHub\plugin\WebServer\html&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Error Log&amp;#039;&amp;#039;&amp;#039;: C:\Users\&amp;#039;&amp;#039;MacID&amp;#039;&amp;#039;\AppData\Roaming\Cogent DataHub\log\error.log&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Access Log&amp;#039;&amp;#039;&amp;#039;: C:\Users\&amp;#039;&amp;#039;MacID&amp;#039;&amp;#039;\AppData\Roaming\Cogent DataHub\log\access.log&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;SSL Certificate File&amp;#039;&amp;#039;&amp;#039;: C:\Program Files\Cogent\Cogent DataHub\Plugin\WebServer\etc\datahub.pem&lt;br /&gt;
&lt;br /&gt;
 Note: Replace &amp;#039;&amp;#039;MacID &amp;#039;&amp;#039;&amp;#039;with your&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; MacID&lt;/div&gt;</summary>
		<author><name>Boerj2</name></author>
	</entry>
</feed>