error The server committed a protocol violation. Section=ResponseStatusLine

571 views
Skip to first unread message

Klayton Fratoni

unread,
Nov 14, 2019, 12:47:10 PM11/14/19
to RavenDB - 2nd generation document database

Good afternoon friends,

I have an application running on ravendb. However, now the error "The server has committed a protocol violation. Section = ResponseStatusLine" has occurred.

I have no idea who might be going on, can anyone help me? Following is the code snippet.

Attached is a reproduction of the problem.

Thank you!

using Raven.Client.Documents;
using System;
 
namespace ERPAdminUI.Data
{
   
public class DocumentStoreHolder
   
{
       
//private static readonly Lazy<IDocumentStore> _store =new Lazy<IDocumentStore>(CreateDocumentStore);
 
       
private static Lazy<IDocumentStore> store = new Lazy<IDocumentStore>(CreateDocumentStore);
 
       
public static IDocumentStore Store => store.Value;
 
       
private static IDocumentStore CreateDocumentStore()
       
{
 
           
//string conexaoRavenDb = System.Configuration.ConfigurationManager.AppSettings["conexaoRavenDb"];
 
           
var documentStore = new DocumentStore
           
{
 
               
Conventions = { },
               
Urls = new[] // urls of the nodes in the RavenDB Cluster
               
{
                   
"http://127.0.0.1:38888"
               
},
               
Database = "CATRONISCrm",
           
}.Initialize();
 
 
 
           
//documentStore.Initialize();
           
return documentStore;
       
}
 
 
   
}
}


erro ravendb.fw.png

Arkadiusz Palinski

unread,
Nov 15, 2019, 7:06:42 AM11/15/19
to RavenDB - 2nd generation document database

--
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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ravendb/f4ad1d5f-0da0-4278-aa57-1253fb264aab%40googlegroups.com.


--
Arkadiusz Paliński
Team Leader   /   Hibernating Rhinos LTD
Support:  sup...@ravendb.net
  

Oren Eini (Ayende Rahien)

unread,
Nov 21, 2019, 11:06:42 AM11/21/19
to ravendb
Can you try to capture the network traffic to RavenDB using fiddler?



--
Oren Eini
CEO   /   Hibernating Rhinos LTD
Skype:  ayenderahien
Support:  sup...@ravendb.net
Reply all
Reply to author
Forward
0 new messages