JavaScript exception event with code 1014

Ask questions about the JavaScript API here

JavaScript exception event with code 1014

Postby offirb » Wed May 23, 2012 11:49 pm

Today we've started experiencing an error with the JavaScript library.
The event handler that is register with TB.addEventListener("exception", ...) is being fired.

The event has
code: 1014
message: "Connecting to server to fetch session info failed. Unknown response from server."
title: "Connect Failed"
type: "exception"

This happens when the script from https://swww.tokbox.com/v0.91/js/TB.min.js is used,
but everything works fine when the script is loaded from https://staging.tokbox.com/v0.91/js/TB.min.js

Any idea what is happening?
Was this post helpful? (0)
offirb
 
Posts: 2
Joined: Wed May 23, 2012 11:16 pm
Thumbs Up: 0

Re: JavaScript exception event with code 1014

Postby jtsai » Thu May 24, 2012 11:00 am

Hi there

Which server-side SDK are you using? If you are using .NET, can you upgrade to the latest version? Also, after you upgrade, if it doesn't work, can you give us the session and token you are trying to log in with?

Also, make sure you have registered for production when using the "swww" one. (http://www.tokbox.com/opentok/api/tools/js/launch)

Thanks,
John
Was this post helpful? (0)
Very helpful resource: Devs Checklist
Examples with OpenTok: Examples
User avatar
jtsai
 
Posts: 1979
Joined: Wed Sep 14, 2011 3:00 pm
Thumbs Up: 157

Re: JavaScript exception event with code 1014

Postby offirb » Fri May 25, 2012 12:11 am

Thanks! Updating my .NET library solved the issue.
Was this post helpful? (0)
offirb
 
Posts: 2
Joined: Wed May 23, 2012 11:16 pm
Thumbs Up: 0


Return to JavaScript



Who is online

Users browsing this forum: arjun.raj.jain, Google [Bot] and 1 guest

cron