RavenDB errors

381 views
Skip to first unread message

rabidlemming

unread,
Dec 13, 2016, 4:18:16 AM12/13/16
to RavenDB - 2nd generation document database

Hi,

I keep periodically getting these errors in my Raven DB

Title
Error from mapping task in database , task terminated, this is very bad
Message
System.Threading.ThreadAbortException: Thread was being aborted.
 at
System.Threading.Monitor.ObjWait(Boolean exitContext, Int32 millisecondsTimeout, Object obj)
 at
Raven.Database.Indexing.WorkContext.WaitForWork(TimeSpan timeout, Int32& workerWorkCounter, Action beforeWait, String name)
 at
Raven.Database.Indexing.AbstractIndexingExecuter.Execute()
 at
Raven.Database.DocumentDatabase.RunMapIndexes()
Exception
Thread was being aborted.
Reported
2 days ago (12/09/16, 11:03pm)
Level
Error

Along with this error

Message
Failed to get Version Buckets Allocated value, this error will only be reported once.
Exception
System.UnauthorizedAccessException: Access to the registry key 'Global' is denied.
   at
Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
   at
Microsoft.Win32.RegistryKey.InternalGetValue(String name, Object defaultValue, Boolean doNotExpand, Boolean checkSecurity)
   at
Microsoft.Win32.RegistryKey.GetValue(String name)
   at
System.Diagnostics.PerformanceMonitor.GetData(String item)
   at
System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String item)
   at
System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
   at
System.Diagnostics.PerformanceCounterLib.CategoryExists(String machine, String category)
   at
System.Diagnostics.PerformanceCounterCategory.Exists(String categoryName, String machineName)
   at
Raven.Storage.Esent.TransactionalStorage.GetDatabaseTransactionVersionSizeInBytes()
Logged
5 minutes ago (12/12/16, 8:53am)
Level
Warn
Logger
Raven.Storage.Esent.TransactionalStorage



But I don't know what's causing them or how to fix them?

I running RavenDB though IIS on a windows 2012 VM in azure using build 35181 of 3.5 


annoyingly RavenDb keep's saying that I don't have WebSocket protocol; But I know I categorically do. I have yet to debug it and work out why that's playing up.

Any guidance or recommendations welcome

Thanks
R

Oren Eini (Ayende Rahien)

unread,
Dec 13, 2016, 6:57:17 AM12/13/16
to ravendb
The first one is likely something that happen while you are shutting down RavenDB.
The second is because you aren't running as admin, which is fine and handled.

What do you mean WRT websockets?

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


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

rabidlemming

unread,
Dec 13, 2016, 10:36:19 AM12/13/16
to RavenDB - 2nd generation document database
Ah i see yes azure dose shut down its services over night to save costs so that would explain it, Is there a way to ensure ravenDB has admin rights , I added the IIS worker process to the admin group, should that do the trick?

The WebSocket error get is:
Your server doesn't support the WebSocket protocol!
EventSource API is going to be used instead. However, multi tab usage isn'
t supported.
WebSockets are only supported on servers running on Windows Server 2012 and equivalent.
 
If you have issues with WebSockets on Windows Server 2012 and equivalent use Status > Debug > WebSocket to debug.

I know i have web socket installed and setup in IIS 7 so not sure why its saying its not enabled ?
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.

Oren Eini (Ayende Rahien)

unread,
Dec 14, 2016, 6:16:12 AM12/14/16
to ravendb
What does  Status > Debug > WebSocket tell you?
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.

rabidlemming

unread,
Dec 14, 2016, 6:41:45 AM12/14/16
to RavenDB - 2nd generation document database
Here is the debug from Raven and screen grab to show web socket is enabled though IIS 8

Connecting to web socket using url: ws://51.141.10.9/databases/RavenDB/websocket/validate?singleUseAuthToken=b8f387c1-1b82-4b5f-bf8b-d19bb5400ee4&id=test&coolDownWithDataLoss=1000&isMultyTenantTransport=false
Server doesn't support web sockets protocol
WebSocket disconnected in unclean way

Oren Eini (Ayende Rahien)

unread,
Dec 14, 2016, 6:47:59 AM12/14/16
to ravendb
Try using a WebSocket client to see why it isn't connecting properly.

To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.

rabidlemming

unread,
Dec 15, 2016, 7:01:23 AM12/15/16
to RavenDB - 2nd generation document database
thanks =) ill do some investigating see if i cant work out whats going on, if i work it out ill be sure to post the answer here for anyone else :) 
Reply all
Reply to author
Forward
0 new messages