RWS Subscription error Group * does not belong to Client *.

Tompanhuhu
Tompanhuhu Sweden
edited September 13 in Developer Tools
Hi.

I'm trying to setup a subscription between PC & RW6 virtual controller.
I got subscription working with initial setup and then adding multiple with PUT command.

But now it has stopped working and I don't know why.

I get the following error message from the VC.
-1073435900 Group 6 does not belong to Client 23.

I'm not sure why it stopped working or what to do about the message.
My commands when subscribing is:

$ curl -v \

-X POST \

-u Default User:robotics \

-H "Accept-Encoding: br;q=1.0, gzip;q=0.9, deflate;q=0.8" \

-H "User-Agent: rws_testing/1.0

-H "Accept-Language: en;q=1.0, sv-US;q=0.9" \

-H "Accept:: application/json" \

-H "Content-Type: application/x-www-form-urlencoded;v=2.0" \

-d "1=/rw/panel/opmode&1-p=1&resources=1" \

"http://10.0.0.153/subscription"


My commands when adding subscription is:


$ curl -v \

-X PUT \

-u Default User:robotics \

-b "-http-session-=12::http.session::b15915c27233b28726f03643637cc4e4;ABBCX=23" \

-H "Accept-Language: en;q=1.0, sv-US;q=0.9" \

-H "Accept-Encoding: br;q=1.0, gzip;q=0.9, deflate;q=0.8" \

-H "User-Agent: rws_testing/1.0

-H "Content-Type: application/x-www-form-urlencoded;v=2.0" \

-H "Accept:: application/json" \

-d "2=/rw/panel/ctrlstate&2-p=0&resources=2" \

"http://10.0.0.153/subscription/6"


The first subscription works and I get events in the websocket connection.
But every subscription I try to add to the same group fails. 

I had it working for a while and I don't think i changed any code related to these functions.
Can it be a setting or something in the VC? I have restarted both PC & VC without any fix.