We have been working on a product using a S7G2 part on ssp1.4.0 being built with the IAR tools. We have discovered a weirdness we cant explain when we connect to the device through a VPN. We have been working on the code base for months using an internal network. No issues. Multiple machines hitting the device pounding on several different ports without any troubles. Today we connected to it via a VPN. Specifically a Ubiquiti Edge router lite running 1.10.7. The vpn client joins the the network with a 192.168.3.201 IP number. Once in the vpn client computer can ping the device(192.168.3.240) and also get data from port 502. If we point a web browser at the device the webpages do not load or only partially load, the pings will time out and then destination host becomes unreachable. All of the other local machines also loose access to the device as well. We have our our packet pool packet size set for 1568, and have 32 packets in the pool. We are using 8 recv and 32 transmit buffer descriptors. Our gateway is configured for .3.1.
The zipped logs are just over the limit for adding to the post, but you can get to the zip file though this link. (if it does not work please let me know) What is weird is when the connection is to a local computer everything looks nice and clean. You see the requests and then see the packets and their acks. When the connection is though the VPN you see lots of packets going out and then lots of acks coming back in groups. Not nice and orderly like the local machine is doing. Eventually you see where the device drops off the network. We are wondering if we are running out of packet. If that is the case, would the files eventually load and the ack come back? Unless all the packets eventually get lost then no acks would come back. Would that cause the webserver and tcp for that matter to completely go offline and not recover. If this is running out of packets in the pool, Is there a setting for them to shorten the time out for the outstanding packets, or should the packet pool be set to a larger number? Is there a recommended setting based upon the size of the files we are sending? We have about 0.5MB of data that is sent to a uncached browser and the largest file is around ~120KB.
Has anyone had any experiences like this and have any recommendations?
In reply to WarrenM:
In reply to Bowmanm:
In reply to rupertm: