<?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 ACI &amp; Websocket - Didn't switch protocols? in Controllers</title>
    <link>https://community.cisco.com/t5/controllers/aci-websocket-didn-t-switch-protocols/m-p/3546827#M331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to open a websocket connection to APIC Controller that results into an exception with "Didn't switch protocols".&amp;nbsp; I am using Jetty implementation for Java websocket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The websocket URL is of the form "wss://&amp;lt;URL&amp;gt;/socket&amp;lt;APIC-Cookie&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This result is observed if I had received APIC-Cookie along with APIC-Challenge during login request i.e., usage of "?gui-token-request=yes". The websocket connection succeeds if APIC-Challenge was not requested but as you know subscriptions requests require APIC-Challenge to be specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any experiences ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Harish Kamath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jan 2017 12:16:48 GMT</pubDate>
    <dc:creator>Harish.Kamath</dc:creator>
    <dc:date>2017-01-11T12:16:48Z</dc:date>
    <item>
      <title>ACI &amp; Websocket - Didn't switch protocols?</title>
      <link>https://community.cisco.com/t5/controllers/aci-websocket-didn-t-switch-protocols/m-p/3546827#M331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to open a websocket connection to APIC Controller that results into an exception with "Didn't switch protocols".&amp;nbsp; I am using Jetty implementation for Java websocket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The websocket URL is of the form "wss://&amp;lt;URL&amp;gt;/socket&amp;lt;APIC-Cookie&amp;gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This result is observed if I had received APIC-Cookie along with APIC-Challenge during login request i.e., usage of "?gui-token-request=yes". The websocket connection succeeds if APIC-Challenge was not requested but as you know subscriptions requests require APIC-Challenge to be specified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any experiences ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Harish Kamath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 12:16:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/aci-websocket-didn-t-switch-protocols/m-p/3546827#M331</guid>
      <dc:creator>Harish.Kamath</dc:creator>
      <dc:date>2017-01-11T12:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: ACI &amp; Websocket - Didn't switch protocols?</title>
      <link>https://community.cisco.com/t5/controllers/aci-websocket-didn-t-switch-protocols/m-p/4321386#M332</link>
      <description>&lt;P&gt;I have run into what appears to be the same issue: if I call api/aaaLogin.json including the&amp;nbsp;gui-token-request=yes parameter, I can no longer open a WebSocket connection (I receive a 404 error instead of the 101 success response code).&lt;/P&gt;&lt;P&gt;Is there a way to pass the APIC-challenge when creating the WebSocket or do I have to remove the gui-token-request=yes parameter to aaaLogin?&lt;/P&gt;&lt;P&gt;(This is an external application, so I assume api/requestAppToken.json is not an option.)&lt;/P&gt;</description>
      <pubDate>Sat, 10 Apr 2021 15:19:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/controllers/aci-websocket-didn-t-switch-protocols/m-p/4321386#M332</guid>
      <dc:creator>Ravu al Hemio</dc:creator>
      <dc:date>2021-04-10T15:19:08Z</dc:date>
    </item>
  </channel>
</rss>

