Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating a fresh node.js Facebook app on Heroku results in application error

I just created a fresh new Node.js Facebook app, hosted on Heroku. When I browse to my application however, it shows me the following error:

error message on heroku

When I clone a copy of the application to my computer and check the logs, I see the following error:

http://pastebin.com/qMYEyWWq

Again, I did not touch any code yet. I'm new to Node.js, does anyone have suggestions on how to fix this?

like image 452
Kukiwon Avatar asked Jan 29 '26 21:01

Kukiwon


1 Answers

The error code:

SyntaxError: Unexpected token S
2013-04-12T08:24:48.218425+00:00 app[web.1]:     at Object.parse (native)

suggest you are having a problem parsing the response from Facebook. Then heroku closes the connection to the script. Try reviewing the IncomingMessage payload for a hint.

code=H13 desc="Connection closed without response" 
like image 143
pdjota Avatar answered Feb 01 '26 15:02

pdjota



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!