Alex Russell wrote:
> Hey all,
>
> Greg will be happy to know that, despite my constant
distractions, I'm
> mostly done with my rework of the JS client to handle
advices. I'm
> wondering about some ambiguity in my spec writing,
though. In one
> place, we note that the advice value for
"reconnect" can be a boolean,
> and in another, we note that it should be one of
> ["none", "retry",
"handshake", "recover"].
>
> I think that the 4-choice is the right set in both
cases and we should
> update the protocol doc accordingly, but I want to be
sure just in case
> I've mis-remembered something.
>
> Regards
>
The advice does not appear to be working :-(
I still get loops like this:
=0=>[{"channel":"/meta/reconnect",&qu
ot;connectionType":"long-polling","clien
tId":"1lsgwk4onsllq","connectionId"
:"/meta/connections/1lsgwk4onsllq","timestamp
":"Wed Dec 06 11:51:50 CET
006","id":"c93x5wa"}]
<=1=[{"connectionId":"/meta/connections/1l
sgwk4onsllq","timestamp":"Wed Dec 06
11:51:50 CET 2006","error":"unknown
clientID","successful":false,"channel&qu
ot;:"/meta/reconnect","advice":{"re
connect":"handshake","interval":0}}
]
=0=>[{"channel":"/meta/reconnect",&qu
ot;connectionType":"long-polling","clien
tId":"1lsgwk4onsllq","connectionId"
:"/meta/connections/1lsgwk4onsllq","timestamp
":"Wed Dec 06 11:51:50 CET
2006","id":"c93x5wa"}]
<=1=[{"connectionId":"/meta/connections/1l
sgwk4onsllq","timestamp":"Wed Dec 06
11:51:50 CET 2006","error":"unknown
clientID","successful":false,"channel&qu
ot;:"/meta/reconnect","advice":{"re
connect":"handshake","interval":0}}
]
=0=>[{"channel":"/meta/reconnect",&qu
ot;connectionType":"long-polling","clien
tId":"1lsgwk4onsllq","connectionId"
:"/meta/connections/1lsgwk4onsllq","timestamp
":"Wed Dec 06 11:51:50 CET
2006","id":"c93x5wa"}]
<=1=[{"connectionId":"/meta/connections/1l
sgwk4onsllq","timestamp":"Wed Dec 06
11:51:50 CET 2006","error":"unknown
clientID","successful":false,"channel&qu
ot;:"/meta/reconnect","advice":{"re
connect":"handshake","interval":0}}
]
=0=>[{"channel":"/meta/reconnect",&qu
ot;connectionType":"long-polling","clien
tId":"1lsgwk4onsllq","connectionId"
:"/meta/connections/1lsgwk4onsllq","timestamp
":"Wed Dec 06 11:51:50 CET
2006","id":"c93x5wa"}]
<=1=[{"connectionId":"/meta/connections/1l
sgwk4onsllq","timestamp":"Wed Dec 06
11:51:50 CET 2006","error":"unknown
clientID","successful":false,"channel&qu
ot;:"/meta/reconnect","advice":{"re
connect":"handshake","interval":0}}
]
=0=>[{"channel":"/meta/reconnect",&qu
ot;connectionType":"long-polling","clien
tId":"1lsgwk4onsllq","connectionId"
:"/meta/connections/1lsgwk4onsllq","timestamp
":"Wed Dec 06 11:51:50 CET
2006","id":"c93x5wa"}]
<=1=[{"connectionId":"/meta/connections/1l
sgwk4onsllq","timestamp":"Wed Dec 06
11:51:50 CET 2006","error":"unknown
clientID","successful":false,"channel&qu
ot;:"/meta/reconnect","advice":{"re
connect":"handshake","interval":0}}
]
So I am getting an unknown client ID and advising to
handshake again, but I just get reconnects in a tight loop.
cheers
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-dev googlegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribe googlegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev
Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---
|