On Mar 17, 2010, at 9:10 AM, mdipierro wrote: > replace http://... with https://.... > > GAE has its own certificate. It works for me at > > https://web2py-crm.appspot.com/init/appadmin
Where's the best approximation of a cookbook approach for running web2py on GAE? I looked at the deployment chapter of the book, and it's very, very sketchy. I couldn't find much on slices or the wiki. (BTW, the above link left my in a loop asking for my Google password.) > > On Mar 17, 10:23 am, mat -- <mat...@gmail.com> wrote: >> Hi - can someone (re)explain how to get appadmin running on GAE? >> On non-GAE hosting I understand it requires SSH tunnel. But is there an >> equivalent on GAE? Currently, when accessing appadmin on both local GAE and >> GAE I get: "Admin is disable because insecure channel". Does the app.yaml >> file need to be edited? >> Thanks! >> >> >> >> On Wed, Mar 17, 2010 at 4:43 PM, mdipierro <mdipie...@cs.depaul.edu> wrote: >>> This is not a web2py issue. >> >>> File "<string>", line 1, in bind >>> socket.error: (48, 'Address already in use') >> >>> You have some other server running using the same port. >> >>> I just tried appadmin and works file with me. >> >>> On Mar 17, 8:57 am, Al <albertsec...@gmail.com> wrote: >>>> The appadmin can be run on GAE, but it cannot run on local GAE SDK. >>>> (note: I have been thinking it might due to some basic settings, not >>>> just my code, which I have overlooked, as running T3 and C.R.M >>>> appliances have the same problem). I have customised myapp according >>>> to the web2py manual to suit GAE deployment. Also I always got the >>>> same result on both my mac and windows machines >> >>>> Here is the log on the console: >> >>>> *** Running dev_appserver with the following flags: >>>> --admin_console_server= --port=8009 --clear_datastore >>>> Python command: /usr/bin/python2.5 >>>> WARNING 2010-03-17 13:45:04,091 datastore_file_stub.py:623] Could not >>>> read datastore data from /var/folders/fd/fdhbJFB5Hj8Bou9ORL02zE+++TM/- >>>> Tmp-/dev_appserver.datastore >>>> Traceback (most recent call last): >>>> File "/Users/albertc/Desktop/GoogleAppEngineLauncher.app/Contents/ >>>> Resources/GoogleAppEngine-default.bundle/Contents/Resources/ >>>> google_appengine/dev_appserver.py", line 68, in <module> >>>> run_file(__file__, globals()) >>>> File "/Users/albertc/Desktop/GoogleAppEngineLauncher.app/Contents/ >>>> Resources/GoogleAppEngine-default.bundle/Contents/Resources/ >>>> google_appengine/dev_appserver.py", line 64, in run_file >>>> execfile(script_path, globals_) >>>> File "/Users/albertc/Desktop/GoogleAppEngineLauncher.app/Contents/ >>>> Resources/GoogleAppEngine-default.bundle/Contents/Resources/ >>>> google_appengine/google/appengine/tools/dev_appserver_main.py", line >>>> 417, in <module> >>>> sys.exit(main(sys.argv)) >>>> File "/Users/albertc/Desktop/GoogleAppEngineLauncher.app/Contents/ >>>> Resources/GoogleAppEngine-default.bundle/Contents/Resources/ >>>> google_appengine/google/appengine/tools/dev_appserver_main.py", line >>>> 394, in main >>>> static_caching=static_caching) >>>> File "/Users/albertc/Desktop/GoogleAppEngineLauncher.app/Contents/ >>>> Resources/GoogleAppEngine-default.bundle/Contents/Resources/ >>>> google_appengine/google/appengine/tools/dev_appserver.py", line 3727, >>>> in CreateServer >>>> return HTTPServerWithScheduler((serve_address, port), >>>> handler_class) >>>> File "/Users/albertc/Desktop/GoogleAppEngineLauncher.app/Contents/ >>>> Resources/GoogleAppEngine-default.bundle/Contents/Resources/ >>>> google_appengine/google/appengine/tools/dev_appserver.py", line 3741, >>>> in __init__ >>>> request_handler_class) >>>> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ >>>> python2.5/SocketServer.py", line 330, in __init__ >>>> self.server_bind() >>>> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ >>>> python2.5/BaseHTTPServer.py", line 101, in server_bind >>>> SocketServer.TCPServer.server_bind(self) >>>> File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ >>>> python2.5/SocketServer.py", line 341, in server_bind >>>> self.socket.bind(self.server_address) >>>> File "<string>", line 1, in bind >>>> socket.error: (48, 'Address already in use') >> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "web2py-users" group. >>> To post to this group, send email to web...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/web2py?hl=en. >> >> -- >> Mat > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.