uhm....... the host is different from the hostname and from the "domain". 
Usually, the pretty thing about the request environment is that there is a 
"Host" header sent by client that indicates which "domain" it has been 
accessed. This makes your application unaware that is running on a 
particular domain, whilst keep it working without issues.
Since the scheduler can run on any hostname (also in ones that don't 
usually have a webserver), we can't known what hostname may have been 
requested, and that host header is never coming in to signal what is the 
proper hostname to use.

tl;dr:  use URL(......., host='www.domain.com') instead of URL(...., 
host=True)

 

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to