Node.JS code fails without error on Ubuntu -


i have simplest code firebase :

var firebase=require('firebase'); var ref=new firebase('http://mydb.firebaseio.com/requests'); ref.push({name:"checkin",type:"mandatory"},function(response){ console.log(response); }); 

and i'm running ssh in command line on ubuntu 12.04 server. reason push method runs doesn't push , doesn't show error. tried logging error file file remains empty. tried catching uncaught exception process, no luck. there isn't error show. how should catch error can investigate further ?

extra information :

-node.js version installed on server 12.4 .

-one thing noticed there no certificate file on server , example can't use curl https url or ppa download package.

-ubuntu 12.04.

-when push firebase using php script works fine nodejs fails it.

-the server in hospital's internal network , connects internet through proxy. https websites allowed on port 80 , rest blocked . similar policies might in place other ports , protocols.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -