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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -