Git Product home page Git Product logo

Comments (11)

yatender-oktalk avatar yatender-oktalk commented on May 26, 2024 1

somehow, everything is working fine now, for Neo4j 3.5.8 & Neo4j 3.5.1 versions.
don't know what was the issue, thank you so much for help.
will close the ticket for now.

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on May 26, 2024

can you time the db response, for the query you're running? It might be that your query takes longer to execute? Also, you might try the latest version of bolt-sips, the 2.0.0-rc.x

The other driver you refer to, was using neo4j's older REST API, for communicating with the server.

from bolt_sips.

yatender-oktalk avatar yatender-oktalk commented on May 26, 2024

No query doesn't take time at all, it's just a simple search query on indexed field with limit 1, sometimes it just execute within 1 ms and sometimes it just don't connect at all, I tried using the 2.0.0-rc.x only but there was also same case so I thought of using this one but this version also gives the same issue.

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on May 26, 2024

It’s very weird. I honestly don’t believe it’s from the driver. Since you tried both versions, and thank you for that, you also tried two different implementations of db_connection, the library we use for managing the connections to the server. I highly doubt we would’ve missed a issue like this. But everything it’s possible. Can you make sure the server is responsive?? Of curiosity, is your server running from a Docker container?

from bolt_sips.

yatender-oktalk avatar yatender-oktalk commented on May 26, 2024

Yeah server is responsive, when I restart the application it gives me results but as soon as i keep application idle and don't do any query it starts giving timeout for next queries I do after keeping it idle.
No I'm not running in docker container it's a standalone server only.

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on May 26, 2024

for how long was the application "idle"? Also can you please set the :idle_interval to 5000?

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on May 26, 2024

also please check: #67, too.

from bolt_sips.

yatender-oktalk avatar yatender-oktalk commented on May 26, 2024

idle_interval: 5000 now

steps I'm doing basically

  • application started
  • did some basic queries (everything worked fine for different-2 queries)
  • kept it idle for 3-4 min
  • did queries (everything worked fine)
  • kept idle for 1 min
  • did queries ( timeout from now on for every query)

#67 I checked already but we are not using any reverse proxy or anything.

from bolt_sips.

florinpatrascu avatar florinpatrascu commented on May 26, 2024

I am sorry, I cannot reproduce this. I kept a Neo4j 3.5.3 server open and an app idle for 20 minutes now and I can still get the query running. Forced :idle_interval to 100.

from bolt_sips.

yatender-oktalk avatar yatender-oktalk commented on May 26, 2024

if possible can u give me your email id?

from bolt_sips.

yatender-oktalk avatar yatender-oktalk commented on May 26, 2024

looks like some issue with the Neo4j 3.5.1 only (i guess), when I'm trying with Neo4j 3.5.8 version it hasn't given timeout exception yet, in last 30 mins I'm connected with it and it's working fine till now, will keep you updated.

from bolt_sips.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.