Closed angelcabo closed 9 years ago
@AngelCabo please post here your console output. What kind of error it returns to you?
Please make sure you've read docs of Neo4jDriver
Also try to set connectionURL
:
Meteor.neo4j.connectionURL = 'http://user:pass@server.com';
with Meteor.neo4j.connectionURL = 'http://user:pass@server.com';
I get a 401 error:
When I call a custom "makeConnection" server side Meteor method I wrote to use the Http package directly with basic auth, I get a 200:
Meteor.methods({
'makeConnection': function () {
var HTTP = Meteor.wrapAsync(Package.http.HTTP.call);
var httpRes = HTTP('GET', "http://server.com", {
auth: 'user:pass'
});
return httpRes.statusCode;
},
I probably should have opened the issue on the neo4jdriver project.
@AngelCabo thank you for issue. Auth exception should be fixed in Neo4jDriver v0.2.12 Please confirm on you end
Thanks for the fast fix! Working on my side.
@AngelCabo thanks for issue and testing on your end
Is it possible to establish a remote server connection that requires http basic authentication? After poking around the library it looks like the initial connect would have to change from something like this:
to this:
At the moment, I get a 401 if I try to do something like
NEO4J_URL="http://user:pass@server.com" meteor
.