customsd service does not hit server for GetSessionId call
<p>This is essentially a duplicate of <a href="https://stackoverflow.com/questions/31881695/can-not-add-account-for-custom-sonos-service">Can not add account for custom Sonos service</a>, but there's no accepted answer and I am not able to add a comment to ask if they ever resolved their issue.</p>

<p>I've inherited a project and am trying to add the development service. I've configured it via /customsd.htm, set the header policy to Session ID, have both secure and insecure endpoints working. </p>

<p>When I go to add the channel, I see the request for strings.xml. However, I never see any requests come in for getSessionId. Meanwhile the SONOS reports "Account Not Found. ***** server did not recognize your login information." I am able to make the request with SoapUI, and I get a valid response.</p>

<p>If it's worth mentioning, I am in SONOS' beta program and am on version 6.2, build 31926010 (Mac desktop app).</p>

<p>UPDATE:</p>

<p>While I'm not sure there's anything useful here, looking at logs at <code>[deviceIP]:1400/support/aggregate</code>, I see the following. Note that the redacted URL and IP do resolve. IP is for a loadbalancer, URL is behind it.</p>

<pre><code>Feb 28 11:07:42 Sonos[84168] &lt;![CDATA[&lt;]]&gt;Error&lt;![CDATA[&gt;]]&gt;: (SCLib) dns(1): [redacted URL] -&lt;![CDATA[&gt;]]&gt; [redacted IP]
Feb 28 11:07:42 Sonos[84168] &lt;![CDATA[&lt;]]&gt;Error&lt;![CDATA[&gt;]]&gt;: (SCLib) control_client(1): getSessionId failed, res = 1000, tvStart = 1456679262 s 250163 us, m_tvConnectDone = 1456679282 s 250162 us, m_tvDone = 1456679302 s 250162 us, tvNow = 1456679262 s 509982 us
Feb 28 11:07:42 Sonos[84168] &lt;![CDATA[&lt;]]&gt;Error&lt;![CDATA[&gt;]]&gt;: (SCLib) soap(1):  - param username = [redacted username]
</code></pre>

<p>UPDATE #2:</p>

<p>I inspected the packets via Wireshark, and behavior of the production service and development one seem the same except that for the production service, the controller / my computer kicks off a POST request to the Sonos before the server hangs up. That process, outlined in red in the attached image, does not occur for the customsd service.</p>

<p><a href="https://i.stack.imgur.com/wfmU4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wfmU4.png" alt="Wireshark output of GetSessionId attempt"></a></p>

<p>I also experimented with using the production service endpoints in the customsd configuration, but that request failed in the same manner. FWIW, all ssl_validation tests pass just fine, as do various content tests.</p>