403 Forbidden?

1,033 views
Skip to first unread message

Arthur Gilbert

unread,
Apr 21, 2017, 11:12:52 AM4/21/17
to web2py-users

Just started web2py.  Going thro' Massimo di Pierro's 5 lectures on you tube.  Making good progress, excited about the system and everything working well.  BUT, when I went back to it, today, I clicked on Admin (of the welcome page) I got a long delay and then "403 FORBIDDEN". The page is showing "http://127.0.0.1:8000/admin/default/index" as it should. I am not aware of changing anything on my system, I am using xubuntu and Firefox. Web2py version 2.14.6-stable+timestamp.2016.05.10.00.21.47.

Please help,
Thanks.

Massimo Di Pierro

unread,
Apr 21, 2017, 11:39:59 AM4/21/17
to web2py-users
You normally get that is you fail too many logins. It resets itself after 15 minutes.

A.H.Gilbert

unread,
Apr 21, 2017, 12:08:07 PM4/21/17
to web...@googlegroups.com
Thanks for reply Massimo and especial thanks for making all this available; I like it much better than Rails. 

I don't think failed logins was the problem.  I have now cured it by removing and re-installing web2py (after saving all the copies of my working though your lectures).

------------------
Best Wishes,
Howard

"If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain"


--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/9T4E2MS8kfY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Erick R.

unread,
May 5, 2017, 5:02:31 PM5/5/17
to web2py-users
Hello,

I am having a similar problem with my admin page of my domain at https://www.positivethoughtsdaily.com/admin. I initially accessed my admin console and failed too many password attempts. Then I began seeing a "Forbidden 403" page instead of the admin password entry page. I typically access my admin page via the web2py interface through port 80. Here is what I have tried so far:
  1. I contacted PythonAnywhere, my hosting service, and they provided me with code to reset my admin password. I did this.
  2. I removed and reinstalled web2py and updated to the latest version as Howard did, but the "403 Forbidden" page is still there.
  3. It has now been two days since I was initially locked out, so it appears that waiting is not working either.
Any suggestions to try next? Apologies if I am missing something simple here.

Thanks,
Erick
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.

Dave S

unread,
May 6, 2017, 3:33:07 AM5/6/17
to web2py-users
On Friday, May 5, 2017 at 2:02:31 PM UTC-7, Erick R. wrote:
Hello,

I am having a similar problem with my admin page of my domain at https://www.positivethoughtsdaily.com/admin. I initially accessed my admin console and failed too many password attempts. Then I began seeing a "Forbidden 403" page instead of the admin password entry page. I typically access my admin page via the web2py interface through port 80. Here is what I have tried so far:
  1. I contacted PythonAnywhere, my hosting service, and they provided me with code to reset my admin password. I did this.
  2. I removed and reinstalled web2py and updated to the latest version as Howard did, but the "403 Forbidden" page is still there.
  3. It has now been two days since I was initially locked out, so it appears that waiting is not working either.
Any suggestions to try next? Apologies if I am missing something simple here.

Thanks,
Erick



Look for hosts.deny in the admin app .... applications/admin/private/hosts.deny

/dps

A.H.Gilbert

unread,
May 6, 2017, 4:24:28 AM5/6/17
to web...@googlegroups.com
HI Erick,

Can't help BUT your post made me realise I had this problem after using PythonAnywhere..

------------------
Best Wishes,
Howard

"If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain"


To unsubscribe from this group and all its topics, send an email to web2py+unsubscribe@googlegroups.com.

Yebach

unread,
Jun 27, 2018, 5:45:21 AM6/27/18
to web2py-users
I have a similar problem

I am running web2py on windows 10 machine on azure.

When I insert URL someurladdress.si I get an error 403, but If I insert someurladdress.si:8000/bilbanstevci it all works fine.

Any suggestions? 

My web2py start line is python web2py.py -i 0.0.0.0. -a pass

If I added ports or any other IP (like ipconfig IP) it did not work. Not even from server's browser
Reply all
Reply to author
Forward
0 new messages