[web2py] Re: server settings.

2011-12-11 Thread Mchurch
Thanks Massimo, I resolve it immediately after Your suggestions using
Tornado.
Rocket allows images until 123KB, not over in my case.
The issue shows up with both Opera mobile and android stock browser.
I've lost my brain in it yesterday, thanks!!
My best compliments for Your work.

On 11 Dic, 07:15, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
 What's your mobile browser? How big are the images? It is possible
 there is a problem with chunked encoding with rocket. Other users have
 mentioned this and we are working on it. Meanwhile, can you try using
 apache or another web server? (look into web2py/anyserver.py)

 On Dec 10, 8:12 pm, Mchurch mchurc...@gmail.com wrote:







  Hallo guys, I'm a newbie  in Web2py, but I like it a lot. I didn't
  want to post for a such stupid question  but I'm stuck and don't know
  how to resolve it.
  I moved an application from rails to Web2py. basically a dynamic photo
  gallery, and everything is working fine on my desktop. But on mobile
  phones, somehow, I can't see heavy images (200 Kb), but light images
  only! even changing the jquery lightbox with another, I can load
  maximum 1/4 of heavy images. Is it possible that Web2py server is
  blocking it somehow? The same jquery on rails works well, please, I
  don't want to come back to raiiilss. No errors in console.
  Nothing. If I change pictures with lighter ones, it works. I really
  don't know where to look.
  Mac, local host shared.on 0.0.0.0:8000/application
  Thanks for Your time.
  :/


[web2py] Re: server settings.

2011-12-11 Thread Mchurch
Massimo, how (where) can I change the default web server?
I can't find it in posts...

On 11 Dic, 10:44, Mchurch mchurc...@gmail.com wrote:
 Thanks Massimo, I resolve it immediately after Your suggestions using
 Tornado.
 Rocket allows images until 123KB, not over in my case.
 The issue shows up with both Opera mobile and android stock browser.
 I've lost my brain in it yesterday, thanks!!
 My best compliments for Your work.

 On 11 Dic, 07:15, Massimo Di Pierro massimo.dipie...@gmail.com
 wrote:







  What's your mobile browser? How big are the images? It is possible
  there is a problem with chunked encoding with rocket. Other users have
  mentioned this and we are working on it. Meanwhile, can you try using
  apache or another web server? (look into web2py/anyserver.py)

  On Dec 10, 8:12 pm, Mchurch mchurc...@gmail.com wrote:

   Hallo guys, I'm a newbie  in Web2py, but I like it a lot. I didn't
   want to post for a such stupid question  but I'm stuck and don't know
   how to resolve it.
   I moved an application from rails to Web2py. basically a dynamic photo
   gallery, and everything is working fine on my desktop. But on mobile
   phones, somehow, I can't see heavy images (200 Kb), but light images
   only! even changing the jquery lightbox with another, I can load
   maximum 1/4 of heavy images. Is it possible that Web2py server is
   blocking it somehow? The same jquery on rails works well, please, I
   don't want to come back to raiiilss. No errors in console.
   Nothing. If I change pictures with lighter ones, it works. I really
   don't know where to look.
   Mac, local host shared.on 0.0.0.0:8000/application
   Thanks for Your time.
   :/


[web2py] Re: server settings.

2011-12-11 Thread Massimo Di Pierro
Is there any ways you can do a packet capture and record what is going
on when you use Opera and Rocket?

If we can get some data should be an easy fix.

On Dec 11, 3:44 am, Mchurch mchurc...@gmail.com wrote:
 Thanks Massimo, I resolve it immediately after Your suggestions using
 Tornado.
 Rocket allows images until 123KB, not over in my case.
 The issue shows up with both Opera mobile and android stock browser.
 I've lost my brain in it yesterday, thanks!!
 My best compliments for Your work.

 On 11 Dic, 07:15, Massimo Di Pierro massimo.dipie...@gmail.com
 wrote:







  What's your mobile browser? How big are the images? It is possible
  there is a problem with chunked encoding with rocket. Other users have
  mentioned this and we are working on it. Meanwhile, can you try using
  apache or another web server? (look into web2py/anyserver.py)

  On Dec 10, 8:12 pm, Mchurch mchurc...@gmail.com wrote:

   Hallo guys, I'm a newbie  in Web2py, but I like it a lot. I didn't
   want to post for a such stupid question  but I'm stuck and don't know
   how to resolve it.
   I moved an application from rails to Web2py. basically a dynamic photo
   gallery, and everything is working fine on my desktop. But on mobile
   phones, somehow, I can't see heavy images (200 Kb), but light images
   only! even changing the jquery lightbox with another, I can load
   maximum 1/4 of heavy images. Is it possible that Web2py server is
   blocking it somehow? The same jquery on rails works well, please, I
   don't want to come back to raiiilss. No errors in console.
   Nothing. If I change pictures with lighter ones, it works. I really
   don't know where to look.
   Mac, local host shared.on 0.0.0.0:8000/application
   Thanks for Your time.
   :/


[web2py] Re: server settings.

2011-12-11 Thread Mchurch
Of course! The problem is to understand what You are asking me to
do...
:)

On Dec 11, 4:38 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
 Is there any ways you can do a packet capture and record what is going
 on when you use Opera and Rocket?

 If we can get some data should be an easy fix.

 On Dec 11, 3:44 am, Mchurch mchurc...@gmail.com wrote:







  Thanks Massimo, I resolve it immediately after Your suggestions using
  Tornado.
  Rocket allows images until 123KB, not over in my case.
  The issue shows up with both Opera mobile and android stock browser.
  I've lost my brain in it yesterday, thanks!!
  My best compliments for Your work.

  On 11 Dic, 07:15, Massimo Di Pierro massimo.dipie...@gmail.com
  wrote:

   What's your mobile browser? How big are the images? It is possible
   there is a problem with chunked encoding with rocket. Other users have
   mentioned this and we are working on it. Meanwhile, can you try using
   apache or another web server? (look into web2py/anyserver.py)

   On Dec 10, 8:12 pm, Mchurch mchurc...@gmail.com wrote:

Hallo guys, I'm a newbie  in Web2py, but I like it a lot. I didn't
want to post for a such stupid question  but I'm stuck and don't know
how to resolve it.
I moved an application from rails to Web2py. basically a dynamic photo
gallery, and everything is working fine on my desktop. But on mobile
phones, somehow, I can't see heavy images (200 Kb), but light images
only! even changing the jquery lightbox with another, I can load
maximum 1/4 of heavy images. Is it possible that Web2py server is
blocking it somehow? The same jquery on rails works well, please, I
don't want to come back to raiiilss. No errors in console.
Nothing. If I change pictures with lighter ones, it works. I really
don't know where to look.
Mac, local host shared.on 0.0.0.0:8000/application
Thanks for Your time.
:/


[web2py] Re: server settings.

2011-12-11 Thread Massimo Di Pierro
There is a program called wireshark. It allows to record network
traffic and save it to a file. Assuming you run rocket/web2py on port
8000. you can tell it to record all traffic to and from port 8000,
then run the dowload that fails. Dump the wireshark recording to a
file and send it to me. Wireshark is free and should be easy to use.

Massimo

On Dec 11, 10:14 am, Mchurch mchurc...@gmail.com wrote:
 Of course! The problem is to understand what You are asking me to
 do...
 :)

 On Dec 11, 4:38 pm, Massimo Di Pierro massimo.dipie...@gmail.com
 wrote:







  Is there any ways you can do a packet capture and record what is going
  on when you use Opera and Rocket?

  If we can get some data should be an easy fix.

  On Dec 11, 3:44 am, Mchurch mchurc...@gmail.com wrote:

   Thanks Massimo, I resolve it immediately after Your suggestions using
   Tornado.
   Rocket allows images until 123KB, not over in my case.
   The issue shows up with both Opera mobile and android stock browser.
   I've lost my brain in it yesterday, thanks!!
   My best compliments for Your work.

   On 11 Dic, 07:15, Massimo Di Pierro massimo.dipie...@gmail.com
   wrote:

What's your mobile browser? How big are the images? It is possible
there is a problem with chunked encoding with rocket. Other users have
mentioned this and we are working on it. Meanwhile, can you try using
apache or another web server? (look into web2py/anyserver.py)

On Dec 10, 8:12 pm, Mchurch mchurc...@gmail.com wrote:

 Hallo guys, I'm a newbie  in Web2py, but I like it a lot. I didn't
 want to post for a such stupid question  but I'm stuck and don't know
 how to resolve it.
 I moved an application from rails to Web2py. basically a dynamic photo
 gallery, and everything is working fine on my desktop. But on mobile
 phones, somehow, I can't see heavy images (200 Kb), but light images
 only! even changing the jquery lightbox with another, I can load
 maximum 1/4 of heavy images. Is it possible that Web2py server is
 blocking it somehow? The same jquery on rails works well, please, I
 don't want to come back to raiiilss. No errors in console.
 Nothing. If I change pictures with lighter ones, it works. I really
 don't know where to look.
 Mac, local host shared.on 0.0.0.0:8000/application
 Thanks for Your time.
 :/


[web2py] Re: server settings.

2011-12-11 Thread ron_m
I have recorded what might be a similar problem. If I run the application 
using the rocket server where the client browser and server are on the same 
LAN the application works. If I have the client come in from another 
location over a VPN I get partial pages. The Safari archive in the failure 
case is about 100k short of the 400k that a normal page load takes. The 
failed page looks like the jQuery Javascript that places symbols on a map 
did not run at the window.load event. If I take the same server 
configuration to apache/mod_wsgi it works fine in all cases.

An even stranger variable is if I use a different browser such as switching 
from Safari to Firefox it works in both client locations. Possibly 
different browsers have a different load order on resources within the 
page, there are several JS, CSS and image files that make up the page.

It looks to me like a time out on the server cuts short a portion of the 
page in the case the server is rocket and the client is coming on on a VPN 
over the WAN.

I have wireshark captures and Safari save page archives for working and 
failure cases if anyone wants to look. I am going to deploy on apache or 
nginx so the solution was more a matter of interest that I have not got 
around to working on yet.

Ron



[web2py] Re: server settings.

2011-12-10 Thread Massimo Di Pierro
What's your mobile browser? How big are the images? It is possible
there is a problem with chunked encoding with rocket. Other users have
mentioned this and we are working on it. Meanwhile, can you try using
apache or another web server? (look into web2py/anyserver.py)

On Dec 10, 8:12 pm, Mchurch mchurc...@gmail.com wrote:
 Hallo guys, I'm a newbie  in Web2py, but I like it a lot. I didn't
 want to post for a such stupid question  but I'm stuck and don't know
 how to resolve it.
 I moved an application from rails to Web2py. basically a dynamic photo
 gallery, and everything is working fine on my desktop. But on mobile
 phones, somehow, I can't see heavy images (200 Kb), but light images
 only! even changing the jquery lightbox with another, I can load
 maximum 1/4 of heavy images. Is it possible that Web2py server is
 blocking it somehow? The same jquery on rails works well, please, I
 don't want to come back to raiiilss. No errors in console.
 Nothing. If I change pictures with lighter ones, it works. I really
 don't know where to look.
 Mac, local host shared.on 0.0.0.0:8000/application
 Thanks for Your time.
 :/