Skip to content

Made message when there is a networking (proxy?) issue #183

@jrgleason

Description

@jrgleason

I am working with a local Neo4J and I have an instance inside our local network so I didn't have to use our corporate proxy. Now I need to call external services and use a proxy.

When I try to configure using the HTTP_PROXY and HTTPS_PROXY vars Neo4J starts failing with...

C:\Users\a\dev\code\insight-plus\node_modules\neo4j\lib-new\GraphDatabase.js:268
        for (i = _i = 0, _len = results.length; _i < _len; i = ++_i) {
                                       ^
TypeError: Cannot read property 'length' of undefined
        at C:\Users\a\dev\code\insight-plus\node_modules\neo4j\lib-new\GraphDatabase.js:268:44

Two things

1.) How do I fix this?
2.) Is there a way we can do a null check on results and output a more meaningful message?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions