<?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: I'm trying to acquire a valid logon session, but I get &amp;quot;no active session&amp;quot; in To Be Moved</title>
    <link>https://community.ruckuswireless.com/t5/To-Be-Moved/I-m-trying-to-acquire-a-valid-logon-session-but-I-get-quot-no/m-p/8967#M519</link>
    <description>No problems!&lt;BR /&gt;&lt;BR /&gt;Once you logon it'll give you back a session ID which needs to be passed with every API call along with the content type so for example;&lt;BR /&gt;&lt;BR /&gt;{'Content-Type': 'application/json;charset=UTF-8','Cookie': 'JSESSIONID='GDHDHDAAA'}</description>
    <pubDate>Mon, 04 Dec 2017 12:44:32 GMT</pubDate>
    <dc:creator>jamie_walmsley</dc:creator>
    <dc:date>2017-12-04T12:44:32Z</dc:date>
    <item>
      <title>I'm trying to acquire a valid logon session, but I get "no active session"</title>
      <link>https://community.ruckuswireless.com/t5/To-Be-Moved/I-m-trying-to-acquire-a-valid-logon-session-but-I-get-quot-no/m-p/8964#M516</link>
      <description>Beginner here, I'm following &lt;A href="http://docs.ruckuswireless.com/vscg-carrier/vsz-h-public-api-reference-guide-3-5-1.html#login-session-logon-post" rel="nofollow" target="_blank" title="Link http//docsruckuswirelesscom/vscg-carrier/vsz-h-public-api-reference-guide-3-5-1htmllogin-session-logon-post"&gt;API guide&lt;/A&gt;&amp;nbsp;to acquire a login session.&lt;BR /&gt;I'm testing with curl command like this&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE&gt;curl&amp;nbsp; &lt;A href="https://{server-ip:server-port}/wsg/api/public/v5_1/session" rel="nofollow" target="_blank" title="Link https//server-ipserver-port/wsg/api/public/v5_1/session"&gt;https://{server-ip:server-port}/wsg/api/public/v5_1/session&lt;/A&gt; -k -X GET&lt;/PRE&gt;&lt;BR /&gt;But I get the following error:&lt;BR /&gt;&lt;BR /&gt;{"message":"Current session has timed out.","errorCode":201,"errorType":"No active session"}</description>
      <pubDate>Mon, 04 Dec 2017 11:54:50 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/To-Be-Moved/I-m-trying-to-acquire-a-valid-logon-session-but-I-get-quot-no/m-p/8964#M516</guid>
      <dc:creator>alberto_capelli</dc:creator>
      <dc:date>2017-12-04T11:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: I'm trying to acquire a valid logon session, but I get "no active session"</title>
      <link>https://community.ruckuswireless.com/t5/To-Be-Moved/I-m-trying-to-acquire-a-valid-logon-session-but-I-get-quot-no/m-p/8965#M517</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You need to be doing sending a POST rather than a GET and you also need to pass in JSON for the username/pass&lt;BR /&gt;&lt;BR /&gt;data = {&amp;nbsp; &amp;nbsp; "username": username,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "password": password,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "timeZoneUtcOffset": "+00:00"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }</description>
      <pubDate>Mon, 04 Dec 2017 12:00:15 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/To-Be-Moved/I-m-trying-to-acquire-a-valid-logon-session-but-I-get-quot-no/m-p/8965#M517</guid>
      <dc:creator>jamie_walmsley</dc:creator>
      <dc:date>2017-12-04T12:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: I'm trying to acquire a valid logon session, but I get "no active session"</title>
      <link>https://community.ruckuswireless.com/t5/To-Be-Moved/I-m-trying-to-acquire-a-valid-logon-session-but-I-get-quot-no/m-p/8966#M518</link>
      <description>Hi, I tried like you said, specifying also Content-type it seems to work!&lt;BR /&gt;


&lt;PRE&gt;curl&amp;nbsp; &lt;A href="https://{ip:port}/wsg/api/public/v5_1/session" target="test_blank"&gt;https://{ip:port}/wsg/api/public/v5_1/session&lt;/A&gt; -k -X POST --data '{"username":"admin","password":"Mypass.1","timeZoneUtcOffset":"+01:00"}' -H 'Content-type: application/json'&lt;/PRE&gt;thank you</description>
      <pubDate>Mon, 04 Dec 2017 12:12:20 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/To-Be-Moved/I-m-trying-to-acquire-a-valid-logon-session-but-I-get-quot-no/m-p/8966#M518</guid>
      <dc:creator>alberto_capelli</dc:creator>
      <dc:date>2017-12-04T12:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: I'm trying to acquire a valid logon session, but I get "no active session"</title>
      <link>https://community.ruckuswireless.com/t5/To-Be-Moved/I-m-trying-to-acquire-a-valid-logon-session-but-I-get-quot-no/m-p/8967#M519</link>
      <description>No problems!&lt;BR /&gt;&lt;BR /&gt;Once you logon it'll give you back a session ID which needs to be passed with every API call along with the content type so for example;&lt;BR /&gt;&lt;BR /&gt;{'Content-Type': 'application/json;charset=UTF-8','Cookie': 'JSESSIONID='GDHDHDAAA'}</description>
      <pubDate>Mon, 04 Dec 2017 12:44:32 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/To-Be-Moved/I-m-trying-to-acquire-a-valid-logon-session-but-I-get-quot-no/m-p/8967#M519</guid>
      <dc:creator>jamie_walmsley</dc:creator>
      <dc:date>2017-12-04T12:44:32Z</dc:date>
    </item>
  </channel>
</rss>

