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.

El miércoles, 17 de agosto de 2016, 8:36:00 (UTC-3), Lisandro escribió:
>
> Anthony, my first thought was about the cookies session, but I was wrong. 
> I've just tried disabling cookies in all of my browsers (mobile and 
> desktop), but the problem remains.
>
> I've been doing some more tests, and I think the problem isn't web2py 
> related, but more network related.
> Some points that I should mention:
>
>    - The problem is the same with all the websites I have running in my 
>    server
>    - The problem is reproducible using any router or ISP.
>    - All of my websites are served through domains, and all the domains 
>    are pointed to the same server, with a unique IP address.
>
> I think the problem may be related to a missconfiguration of the server 
> provider (I'm using Linode).
> I've just contacted them with the problem, I will be back here when I 
> receive their answer.
>
>
>
> El miércoles, 17 de agosto de 2016, 1:18:13 (UTC-3), Anthony escribió:
>>
>> I'm not sure what the actual problem is, but what leads you to believe it 
>> has anything to do with cookies?
>>
>> On Tuesday, August 16, 2016 at 7:08:00 PM UTC-4, Lisandro wrote:
>>>
>>> I'm having this strange problem, and I would like to know if it is a 
>>> web2py bug or is something that I'm missing.
>>>
>>> My web2py app is accesed through a domain, and in the model file, I 
>>> connect to the db and to the session like this:
>>>
>>> db = DAL('postgres:.....', migrate=False, lazy_tables=True)
>>> session.connect(request, response, db=db, masterapp='myapp')
>>>
>>> It's a bit difficult to explain the problem, so here are the steps to 
>>> reproduce it:
>>>
>>>    1. *From a mobile device using Chrome or Firefox*, open this website 
>>>    http://nachoesbo.com (this will ejecute the /default/index).
>>>
>>>    2. Browse the web nachoesbo.com for a few seconds.
>>>    
>>>    3. Try to access the same web through Chrome or Firefox *in a 
>>>    desktop pc using **the same internet connection*. 
>>>    In this point, the browser will stay "connecting" to domain, and it 
>>>    will hang until timeout. 
>>>    This situation will stay this way until you close the mobile browser 
>>>    (or after a few minutes).
>>>    
>>>    
>>> I'm really pulling my hair off with this. 
>>> I'm experiencing the same problem with all of my web2py applications.
>>> The same problem occurs using a different router and a different ISP.
>>>
>>> I've checked the cookies and there is nothing odd. I don't store 
>>> anything in the cookie, it's just the default behaviour. 
>>>
>>> What could I be missing?
>>>
>>>
>>>
>>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to