I've been building a dead-simple test of Cirrus, but my NetConnection fails to connect every time. This despite my passing cc.rtmfp.net with flying colors and playing with other Cirrus apps just fine on this machine. I even got another dev to sign up for a beta key to try an alternate -- no luck.
My app opens up a NetConnection to "rtmfp://p2p.rtmfp.net/639-[redacted]-18f/" with a random username and the "NetConnection.Connect.Failed" occurs immediately. The same thing happens if I try to connect to rtmfp://baloney. I've tried launching my test app in the content player -- no luck. I've tried running it from a remote server, nope.
I'm not running any firewall software.
Why are my attempts failing when others are succeeding?
if you're passing a "username" in the NetConnection.connect(), it's being interpreted as your developer key and the connection is rejected because the username just looks like a bad developer key. try nc.connect("rtmfp://p2p.rtmfp.net", "[your-dev-key]").
Thanks, Michael. Some blind experimentation led me to achieve a successful connection doing just that.
I've been going through Tom Krcha's material about P2P stuff, after having met him at one of his Adobe game jams. I was baffled why his example apps seem to work in their published SWF forms -- with the nc.connect(SERVER+KEY, username) formulation.
Then I read some more recent documentation.
Cirrus has gone through some changes, it seems. My new code is talking to Cirrus and its Cirrus-enabled peers, now. Thanks for getting back to me.