[Tangelo-users] No Response From Tangelo Server
Grant Mc Auley
gamcauley at gmail.com
Sun Feb 22 23:01:19 EST 2015
Thank you Curt - that was the issue. My finding out about this was a lot
less hard thanks to your reply ;)
On Sun, Feb 22, 2015 at 10:54 AM, Curt Lisle (KVis) <curtislisle at gmail.com>
wrote:
> Just asking, Is your security zone for the EC2 instance set to allow
> traffic on port 80? The default configuration does not allow traffic
> to/from any ports. I had to find this out the hard way before :-)
>
>
> On Feb 22, 2015, at 12:26 PM, Grant Mc Auley <gamcauley at gmail.com> wrote:
>
> Hello,
>
> I am excited to try Tangelo, but am having trouble running it on an AWS
> ec2 instance of Ubuntu LTS 14.04. I am trying to run the 'now.py' example
> given in a blog post, but am getting a message in the Chrome debugger that
> the connection is timing out.
>
>
> #----------------------------------------------------------------------------------
> It seems the server starts OK (although there is an error message):
>
> ubuntu at ip-172-31-44-22:/usr/local/share/tangelo/web$ sudo tangelo -c
> /etc/tangelo.conf
> [20/Feb/2015:20:47:36] TANGELO Using configuration file /etc/tangelo.conf
> [20/Feb/2015:20:47:36] TANGELO Access authentication enabled
> [20/Feb/2015:20:47:36] TANGELO Sessions enabled
> [20/Feb/2015:20:47:36] TANGELO Hostname: 0.0.0.0
> [20/Feb/2015:20:47:36] TANGELO Port: 80
> [20/Feb/2015:20:47:36] TANGELO Privilege drop enabled (if necessary)
> [20/Feb/2015:20:47:36] TANGELO User: tangelo
> [20/Feb/2015:20:47:36] TANGELO Group: tangelo
> [20/Feb/2015:20:47:36] TANGELO HTTPS disabled
> [20/Feb/2015:20:47:36] TANGELO Serving content from
> /usr/local/share/tangelo/web
> [20/Feb/2015:20:47:36] TANGELO Looking for default plugin configuration
> file in /usr/local/share/tangelo/plugin/plugin.conf
> [20/Feb/2015:20:47:36] TANGELO Using plugin configuration file
> '/usr/local/share/tangelo/plugin/plugin.conf'
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin girder (from
> /usr/local/share/tangelo/plugin/girder)
> [20/Feb/2015:20:47:36] PLUGIN ...loading plugin control module
> [20/Feb/2015:20:47:36] PLUGIN Could not import control module:
> Traceback (most recent call last):
> File "/usr/local/lib/python2.7/dist-packages/tangelo/server.py", line
> 644, in load
> control = self.modules.get(control_file)
> File "/usr/local/lib/python2.7/dist-packages/tangelo/util.py", line 260,
> in get
> service = imp.load_source(name, module)
> File "/usr/local/share/tangelo/plugin/girder/control.py", line 1, in
> <module>
> from girder.utility.server import configureServer
> ImportError: No module named girder.utility.server
>
> [20/Feb/2015:20:47:36] PLUGIN Plugin girder failed to load
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin impala (from
> /usr/local/share/tangelo/plugin/impala)
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin mongo (from
> /usr/local/share/tangelo/plugin/mongo)
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin stream (from
> /usr/local/share/tangelo/plugin/stream)
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin vis (from
> /usr/local/share/tangelo/plugin/vis)
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin config (from
> /usr/local/share/tangelo/plugin/config)
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin vtkweb (from
> /usr/local/share/tangelo/plugin/vtkweb)
> [20/Feb/2015:20:47:36] PLUGIN ...loading plugin control module
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin mapping (from
> /usr/local/share/tangelo/plugin/mapping)
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin svg2pdf (from
> /usr/local/share/tangelo/plugin/svg2pdf)
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin bokeh (from
> /usr/local/share/tangelo/plugin/bokeh)
> [20/Feb/2015:20:47:36] PLUGIN ...loading python module content
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin ui (from
> /usr/local/share/tangelo/plugin/ui)
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin docs (from
> /usr/local/share/tangelo/plugin/docs)
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin data (from
> /usr/local/share/tangelo/plugin/data)
> [20/Feb/2015:20:47:36] PLUGIN Loading plugin tangelo (from
> /usr/local/share/tangelo/plugin/tangelo)
> [20/Feb/2015:20:47:36] TANGELO Performing privilege drop
> [20/Feb/2015:20:47:36] ENGINE Bus STARTING
> [20/Feb/2015:20:47:36] ENGINE Started monitor thread '_TimeoutMonitor'.
> [20/Feb/2015:20:47:36] ENGINE Serving on 0.0.0.0:80 <http://0.0.0.0/>
> [20/Feb/2015:20:47:36] ENGINE Started as uid: 'root' gid: 'root'
> [20/Feb/2015:20:47:36] ENGINE Running as uid: 'tangelo' gid: 'tangelo'
> [20/Feb/2015:20:47:36] ENGINE umask not set
> [20/Feb/2015:20:47:36] Starting WebSocket processing
> [20/Feb/2015:20:47:36] ENGINE Bus STARTED
> [20/Feb/2015:20:47:36] TANGELO Server is running
>
>
> #----------------------------------------------------------------------------------
> This is /etc/tangelo/plugin.conf:
>
> enabled: true
> path /usr/local/share/tangelo/plugin/tangelo
>
>
>
> #----------------------------------------------------------------------------------
> This is /etc/tangelo.conf:
>
> # Network options
> hostname: 0.0.0.0
> port: 80
>
> # Privilege drop options
> user: tangelo
> group: tangelo
>
> #Runtime resources
> root: /usr/local/share/tangelo/web
>
>
>
> #----------------------------------------------------------------------------------
> This is url I use (the AWS ec2 instance public DNS name followed by 'now':
>
> http://ec2-xx-xx-xx-xx.xx.compute.amazonaws.com/now
>
>
>
> #----------------------------------------------------------------------------------
> These are the permissions for now.py:
>
> ubuntu at ip-172-31-44-22:/usr/local/share/tangelo/web$ ls -l
> total 12
> drwxr-xr-x 2 root root 4096 Feb 20 00:05 img
> -rw-r--r-- 1 root tangelo 3789 Feb 20 00:05 index.html
> -rw-r--r-- 1 root tangelo 67 Feb 20 20:45 now.py
>
>
> Pardon me if I am missing something obvious, but any help would be
> appreciated.
> _______________________________________________
> Tangelo-users mailing list
> Tangelo-users at public.kitware.com
> http://public.kitware.com/mailman/listinfo/tangelo-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/tangelo-users/attachments/20150222/f7cd9b6c/attachment.html>
More information about the Tangelo-users
mailing list