scaleway-cli icon indicating copy to clipboard operation
scaleway-cli copied to clipboard

UDP CONNECTIONS DON'T WORK!!!

Open ALEX778899 opened this issue 8 years ago • 16 comments

Hello, scaleway.com support team told us to open an issue here. IOTA IRI can't work in scaleway.com with UDP protocol, we tested IOTA IRI with other VPS companies and works like a charm. The problem could be you check the size of packets and for security doesn’t accept to fragment. You can easy test it the UDP problem from YOUR SIDE, just use https://hub.docker.com/r/bluedigits/iota-node/ I advice you to solve the problem ASAP because IOTA is growing, works very fast with UDP protocol and scaleway.com is loosing a lot of IOTA customers.....

Please let me know ASAP Thanks in advance

ALEX778899 avatar Dec 26 '17 11:12 ALEX778899

I concur - UDP fragmentation is the problem and IOTA uses larger UDP packets. I haven't tried VPS servers but I can confirm that it does not work on baremetal servers.

Instead of running IOTA in a Docker container, you can use nping to send large UDP packets to Scaleway VPS/baremetal server and monitor received packets with tcpdump. You will see that UDP fragments get discarded.

I.e. nping --udp -p <VPS port> --data-length 1650 <VPS IP> will send UDP packet of 1650 bytes to selected IP and port.

This issue is really annoying as more and more IOTA nodes are using UDP due to Nelson and TCP bugs in IRI.

akomelj avatar Jan 05 '18 22:01 akomelj

Hi,

We've been in the rush in the last few days, but I'll give an answer to the issue as soon as possible.

brmzkw avatar Jan 05 '18 22:01 brmzkw

Hi,

We improve the NAT located in Paris. Can you please retry?

brmzkw avatar Jan 24 '18 10:01 brmzkw

No, it's still the same. Only 1480 bytes (in a UDP frame of 1514 bytes) arrive when sent from outside network.

Tested with nping --udp -p <VPS port> --data-length 1650 <VPS IP> on the sending side and tcpdump -i eth0 -s 2048 -w udp.pcap udp port <VPS port> on the receiving side (parameter -s 2048: store 2k of packet data to output packet file -w). PCAP file contains shortened packets.

akomelj avatar Jan 24 '18 11:01 akomelj

Still the same here.

viossat avatar Jan 24 '18 11:01 viossat

Same issue for me today

carbonimax avatar Feb 26 '18 17:02 carbonimax

same here

zoran avatar Mar 01 '18 00:03 zoran

Hi guys, I can confirm we identified the issue (though a bit tricky), it's not a simple and quick fix, but the team is working on it I hope to have good news within the next few weeks, thanks for your patience

mmarchand avatar Mar 01 '18 22:03 mmarchand

Do you have any updates?

DarkShimy00 avatar Apr 10 '18 17:04 DarkShimy00

yes, we have a fix, I am checking for deployment ETA now

mmarchand avatar Apr 10 '18 17:04 mmarchand

Hi, any news on that?

DarkShimy00 avatar May 03 '18 19:05 DarkShimy00

should be in production on all NAT servers within the next week

mmarchand avatar May 04 '18 08:05 mmarchand

@akomelj Have you had a chance to retest this from your end? :smile:

justinclift avatar Nov 04 '18 03:11 justinclift

Hi, sorry for the delay - I actually didn't know that the fix was had already been installed. :-(

Anyway, I have just run the tests and now it appears that all fragments are coming through. Great!

Wireshark dump screenshots w/ all fragments: selection_022

akomelj avatar Nov 06 '18 10:11 akomelj

Too much time, I don't need anymore.

ALEX778899 avatar Nov 06 '18 10:11 ALEX778899

Excellent. Thanks for testing and confirming @akomelj. :smile:

justinclift avatar Nov 07 '18 11:11 justinclift