Currently, I have Orbited set up as a Comet server on my localhost. It's actively listening to the following ports:
9000 for http
61613 for stomp
While troubleshooting, my JavaScript debugger is pointing out an error message: JSON is not defined specifically in this line of code:
var vals = JSON.parse(payload);
What could potentially be causing this issue and what steps can I take to resolve it effectively?