Bug is closed in system, but still I am facing the issue.
I get 401 HTTP error on random basis.
1. If I make regular HTTP calls (one after another) to server, it works fine, but if I give gap of 10 sec or more between two HTTP calls, the call returns with 401 (unauthorized) error.
2. Also if I make simultaneous aync calls to OrientDB, only first call succeeds, rest all returns 401 error.
I am not explicitely sending OSESSIONID in request header, but its already set in cookies and I expect that its sent in subsequent HTTP calls automatically. Below is the screenshot of OSESSIONID in chrome debugger:
,,:` `,,.
,,, .,`
,,. `, GRAPH DATABASE
`` `.
`
Can't load log handler "java.util.logging.FileHandler"
java.io.IOException: Couldn't get lock for ../log/orient-server.log
java.io.IOException: Couldn't get lock for ../log/orient-server.log
at java.util.logging.FileHandler.openFiles(FileHandler.java:389)
at java.util.logging.FileHandler.<init>(FileHandler.java:225)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at java.util.logging.LogManager$4.run(LogManager.java:785)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:778)
at java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java
:1350)
at java.util.logging.LogManager.access$1500(LogManager.java:148)
at java.util.logging.LogManager$RootLogger.getHandlers(LogManager.java:1
433)
at com.orientechnologies.common.log.OLogManager.installCustomFormatter(O
LogManager.java:273)
at com.orientechnologies.orient.server.OServer.<init>(OServer.java:103)
at com.orientechnologies.orient.server.OServerMain.create(OServerMain.ja
va:22)
at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java
:31)
2014-04-17 16:54:08:967 INFO Loading configuration from: config/orientdb-server-
config.xml... [OServerConfigurationLoaderXml]
2014-04-17 16:54:09:198 INFO OrientDB Server v1.7-rc1 (build UNKNOWN@r${buildNum
ber}; 2014-02-06 12:04:16+0100) is starting up... [OServer]
2014-04-17 16:54:09:208 INFO Databases directory: C:\Users\Gaurav\Downloads\orie
ntdb-community-1.7-rc1\databases [OServer]
2014-04-17 16:54:09:256 INFO Listening binary connections on 0.0.0.0:2424 (proto col v.20) [OServerNetworkListener]
2014-04-17 16:54:09:258 INFO Listening http connections on 0.0.0.0:2480 (protoco l v.10) [OServerNetworkListener]
2014-04-17 16:54:09:280 INFO Installing dynamic plugin 'studio-1.7-rc1.zip'... [
OServerPluginManager]
2014-04-17 16:54:09:344 INFO Installing GREMLIN language v.2.5.0-SNAPSHOT - grap
h.pool.max=50 [OGraphServerHandler]
2014-04-17 16:54:09:361 INFO Mail plugin installed and active. Loaded 1 profile(
s): [default] [OMailPlugin]
2014-04-17 16:54:09:361 INFO OrientDB Server v1.7-rc1 is active. [OServer]