Re: [web2py] Re: scheduler task setting 127.0.0.1 when Host=True

2017-01-31 Thread António Ramos
Solved. Thank you 2017-01-31 17:15 GMT+00:00 Leonel Câmara : > Yeah that's what I thought. host=True makes URL use request.env.http_host, > except the scheduler doesn't have a real request so it becomes 127.0.0.1. > > Instead of host=True put the actual domain host='ramos.com' or read it > from a

Re: [web2py] Re: scheduler task setting 127.0.0.1 when Host=True

2017-01-31 Thread António Ramos
Forget my sign url function. my mistake... i should have simplified it to the problem... a simple URL('fileit','events','list',host=True) in my scheduler task produces http://127.0.0.1:8000/fileit/events/list Regards 2017-01-31 12:53 GMT+00:00 Leonel Câmara : > What is sign_url doing? > > How ar