-
Notifications
You must be signed in to change notification settings - Fork 870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: The Client driver version is different than Server version #6494
Comments
I setup a similar scenario, doing a docker pull orientdb:latest and using a Main that connects to the localhost in remote. rather than:
Dependency check: orientdb-enterprise isn't needed anymore, the module is now collapsed inside client. Even com.googlecode.concurrentlinkedhashmap, because it is a transitive dependency that I hope gradle is able to download (I'm a maven user, but AFAIK gradle dependency resolution works the same way). So, check your client dependencies, don't know in gradle, but with maven I will do a mvn dependency:tree just to understand what jars are effectively used. |
I have tried both and I get the same error either way
I only included them because the manual says they are required to use the Document API |
I will fix documentation about dependencies. Thanks |
Thanks, @robfrank. Problem solved. Turned out Docker has been using an old image pulled 3 months ago. My fault I assumed that I only have one question: Why I got stuck at this warning in the first place? I may have a server running for months, and the client just happens to use the latest version. Shouldn't that still work?
I only needed to include:
I am running Docker on a remote Linux server and accessing it from my Mac through SSH tunneling
Yes, I have always been able to connect to the studio web interface at localhost:2480 |
Well done. Yes, docker never pull an image again. You can use the versioned tag instead of latest, e.g.: orientdb:2.2.6 |
OrientDB Version
v2.2.6 on both server and client
Operating System
Server running on Docker Container from the latest official Docker image running on Mint/Ubuntu OS
Client running from Java API on Mac OS
Expected behavior and actual behavior
Expected: Connect to server
Actual:
WARNING: The Client driver version is different than Server version: client=36, server=32. You could not use the full features of the newer version. Assure to have the same versions on both
Steps to reproduce the problem
Java:
final ODatabaseDocumentTx db = new ODatabaseDocumentTx("remote:localhost").open("admin", "admin");
Gradle:
compile group: 'com.orientechnologies', name: 'orientdb-core', version: '2.2.6'
compile group: 'com.orientechnologies', name: 'orientdb-client', version: '2.2.6'
compile group: 'com.orientechnologies', name: 'orientdb-enterprise', version: '2.2.6'
compile group: 'com.googlecode.concurrentlinkedhashmap', name: 'concurrentlinkedhashmap-lru', version: '1.4.2'
The text was updated successfully, but these errors were encountered: