<?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 Re: WISPr NBI API problem (Bad request) in To Be Moved</title>
    <link>https://community.ruckuswireless.com/t5/To-Be-Moved/WISPr-NBI-API-problem-Bad-request/m-p/34375#M1811</link>
    <description>&lt;P style="margin: 0;"&gt;Hi,&lt;/P&gt;
&lt;P style="margin: 0;"&gt;1. you can create your own username/password pair for NBI.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;2. I did not mentioned any Radius configuration file. I am using external Radius server which has its own configuration, important is that your WLAN controller is in clients list and WC can verify its own clients on Radius.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 13:29:40 GMT</pubDate>
    <dc:creator>taras_taranenko</dc:creator>
    <dc:date>2021-04-06T13:29:40Z</dc:date>
    <item>
      <title>WISPr NBI API problem (Bad request)</title>
      <link>https://community.ruckuswireless.com/t5/To-Be-Moved/WISPr-NBI-API-problem-Bad-request/m-p/34372#M1808</link>
      <description>&lt;P alt="" name="" rel="" target="" title="" type="" value=""&gt;We are using Ruckus Virtual Smartzone High Scale controller&lt;BR /&gt;      ver.5.1.1.0.589.&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      We are trying to setup Hotspot WISPr with the custom Login portal
      and Radius Auth according to next docs:&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    &lt;/P&gt;
    &lt;A alt="" href="https://docs.arris.com/bundle/sz-511-wisprportalreferenceguide-sz300,vsz/page/GUID-AE85F41D-45AB-41EA-B803-1776A490A6B2-homepage.html" name="" rel="nofollow" target="" title="" type="" value=""&gt;https://docs.arris.com/bundle/sz-511-wisprportalreferenceguide-sz300,vsz/page/GUID-AE85F41D-45AB-41EA-B803-1776A490A6B2-homepage.html&lt;/A&gt;&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    &lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      We have enabled "Northbound Portal Interface Support" with certain
      username/password (system-wide, no partner configuration).&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      Additionally we configured Hotspot (WISPr) at Services &amp;amp;
      Profiles -&amp;gt; Hotspot and Portals and Non-Proxy (AP
      Authentificator) with Radius settings.&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      WLAN was configured to use Authentification Options -&amp;gt; Hotspot
      (WISPr) and assigned to correct Hotspot portal.&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      After customer device connecting to AP it was successfully
      redirected to login page and we on our web-portal reeving all
      needed data for authorization process:&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    &lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    (&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [nbiIP] =&amp;gt; 192.168.210.22&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [loc] =&amp;gt; xxx&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [client_mac] =&amp;gt; ENCa13yy&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [reason] =&amp;gt; Un-Auth-Captive&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [wlanName] =&amp;gt; XX-Cloud-Wifi&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [dn] =&amp;gt; scg.ruckuswireless.com&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [ssid] =&amp;gt; XX-Cloud-Wifi&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [mac] =&amp;gt; xx:xx&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [url] =&amp;gt; &lt;A alt="" href="http://de.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease" name="" rel="nofollow" target="" title="" type="" value=""&gt;http://de.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease&lt;/A&gt;&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [proxy] =&amp;gt; 0&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [vlan] =&amp;gt; 1&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [wlan] =&amp;gt; 1&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [sip] =&amp;gt; scg.ruckuswireless.com&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [zoneName] =&amp;gt; rxxxxx&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [apip] =&amp;gt; 172.20.1.61&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [sshTunnelStatus] =&amp;gt; 1&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &amp;nbsp;&amp;nbsp;&amp;nbsp; [uip] =&amp;gt; ENC23xxx&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      )&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    At the next step we trying to
      call NBIs Rest-like/JSON API sending POST request of
      "Content-Type: application/json" with next data:&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    &lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    JSON request:&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    {&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    "Vendor":"SomeVendor",&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    "RequestPassword":"XXXXXX",&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    "APIVersion":"1.0",&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    "RequestCategory":"UserOnlineControl",&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    "RequestType":"Login",&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    "UE-Username":"test",&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    "UE-Password":"test",&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    "UE-IP":"ENC23xx",&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    "UE-MAC":"ENCa13yy",&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    "UE-Proxy":"0"&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    }&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    &lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    but no matter which parameters we
      changing we always receive "Bad request" response:&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    &lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    JSON response:&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      {"ResponseCode":302,"Vendor":"Ruckus","ReplyMessage":"Bad
      request"}&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    &lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    HTTP/HTTPS returning same error
      messages.&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    I can't find any accessible
      examples of implementing this schema in internet/Ruckus forums,
      Ruckus's own Knowledge Base article &lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      looks outdated and last examples not accessible, for example:&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
      &lt;A alt="" href="https://support.ruckuswireless.com/articles/000002610" name="" rel="nofollow" target="" title="" type="" value=""&gt;https://support.ruckuswireless.com/articles/000002610&lt;/A&gt;&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    &lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;
    Additionally I can't see
      Northbound Interface-related log files in Diagnostics -&amp;gt;
      Application Logs, there is no such section and&amp;nbsp; I checked all reasonable logs to find them, none found.&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;&lt;BR /&gt;Thanks for any suggestions.&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;</description>
      <pubDate>Tue, 15 Oct 2019 12:51:25 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/To-Be-Moved/WISPr-NBI-API-problem-Bad-request/m-p/34372#M1808</guid>
      <dc:creator>taras_taranenko</dc:creator>
      <dc:date>2019-10-15T12:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: WISPr NBI API problem (Bad request)</title>
      <link>https://community.ruckuswireless.com/t5/To-Be-Moved/WISPr-NBI-API-problem-Bad-request/m-p/34373#M1809</link>
      <description>Hi, I will answer my own question, so other people can see resolution:&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;1. Logs for Northbound interface errors currently located in Core/core-critical.log, and looks like:&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;2019-10-11 09:14:50,916 Core[nioEventLoopGroup-26-7] ERROR c.r.w.n.u.ValidationUtil - Vendor [Rukus] is not supported.&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;2019-10-11 09:14:50,917 Core[nioEventLoopGroup-26-7] WARN&amp;nbsp; c.r.w.n.h.NorthboundHandler - Validation failure, the content of request: {"UE-Username":"Fhjj","RequestPassword":"ghjj","UE-IP":"...&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;2. My mistake was using Vendor field different from 'ruckus'.&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;All other vendors was rejected with unpredictable "Bad request" response.&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;I would suggest Ruckus guys to extend their error messages with a bit more information, it should save somebodies time :).&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;Anyway, thanks everybody for looking in.&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;&lt;BR alt="" name="" rel="" target="" title="" type="" value="" /&gt;</description>
      <pubDate>Wed, 23 Oct 2019 09:46:14 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/To-Be-Moved/WISPr-NBI-API-problem-Bad-request/m-p/34373#M1809</guid>
      <dc:creator>taras_taranenko</dc:creator>
      <dc:date>2019-10-23T09:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: WISPr NBI API problem (Bad request)</title>
      <link>https://community.ruckuswireless.com/t5/To-Be-Moved/WISPr-NBI-API-problem-Bad-request/m-p/34374#M1810</link>
      <description>&lt;P style="margin: 0;"&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Im having the same problem and I hope you can help me&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;* the username and password for a northbound interface on the controller what are those?&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;* the AP authentication with the Radius, are the JSON file configuration on the Radius server, the one you show above?&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 05:51:48 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/To-Be-Moved/WISPr-NBI-API-problem-Bad-request/m-p/34374#M1810</guid>
      <dc:creator>hayder_al_windi</dc:creator>
      <dc:date>2021-04-01T05:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: WISPr NBI API problem (Bad request)</title>
      <link>https://community.ruckuswireless.com/t5/To-Be-Moved/WISPr-NBI-API-problem-Bad-request/m-p/34375#M1811</link>
      <description>&lt;P style="margin: 0;"&gt;Hi,&lt;/P&gt;
&lt;P style="margin: 0;"&gt;1. you can create your own username/password pair for NBI.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;2. I did not mentioned any Radius configuration file. I am using external Radius server which has its own configuration, important is that your WLAN controller is in clients list and WC can verify its own clients on Radius.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 13:29:40 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/To-Be-Moved/WISPr-NBI-API-problem-Bad-request/m-p/34375#M1811</guid>
      <dc:creator>taras_taranenko</dc:creator>
      <dc:date>2021-04-06T13:29:40Z</dc:date>
    </item>
  </channel>
</rss>

