I am using a Rails application to create new LCCS rooms when needed.
The code works some of the time but other times it produces a 403 which is caught on line 572 of afcs.rb. Here is the stack trace:
/Users/mschwab/work/GoodChat/lib/afcs.rb:572 :in `http_post'
/Users/mschwab/work/GoodChat/lib/afcs.rb:565 :in `http_post'
/Users/mschwab/work/GoodChat/lib/afcs.rb:325 :in `createRoom'
/Users/mschwab/work/GoodChat/app/controllers/rooms_controller.rb:77 :in `create_room'
my code that creates rooms is basically this:
am = AFCS::AccountManager.new "http://connectnow.acrobat.com/goodcrush"
am.login LiveCycleCredentials['livecycle_account']['username'], LiveCycleCredentials['livecycle_account']['password']
lc_response = am.createRoom("randomdorm#{num}", 'randomdorm')
Views
Replies
Total Likes
that's pretty much the only case in createRoom
Views
Replies
Total Likes
We are still getting lots of 403s in our test environment. This is happening even though we are creating rooms with names that do not yet exist in our account.
I don't think I have seen any 403s in our production environment. I'll look for any discrepancies that might be causing an issue.
Views
Replies
Total Likes
assuming the URL in your logs is correct, I'll see if I can find some time to look at our logs and see if I see anything strange.
you could also call something like roomInfo after you get the error and verify that the room really exists at that point.
Views
Replies
Total Likes