Skip to main content
11 events
when toggle format what by license comment
Oct 4, 2019 at 16:15 vote accept jmb2341
Oct 4, 2019 at 7:27 answer added Juraj timeline score: 1
Oct 3, 2019 at 21:52 comment added jmb2341 @Juraj Your solution worked for me, if you post an answer I will accept it. As background, I tried the Ethernet lib vs. Ethernet2, I tried HTTP/1.0 vs HTTP/1.1, also adding just a client.flush() statement after my requests. I tried using just an IP address to avoid the DNS requests and speeding things up by using a different, faster, DNS like 1.1.1.1 or 8.8.8.8. Finally the two things that helped were, keeping the connection open whenever possible with Connection: Keep-Alive and the StreamLib library ChunkedPrint example.
Aug 7, 2019 at 9:40 comment added Juraj yes, use buffering github.com/jandrassy/StreamLib/blob/master/README.md
Aug 7, 2019 at 9:37 comment added Gerben The only things I can think of to try HTTP/1.0 instead of HTTP/1.1. Or maybe combining all the client.prints so everything is send in a single packet, instead of possibly multiple (I couldn't figure out if that is even the case).
Aug 7, 2019 at 8:21 comment added Juraj try the Ethernet library
Aug 7, 2019 at 5:02 comment added jsotola my apologies, i did not read your post carefully ... you already explained that the Pi is connecting correctly
Aug 6, 2019 at 23:47 comment added jmb2341 @jsotola yes, I am able to connect to either server using a raspberry pi on the same network as the arduino in Uganda (connected to the same router). I am also able to connect to both servers with both attempted Arduino sketches from the US. I am here considering a raspberry pi as a computer.
Aug 6, 2019 at 23:09 history edited VE7JRO CC BY-SA 4.0
Fixed syntax highlighting.
Aug 6, 2019 at 22:33 history edited jmb2341 CC BY-SA 4.0
added 199 characters in body
Aug 6, 2019 at 22:28 history asked jmb2341 CC BY-SA 4.0