Intermittent connection timeouts to Solr server using SolrNet

本秂侑毒 提交于 2019-12-02 00:18:21
Mauricio Scheffer

Without more information, I can only guess a few possible reasons:

Try setting this in .net.

ServicePointManager.Expect100Continue = false;

or this

ServicePointManager.SetTcpKeepAlive(true, 200000, 200000); - this sends requests to the server to keep the connection alive.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!