connection-reset

Connection Reset due to large file upload but configs should permit upload

旧街凉风 提交于 2020-01-15 12:05:11
问题 I am having errors attempting to upload a file larger than 4 megs in my MVC project. The upload works fine for smaller files. Looking online, I saw that I should add <httpRuntime maxRequestLength="200000" executionTimeout="240"/> to my web config, in system web, but that has had no effect. The connection is still resetting. Are there other configs that need to be changed that I may have missed? The file is 10 megs, so that request length is plenty large enough. The request is not timing out,

Connection Reset due to large file upload but configs should permit upload

亡梦爱人 提交于 2020-01-15 12:03:16
问题 I am having errors attempting to upload a file larger than 4 megs in my MVC project. The upload works fine for smaller files. Looking online, I saw that I should add <httpRuntime maxRequestLength="200000" executionTimeout="240"/> to my web config, in system web, but that has had no effect. The connection is still resetting. Are there other configs that need to be changed that I may have missed? The file is 10 megs, so that request length is plenty large enough. The request is not timing out,

Connection reset by peer: socket write error - cfcontent on Coldfusion 10

て烟熏妆下的殇ゞ 提交于 2020-01-11 08:42:13
问题 We recently upgraded from Coldfusion 9 to CF10 and I'm now receiving a sporadic error on a page where I'm using cfcontent to serve documents (pdf, doc, etc.) I'm using cfcontent to control access to the files, as some are for internal use only. This was not occurring when using CF9 (both standard), and I'm thinking it may be related to the change to Tomcat. I can't recreate the error, but it's occurring 200 times per day or so: coldfusion.tagext.OutputException: The cause of this output

Java request file, send file (Client-server)

我只是一个虾纸丫 提交于 2019-12-24 04:02:10
问题 I'm making a Client-Server. I've gotten as far as that the server can send a hardcoded file, but not a client specified. I will have to send only text files. As far as I have understood: the clients firstly sends the file name and then, the server sends it, nothing complicated, but I'm getting all kinds of errors, this code is getting a connection reset/socket closed error. The main problem is, that hadn't got much time to research networking. Ill appreciate any help I can get. EDIT. I found

Getting 'An existing connection was forcibly closed by the remote host.' from Azure

随声附和 提交于 2019-12-08 20:41:55
问题 While trying to follow the 'Get Started with Events Hub' example for Microsoft Azure (http://azure.microsoft.com/en-us/documentation/articles/service-bus-event-hubs-csharp-ephcs-getstarted/#introduction), when I try to run either receiver or sender programs defined there, I get the following exception: 'An existing connection was forcibly closed by the remote host.' Since this is while trying to connect to Azure, and in the Azure portal everything seems to be in place (following the example

notifications push ios: Connection reset by peer

前提是你 提交于 2019-12-07 07:37:35
问题 I’m trying to do a notifications system for apple devices, but I’m getting the following errors when I try to run it on the server: Warning: stream_socket_client(): SSL: Connection reset by peer in /home/empresa/public_html/simplepush/push.php on line 30 Warning: stream_socket_client(): Failed to enable crypto in /home/empresa /public_html/push/push.php on line 30 Warning: stream_socket_client(): unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error) in /home/empresa

Connection reset by peer: socket write error - cfcontent on Coldfusion 10

淺唱寂寞╮ 提交于 2019-12-01 17:08:29
We recently upgraded from Coldfusion 9 to CF10 and I'm now receiving a sporadic error on a page where I'm using cfcontent to serve documents (pdf, doc, etc.) I'm using cfcontent to control access to the files, as some are for internal use only. This was not occurring when using CF9 (both standard), and I'm thinking it may be related to the change to Tomcat. I can't recreate the error, but it's occurring 200 times per day or so: coldfusion.tagext.OutputException: The cause of this output exception was that: ClientAbortException: java.net.SocketException: Connection reset by peer: socket write

How to return a List<object> in WCF

房东的猫 提交于 2019-11-29 13:16:24
I have my WCF service returning data both in XML and JSON format. One functios has to return a List, because I don't know which class will be used to fill this list. So, I have my class: public class WrapHome { public WrapHome() { } private string p_TITOLO { get; set; } public string TITOLO { get { return p_TITOLO.ToString(); } set { p_TITOLO = value; } } private List<object> p_CHART { get; set; } public List<object> CHART { get { return p_CHART; } set { p_CHART = value; } } } and my WCF declaration: [OperationContract] [WebGet(UriTemplate = "datiHome.xml?token={token}&p1={p1}&p2={p2}",

Connection Reset when port forwarding with Vagrant

我与影子孤独终老i 提交于 2019-11-28 20:59:02
问题 I have Vagrant/VirtualBox running an Ubuntu 12.04 LTS OS. I have configured Vagrant to forward the guest port 8000 to my host port 8888. [default] Preparing network interfaces based on configuration... [default] Forwarding ports... [default] -- 22 => 2222 (adapter 1) [default] -- 8000 => 8888 (adapter 1) [default] Booting VM... [default] Waiting for VM to boot. This can take a few minutes. [default] VM booted and ready for use! When the virtual machine starts up, I start a Django dev server

SQLRecoverableException: I/O Exception: Connection reset

假装没事ソ 提交于 2019-11-28 17:38:32
Yesterday evening I left the office with a running Java program written by me. It should insert a lot of records into our company database (Oracle) using a JDBC connection. This morning when I came back to work I saw this error (caught by a try-catch): java.sql.SQLRecoverableException: I/O Exception: Connection reset The program wrote almost all records before getting this problem, but what if it happens early (just minutes after I leave the office at evening)? I cannot understand what happened, I contacted my database admin and he said there was no particular issue on the database. Any idea