Here is a packet sequence to blynk server which all looks OK at the network level.
This results from using the basic manual ethernet sketch but I also tried the dhcp version with the same problem.
(I also tried various versions of arduino and blynk s/w - see issue ‘Possible bug shows up in serial monitor’
The hardware is arduino uno, 5100 wiz net shield, fortinet router.
So why doesnt the arduino connect to the Blynk network ?
Packet sequence repeats, serial monitor just shows “connecting to cloud blynk”.
APP says arduino is not in network.
Arduino asks for router gateway mac address
2.480158 internal – arp who-has 192.168.5.1 tell 192.168.5.2
0x0000 0001 0800 0604 0001 deed bafe feed c0a8 …
0x0010 0502 0000 0000 0000 c0a8 0501 0000 0000 …
0x0020 0000 0000 0000 0000 0000 0000 0000 …
Router responds with mac address
2.480203 internal – arp reply 192.168.5.1 is-at 0:9:f:54:41:a4
0x0000 0001 0800 0604 0002 0009 0f54 41a4 c0a8 …TA…
0x0010 0501 deed bafe feed c0a8 0502 …
Arduino asks DNS for ip address of blynk server
2.480280 internal – 192.168.5.2.1028 -> 212.104.130.9.53: udp 32
0x0000 4500 003c 0302 4000 8011 db92 c0a8 0502 E…<…@…
0x0010 d468 8209 0404 0035 0028 e38d cdd6 0100 .h…5.(…
0x0020 0001 0000 0000 0000 0563 6c6f 7564 0562 …cloud.b
0x0030 6c79 6e6b 0263 6300 0001 0001 lynk.cc…
DNS server responds with blynk server IP address
2.026845 internal – 212.104.130.9.53 -> 192.168.5.2.1035: udp 163
0x0000 4500 00bf 56b0 0000 3a11 0d62 d468 8209 E…V…:…b.h…
0x0010 c0a8 0502 0035 040b 00ab 8273 b42c 8180 …5…s.,…
0x0020 0001 0001 0002 0003 0563 6c6f 7564 0562 …cloud.b
0x0030 6c79 6e6b 0263 6300 0001 0001 c00c 0001 lynk.cc…
0x0040 0001 0000 0290 0004 2d37 c366 c012 0002 …-7.f…
0x0050 0001 0000 013d 0018 046e 7337 370d 646f …=…ns77.do
0x0060 6d61 696e 636f 6e74 726f 6c03 636f 6d00 maincontrol.com.
0x0070 c012 0002 0001 0000 013d 0007 046e 7337 …=…ns7
0x0080 38c0 41c0 6000 0100 0100 027c bf00 04d0 8.A.......|.... 0x0090 6dff 31c0 6000 1c00 0100 0140 df00 1026 m.1.
…@…&
0x00a0 07f2 0803 0200 0000 0000 0000 0000 31c0 …1.
0x00b0 3c00 0100 0100 0292 3100 04d8 45b9 31 <…1…E.1
Arduino asks again for router gateway address (because its a bit simple !)
2.061904 internal – arp who-has 192.168.5.1 tell 192.168.5.2
0x0000 0001 0800 0604 0001 deed bafe feed c0a8 …
0x0010 0502 0000 0000 0000 c0a8 0501 0000 0000 …
0x0020 0000 0000 0000 0000 0000 0000 0000 …
Router responds with mac address.
2.061954 internal – arp reply 192.168.5.1 is-at 0:9:f:54:41:a4
0x0000 0001 0800 0604 0002 0009 0f54 41a4 c0a8 …TA…
0x0010 0501 deed bafe feed c0a8 0502 …
Arduino starts a communication with Blynk server
2.062031 internal – 192.168.5.2.49384 -> 45.55.195.102.8442: syn 796545213
0x0000 4500 002c 03a0 4000 8006 40e4 c0a8 0502 E…,…@…@…
0x0010 2d37 c366 c0e8 20fa 2f7a 50bd 0000 0000 -7.f…/zP…
0x0020 6002 0800 77c4 0000 0204 05b4 0000 `…w…
Blynk server responds and acknowledges
2.150733 internal – 45.55.195.102.8442 -> 192.168.5.2.49384: syn 3367879727 ack 796545214
0x0000 4500 002c 0000 4000 3606 8e84 2d37 c366 E…,…@.6…-7.f
0x0010 c0a8 0502 20fa c0e8 c8bd c42f 2f7a 50be …//zP.
0x0020 6012 7210 80b5 0000 0204 05b4 `.r…
Arduino acknowledges
2.150815 internal – 192.168.5.2.49384 -> 45.55.195.102.8442: ack 3367879728
0x0000 4500 0028 03a1 4000 8006 40e7 c0a8 0502 E…(…@…@…
0x0010 2d37 c366 c0e8 20fa 2f7a 50be c8bd c430 -7.f…/zP…0
0x0020 5010 0800 0283 0000 0000 0000 0000 P…
Blynk servers send s a fin and acknowledge to complete sequence
2.197310 internal – 45.55.195.102.8442 -> 192.168.5.2.49381: fin 1805512158 ack 420454379
0x0000 4500 0028 a58c 4000 3606 e8fb 2d37 c366 E…(…@.6…-7.f
0x0010 c0a8 0502 20fa c0e5 6b9d edde 190f 9feb …k…
0x0020 5011 7210 9324 0000 P.r…$…