I'm trying to retrieve data from a firebase database in node.js which works fine until i run it in a Docker container.
const ref = firebase.database().ref(`datasource/${userId}`)
.once('value').then( (snapshot) => {
console.log(snapshot.val());
return callback(null, 'ok');
}, (error) => {
console.error(error);
});
I think this is the problem (from the docker syslog):
I'm not sure what firebase is doing in the response but I'm able to make requests fine to
google.com and twitter. Is this something I can address with firebase or a docker issue?