Native Ethernet, 4.1, "The connection was reset" on sending other than a tiny file

Status
Not open for further replies.

MartinJR

Member
Native Ethernet, 4.1, "The connection was reset" on sending other than a tiny file

I have native ethernet working on a Teensy 4.1 and using the examples at https://startingelectronics.org/tutorials/arduino/ethernet-shield-web-server-tutorial/SD-card-web-server/ I can get it to send a very small HTML file to a browser just fine. However, for a file size of anything above the bare minimum for valid HTML, the client browser responds with "The connection was reset". I am happy that the code works, but is there some sort of timeout somewhere that would force EthernetServer to close the connection prematurely and prevent sending the whole file?

If not, what else could be causing this problem please?

Thanks.
 
Status
Not open for further replies.
Back
Top