I'm using OrientDB 3.0.4 community edition with orientjs ("orientjs": 
"^3.0.0-beta.0",) with NodeJS (v8.11.3) and express ("express": "^4.16.3",) 
and I'm losing the session sometimes as early as ~10 minutes, sometimes the 
session persists longer. I wrote a script which "tickles" the server, 
performing a query every 15 minutes. So the client is performing tasks on 
the server and there should not be a session timeout.

Nodejs and express reside on different machines than the OrientDB server. 

here is the server response after the session times out: 

com.orientechnologies.orient.enterprise.channel.binary.OTokenSecurityException

{ name: 'OrientDB.RequestError',
  message: 'missing session and token',
  data: {},
  previous: [],
  code: 5,
  identifier: 0,
  id: 1,
  type: 
'com.orientechnologies.orient.enterprise.channel.binary.OTokenSecurityException',
  hasMore: 0 }

I tried with several new project setups and different databases with the 
same result.
>From what I can find online this problem is known, but the information I 
found usually pertains to Java, and not javascript.

Does anybody have experience in developing solutions with OrientDB and 
NodeJS and is familiar with this problem? 
The documentation on the OrientDB website for 3.0.x is incomplete, some of 
the links throw 404s. BTW I tried following the introduction to OrientDB 
videos on Udemy verbatim to get started with OrientDB but the code 
demonstrated does not work with the 3.0.x version. That might be 
discouraging to new users trying out OrientDB.  Any links with related info 
especially for server functions in 3.0.X and when there will be updated 
documentation available as well as samples would also be great!
.
Any help is much appreciated!

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to