RavenDB connection issues -
we have seen noticeable uptick in problems related ravendb connections. we're using iis server connection method.
i've checked index errors , don't see listed.
this server replicated mysql server , there 1 error related replication in log today. client stack trace errors coming replicated server , not raven?
edit
the client in case single job runs few hundred times day...succeeding many of times increasing in failures due these errors.
sql replication failure replication
here partial stack trace errors client log:
[webexception: unable connect remote server] system.net.httpwebrequest.getrequeststream(transportcontext& context):367 system.net.httpwebrequest.getrequeststream():3 raven.abstractions.connection.httprequesthelper.writedatatorequest(httpwebrequest req, string data, boolean disablecompression):7 raven.client.connection.serverclient.directbatch(ienumerable`1 commanddatas, string operationurl):171 raven.client.connection.replicationinformer.tryoperation[t](func`2 operation, string operationurl, boolean avoidthrowing, t& result, boolean& wastimeout):35 raven.client.connection.replicationinformer.executewithreplication[t](string method, string primaryurl, int32 currentrequest, int32 currentreadstripingbase, func`2 operation):169 raven.client.connection.serverclient.executewithreplication[t](string method, func`2 operation):33 raven.client.document.documentsession.savechanges():65
and
[webexception: unable connect remote server] system.net.httpwebrequest.getresponse():570 raven.client.connection.httpjsonrequest.readjsoninternal(func`1 getresponse):45 raven.client.connection.httpjsonrequest.readresponsejson():206 raven.client.connection.serverclient.directget(string[] ids, string operationurl, string[] includes, string transformer, dictionary`2 queryinputs, boolean metadataonly):631 raven.client.connection.serverclient+<>c__displayclass77.<get>b__76(string u):51 raven.client.connection.replicationinformer.tryoperation[t](func`2 operation, string operationurl, boolean avoidthrowing, t& result, boolean& wastimeout):35 raven.client.connection.replicationinformer.executewithreplication[t](string method, string primaryurl, int32 currentrequest, int32 currentreadstripingbase, func`2 operation):169 raven.client.connection.serverclient.executewithreplication[t](string method, func`2 operation):33 raven.client.document.hilokeygenerator.getdocument(idatabasecommands databasecommands):41 raven.client.document.hilokeygenerator.getnextrange(idatabasecommands databasecommands):109 raven.client.document.hilokeygenerator.nextid(idatabasecommands commands):58 raven.client.document.hilokeygenerator.generatedocumentkey(idatabasecommands databasecommands, documentconvention convention, object entity):9 raven.client.document.multitypehilokeygenerator.generatedocumentkey(idatabasecommands databasecommands, documentconvention conventions, object entity):174 raven.client.document.documentstore+<>c__displayclass4.<initialize>b__2(string dbname, idatabasecommands databasecommands, object entity):20 raven.client.document.documentconvention.generatedocumentkey(string dbname, idatabasecommands databasecommands, object entity):164 raven.client.document.generateentityidontheclient.generatedocumentkeyforstorage(object entity):46 raven.client.document.inmemorydocumentsessionoperations.storeinternal(object entity, etag etag, string id, boolean forceconcurrencycheck):79 raven.client.document.inmemorydocumentsessionoperations.store(object entity):23
the error says client cannot connect the server. maybe client offline. or server is. or firewall in way. or maybe server there blows before returning response client. if issue intermittent, , users arent complaining, it's connectivity thing can ignore. if users complaining, should in server-side logs.
Comments
Post a Comment