question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Query wont run @1.7.0

See original GitHub issue

Hi ! I tried the code below. It works in v1.6.1 and not in v1.7.0

var neo4j = require('neo4j-driver').v1;
const url = 'bolt://hiddenurl.com:12345'
const config = {
    logging: neo4j.logging.console('debug')
  };
var driver = neo4j.driver(
    url, 
    neo4j.auth.basic('user', 'pwd'),
    config
);  

var query = `match(n) return n as node`

var session = driver.session();

session.run(query)
.then(res => {
    res = res.records.map( record => {
        return record.get('node')
    })
    console.log('node found:',res)
    return res
})
.then( () => {
    session.close(() => {
        console.log('we queried the database')
    })
})
.catch( err => console.log(err))

Log where it blocks in 1.7.0:

1540139801288 DEBUG Connection [0][] created towards hiddenurl.com:12345
1540139801968 DEBUG Connection [0][] negotiated protocol version 3
1540139801970 DEBUG Connection [0][] C: HELLO {user_agent: 'neo4j-javascript/1.7.0', ...}

Any ideas where it comes from 😃 ?

Cheers !

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lutovichcommented, Oct 25, 2018

Thanks, @juanjoandres!

1reaction
vizcommented, Oct 24, 2018

thanks for the quick response @juanjoandres . I’ve tested one of our services with 1.7.0 and can confirm that it now works properly.

Woohoo!

Read more comments on GitHub >

github_iconTop Results From Across the Web

When using suspend fun in Room Dao methods, following ...
Thanks for the report I was able to reproduce the issue and indeed it occurs when using Kotlin 1.7.0. Sadly I don't have...
Read more >
Release of DAML SDK 1.7.0 - Digital Asset Blog
New query functions accepting multiple keys supersede the old single-key/query versions, which are now deprecated. DAML Triggers (Early Access) ...
Read more >
Solved: Re: Hive query OutOfMemoryError: Java heap space
Go to Ambari -Hive-search for heap (hive.heapsize) and update the value to 8192 and then re-start affected services.
Read more >
Pipeline stuck · Issue #280 · ENCODE-DCC/atac-seq ... - GitHub
Hi team,. My submission gets stuck at the step "2020-09-xx 10:57:34,626|caper.cromwell_workflow_monitor|INFO| Task: id=ee393982-c762-4e1f-aba5- ...
Read more >
Creating Your First Mission Application — Kubos 1.7.0 documentation
When our mission application is running in-flight, we likely won't have ... An example query for the telemetry database service might look like...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found