I am trying to get gonic to work with Sonos S2. My bonob service is reachable over the internet and I created a new sonos integration.
When I add the service in the sonos app, I login in the browser and the page says "Login successful!". Back in the Sonos app, it keeps loading and after a while it says there was an error.
Here is the bonob debug log:
{"level":"debug","message":{"data":"Handling POST on /ws/sonos","level":"info"},"service":"bonob","timestamp":"2026-02-14 13:03:25"}
{"level":"debug","message":{"data":"<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/\"><s:Header><credentials xmlns="http://www.sonos.com/Services/1.1\">00-00-00-00-00-00:0Sonos</s:Header><s:Body><getDeviceAuthToken xmlns="http://www.sonos.com/Services/1.1\">Sonos_MzvMZS8VJqHuekTXXPdbtML8dQ_798058f2382b0743-deb0-477c-b3d7-0713819996bf</s:Body></s:Envelope>","level":"debug"},"service":"bonob","timestamp":"2026-02-14 13:03:25"}
{"level":"debug","message":{"data":"Attempting to bind to /ws/sonos","level":"info"},"service":"bonob","timestamp":"2026-02-14 13:03:25"}
{"level":"debug","message":{"data":"Trying SonosSoap from path /Test/TestService.php","level":"info"},"service":"bonob","timestamp":"2026-02-14 13:03:25"}
{"level":"info","message":"Client not linked, awaiting user to associate account with link code by logging in.","service":"bonob","timestamp":"2026-02-14 13:03:25"}
{"level":"debug","message":{"data":"<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/\" xmlns:tns="http://www.sonos.com/Services/1.1\">soap:Bodysoap:FaultClient.NOT_LINKED_RETRYLink Code not found yet, sonos app will keep polling until you log in to bonobNOT_LINKED_RETRY5</soap:Fault></soap:Body></soap:Envelope>","level":"debug"},"service":"bonob","timestamp":"2026-02-14 13:03:25"}
{"level":"debug","message":"/ (req[accept-language]=undefined)","service":"bonob","timestamp":"2026-02-14 13:03:26"}
{"level":"debug","message":"/login (req[accept-language]=de-DE,de;q=0.9)","service":"bonob","timestamp":"2026-02-14 13:03:29"}
{"level":"debug","message":{"data":"Handling POST on /ws/sonos","level":"info"},"service":"bonob","timestamp":"2026-02-14 13:03:31"}
{"level":"debug","message":{"data":"<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/\"><s:Header><credentials xmlns="http://www.sonos.com/Services/1.1\">00-00-00-00-00-00:0Sonos</s:Header><s:Body><getDeviceAuthToken xmlns="http://www.sonos.com/Services/1.1\">Sonos_MzvMZS8VJqHuekTXXPdbtML8dQ_798058f2382b0743-deb0-477c-b3d7-0713819996bf</s:Body></s:Envelope>","level":"debug"},"service":"bonob","timestamp":"2026-02-14 13:03:31"}
Am I missing something?
I am trying to get gonic to work with Sonos S2. My bonob service is reachable over the internet and I created a new sonos integration.
When I add the service in the sonos app, I login in the browser and the page says "Login successful!". Back in the Sonos app, it keeps loading and after a while it says there was an error.
Here is the bonob debug log:
{"level":"debug","message":{"data":"Handling POST on /ws/sonos","level":"info"},"service":"bonob","timestamp":"2026-02-14 13:03:25"}
{"level":"debug","message":{"data":"<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/\"><s:Header><credentials xmlns="http://www.sonos.com/Services/1.1\">00-00-00-00-00-00:0Sonos</s:Header><s:Body><getDeviceAuthToken xmlns="http://www.sonos.com/Services/1.1\">Sonos_MzvMZS8VJqHuekTXXPdbtML8dQ_798058f2382b0743-deb0-477c-b3d7-0713819996bf</s:Body></s:Envelope>","level":"debug"},"service":"bonob","timestamp":"2026-02-14 13:03:25"}
{"level":"debug","message":{"data":"Attempting to bind to /ws/sonos","level":"info"},"service":"bonob","timestamp":"2026-02-14 13:03:25"}
{"level":"debug","message":{"data":"Trying SonosSoap from path /Test/TestService.php","level":"info"},"service":"bonob","timestamp":"2026-02-14 13:03:25"}
{"level":"info","message":"Client not linked, awaiting user to associate account with link code by logging in.","service":"bonob","timestamp":"2026-02-14 13:03:25"}
{"level":"debug","message":{"data":"<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/\" xmlns:tns="http://www.sonos.com/Services/1.1\">soap:Bodysoap:FaultClient.NOT_LINKED_RETRYLink Code not found yet, sonos app will keep polling until you log in to bonobNOT_LINKED_RETRY5</soap:Fault></soap:Body></soap:Envelope>","level":"debug"},"service":"bonob","timestamp":"2026-02-14 13:03:25"}
{"level":"debug","message":"/ (req[accept-language]=undefined)","service":"bonob","timestamp":"2026-02-14 13:03:26"}
{"level":"debug","message":"/login (req[accept-language]=de-DE,de;q=0.9)","service":"bonob","timestamp":"2026-02-14 13:03:29"}
{"level":"debug","message":{"data":"Handling POST on /ws/sonos","level":"info"},"service":"bonob","timestamp":"2026-02-14 13:03:31"}
{"level":"debug","message":{"data":"<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/\"><s:Header><credentials xmlns="http://www.sonos.com/Services/1.1\">00-00-00-00-00-00:0Sonos</s:Header><s:Body><getDeviceAuthToken xmlns="http://www.sonos.com/Services/1.1\">Sonos_MzvMZS8VJqHuekTXXPdbtML8dQ_798058f2382b0743-deb0-477c-b3d7-0713819996bf</s:Body></s:Envelope>","level":"debug"},"service":"bonob","timestamp":"2026-02-14 13:03:31"}
Am I missing something?