Hi there,
I'm back just to inform that we haven't found the cause of the problem yet, but we've been doing a lot of tests (with Linode support guys, and with a couple of nginx professionals hired in upwork). The problem still remains, but we have concluded that it's not related to web2py or sessions. Also, the problem is not related to nginx webserver configuration. And also the problem is not related to firewall or network configuration.
A really weird problem in deed. The problem is only reproducible with ISPs from Argentina (so far). Using the same internet connection, two or more desktops can browse our domains (all pointed to the same IP address). However, when a mobile browser uses that same internet connection to access any of our domains, then the desktops hang "connection", and they hang until timeout. But mobile keeps browsing without any problem.
With all the tests we run we have concluded that, in those cases, the request never even reaches the server, so the problem has something to do with the network between the customer and our server. Really weird.
Well, I just wanted to tell you, and let clear that web2py isn't the cause of the problem. I hope to find it soon!
Sorry to bother.
Thanks for your time.
Regards, Lisandro.