<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Windows/IIS Reverse Proxy for GeoEvent WebSocket in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/windows-iis-reverse-proxy-for-geoevent-websocket/m-p/25358#M83</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is rather&amp;nbsp;a&amp;nbsp;quick write up / instructions-set then a question. It took me quite a while to make IIS to act as reverse proxy to process websocket requests for GeoEvent extension and I am sharing my experience here to help the larger community. I am mentioning a couple of people here who might find this post particularly useful: &lt;A href="https://community.esri.com/migrated-users/6746"&gt;Marc Graham&lt;/A&gt;‌ and &lt;A href="https://community.esri.com/migrated-users/44379"&gt;RJ Sunderman&lt;/A&gt;‌ . Please feel free to modify/improve this write up--this is really a quick job--with at least possibly grammar errors &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some background info:&lt;/P&gt;&lt;P&gt;1) For general info on ArcGIS Reverse Proxy setup, please refer to:&amp;nbsp;&lt;A class="link-titled" href="http://support.esri.com/technical-article/000011685" title="http://support.esri.com/technical-article/000011685"&gt;How To: Set up a reverse proxy with ArcGIS 10.1 for Server on IIS ARR&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) For GeoEvent extension's Reverse Proxy setup, please refer to:&amp;nbsp;&lt;A href="https://community.esri.com/community/gis/enterprise-gis/geoevent/blog/2016/02/05/using-iis-application-request-routing-arr-to-proxy-geoevent-stream-services"&gt;https://community.esri.com/community/gis/enterprise-gis/geoevent/blog/2016/02/05/using-iis-application-request-routing-arr-to-proxy-geoevent-stream-services&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My setup (a development setup!):&lt;/P&gt;&lt;P&gt;1) Windows 10 Pro running IIS 10 with the latest ARR installed (I think via the Web Platform installer--it's important because the standalone ARR/URL Rewrite on Microsoft site **seems** to have some problems).&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) A&amp;nbsp;VM running&amp;nbsp;ArcGIS 10.3.1 Server with&amp;nbsp;the GeoEvent extension and ArcGIS WebAdaptor&lt;/P&gt;&lt;P&gt;2b) Possibly NO network level port forwarding to the VM needed in this case? &amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Setup in IIS: See this screen cap: Pretty much sums up! Although I think the Rewrite rules&amp;nbsp;could be improved?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IIS Setup for GeoEvent Reverse Proxy" class="image-1 jive-image j-img-original" src="/legacyfs/online/243122_Image 1.png" style="width: 620px; height: 213px;" /&gt;&lt;/P&gt;&lt;P&gt;4) On the ArcGIS Server VM, go to:&amp;nbsp;&lt;A class="link-titled" href="http://localhost:6080/arcgis/admin/system/properties" title="http://localhost:6080/arcgis/admin/system/properties"&gt;http://localhost:6080/arcgis/admin/system/properties&lt;/A&gt;&amp;nbsp;and enter:&amp;nbsp;{"WebSocketContextURL": "ws://dev.myfqdn.com:6180"} . Note, the because in step #1 above, per the screen cap, there is a Server Farm entry for port 6180 this works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And that's it! In any client/javascript applications, to point to, say a streaming service, put in:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://dev.myfqdn.com/arcgis/rest/services/issmon3/StreamServer" title="http://dev.myfqdn.com/arcgis/rest/services/issmon3/StreamServer"&gt;http://dev.myfqdn.com/arcgis/rest/services/issmon3/StreamServer&lt;/A&gt;&amp;nbsp; and it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this setup, there is no need to instal Nginx on Windows: IIS's newer ARR/Url-rewrite module are able to handle Websocket requests fine. Also, any changes to the Url-ReWrite rules are reflected/processed immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, this write up is for a non-secure setup; for a secure setup, you will have to&amp;nbsp;at least use&amp;nbsp;&lt;SPAN&gt;"WebSocketContextURL": "wsS://dev.&lt;/SPAN&gt;&lt;SPAN&gt;myfqdn&lt;/SPAN&gt;&lt;SPAN&gt;.com:6180" along with SSL install and other changes in the Url Rewrite rules.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps someone!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Oct 2016 09:49:35 GMT</pubDate>
    <dc:creator>IrfanClemson</dc:creator>
    <dc:date>2016-10-11T09:49:35Z</dc:date>
    <item>
      <title>Windows/IIS Reverse Proxy for GeoEvent WebSocket</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/windows-iis-reverse-proxy-for-geoevent-websocket/m-p/25358#M83</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is rather&amp;nbsp;a&amp;nbsp;quick write up / instructions-set then a question. It took me quite a while to make IIS to act as reverse proxy to process websocket requests for GeoEvent extension and I am sharing my experience here to help the larger community. I am mentioning a couple of people here who might find this post particularly useful: &lt;A href="https://community.esri.com/migrated-users/6746"&gt;Marc Graham&lt;/A&gt;‌ and &lt;A href="https://community.esri.com/migrated-users/44379"&gt;RJ Sunderman&lt;/A&gt;‌ . Please feel free to modify/improve this write up--this is really a quick job--with at least possibly grammar errors &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some background info:&lt;/P&gt;&lt;P&gt;1) For general info on ArcGIS Reverse Proxy setup, please refer to:&amp;nbsp;&lt;A class="link-titled" href="http://support.esri.com/technical-article/000011685" title="http://support.esri.com/technical-article/000011685"&gt;How To: Set up a reverse proxy with ArcGIS 10.1 for Server on IIS ARR&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) For GeoEvent extension's Reverse Proxy setup, please refer to:&amp;nbsp;&lt;A href="https://community.esri.com/community/gis/enterprise-gis/geoevent/blog/2016/02/05/using-iis-application-request-routing-arr-to-proxy-geoevent-stream-services"&gt;https://community.esri.com/community/gis/enterprise-gis/geoevent/blog/2016/02/05/using-iis-application-request-routing-arr-to-proxy-geoevent-stream-services&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My setup (a development setup!):&lt;/P&gt;&lt;P&gt;1) Windows 10 Pro running IIS 10 with the latest ARR installed (I think via the Web Platform installer--it's important because the standalone ARR/URL Rewrite on Microsoft site **seems** to have some problems).&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) A&amp;nbsp;VM running&amp;nbsp;ArcGIS 10.3.1 Server with&amp;nbsp;the GeoEvent extension and ArcGIS WebAdaptor&lt;/P&gt;&lt;P&gt;2b) Possibly NO network level port forwarding to the VM needed in this case? &amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Setup in IIS: See this screen cap: Pretty much sums up! Although I think the Rewrite rules&amp;nbsp;could be improved?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IIS Setup for GeoEvent Reverse Proxy" class="image-1 jive-image j-img-original" src="/legacyfs/online/243122_Image 1.png" style="width: 620px; height: 213px;" /&gt;&lt;/P&gt;&lt;P&gt;4) On the ArcGIS Server VM, go to:&amp;nbsp;&lt;A class="link-titled" href="http://localhost:6080/arcgis/admin/system/properties" title="http://localhost:6080/arcgis/admin/system/properties"&gt;http://localhost:6080/arcgis/admin/system/properties&lt;/A&gt;&amp;nbsp;and enter:&amp;nbsp;{"WebSocketContextURL": "ws://dev.myfqdn.com:6180"} . Note, the because in step #1 above, per the screen cap, there is a Server Farm entry for port 6180 this works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And that's it! In any client/javascript applications, to point to, say a streaming service, put in:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://dev.myfqdn.com/arcgis/rest/services/issmon3/StreamServer" title="http://dev.myfqdn.com/arcgis/rest/services/issmon3/StreamServer"&gt;http://dev.myfqdn.com/arcgis/rest/services/issmon3/StreamServer&lt;/A&gt;&amp;nbsp; and it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this setup, there is no need to instal Nginx on Windows: IIS's newer ARR/Url-rewrite module are able to handle Websocket requests fine. Also, any changes to the Url-ReWrite rules are reflected/processed immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, this write up is for a non-secure setup; for a secure setup, you will have to&amp;nbsp;at least use&amp;nbsp;&lt;SPAN&gt;"WebSocketContextURL": "wsS://dev.&lt;/SPAN&gt;&lt;SPAN&gt;myfqdn&lt;/SPAN&gt;&lt;SPAN&gt;.com:6180" along with SSL install and other changes in the Url Rewrite rules.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps someone!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 09:49:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/windows-iis-reverse-proxy-for-geoevent-websocket/m-p/25358#M83</guid>
      <dc:creator>IrfanClemson</dc:creator>
      <dc:date>2016-10-11T09:49:35Z</dc:date>
    </item>
  </channel>
</rss>

