I get a HTTP 503 error through the virtualhost yet lsof shows what seems to be some sagecell server processes running.
# lsof -i :65108 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME python 29158 root 32u IPv4 155943 0t0 TCP ip6-localhost:34780->ip6-localhost:65108 (ESTABLISHED) python 29197 sageserver 20u IPv4 154235 0t0 TCP ip6-localhost:65108 (LISTEN) python 29197 sageserver 21u IPv4 149148 0t0 TCP ip6-localhost:65108->ip6-localhost:34780 (ESTABLISHED) python 29241 sageserver 20u IPv4 154235 0t0 TCP ip6-localhost:65108 (LISTEN) python 29241 sageserver 21u IPv4 149148 0t0 TCP ip6-localhost:65108->ip6-localhost:34780 (ESTABLISHED) python 29247 sageserver 20u IPv4 154235 0t0 TCP ip6-localhost:65108 (LISTEN) python 29247 sageserver 21u IPv4 149148 0t0 TCP ip6-localhost:65108->ip6-localhost:34780 (ESTABLISHED) python 29253 sageserver 20u IPv4 154235 0t0 TCP ip6-localhost:65108 (LISTEN) python 29253 sageserver 21u IPv4 149148 0t0 TCP ip6-localhost:65108->ip6-localhost:34780 (ESTABLISHED) python 29259 sageserver 20u IPv4 154235 0t0 TCP ip6-localhost:65108 (LISTEN) python 29259 sageserver 21u IPv4 149148 0t0 TCP ip6-localhost:65108->ip6-localhost:34780 (ESTABLISHED) python 29265 sageserver 20u IPv4 154235 0t0 TCP ip6-localhost:65108 (LISTEN) python 29265 sageserver 21u IPv4 149148 0t0 TCP ip6-localhost:65108->ip6-localhost:34780 (ESTABLISHED) On Sat, Jun 8, 2013 at 2:38 AM, Olalékan ABOU BAKAR <[email protected]>wrote: > I followed the instructions here to build a sagecell server > https://github.com/sagemath/sagecell > > Everything looks goof when I launch ../../sage web_server.py as shown below > > > root@maths:/home/sageserver/sage-5.9/devel/sagecell# ../../sage > web_server.py > 2013-06-08 01:17:13,502 sagecell:INFO starting tornado web server > 2013-06-08 01:17:13,511 paramiko.transport:INFO Connected (version 2.0, > client OpenSSH_5.9p1) > 2013-06-08 01:17:13,590 paramiko.transport:INFO Authentication (publickey) > successful! > 2013-06-08 01:17:13,619 paramiko.transport:INFO Secsh channel 1 opened. > 2013-06-08 01:17:15,703 sagecell:INFO ZMQ Connection with computer > 4b8c2999-52dd-437c-bce2-957f3062cf27 at port 65108 established. > 2013-06-08 01:17:15,703 sagecell:INFO Trying to start kernel on 4b8c > 2013-06-08 01:17:15,704 sagecell:INFO Trying to start kernel on 4b8c > 2013-06-08 01:17:15,705 sagecell:INFO Trying to start kernel on 4b8c > 2013-06-08 01:17:15,706 sagecell:INFO Trying to start kernel on 4b8c > 2013-06-08 01:17:15,707 sagecell:INFO Trying to start kernel on 4b8c > 2013-06-08 01:17:15,865 sagecell:INFO Started preforked kernel on 4b8c: > aa16d83c-baf8-4996-bdbd-00e9588ae8fa > 2013-06-08 01:17:16,001 sagecell:INFO Started preforked kernel on 4b8c: > 6c49bdcc-e8d6-45e9-b825-4c9dd2cdd471 > 2013-06-08 01:17:16,147 sagecell:INFO Started preforked kernel on 4b8c: > dd63c991-c697-4924-bb74-01cbb1c67690 > 2013-06-08 01:17:16,293 sagecell:INFO Started preforked kernel on 4b8c: > 4df9a68f-49ea-4c6a-a933-d16d43736e7a > 2013-06-08 01:17:16,441 sagecell:INFO Started preforked kernel on 4b8c: > d265b799-e13a-4903-bd97-649ab7cf0c41 > > > Now I'm excited to embed my first Sage script in a HTML page with my own > sagecell server but it does not work :( > > I replaced the http://sagecell.sagemath.org/ with my own url as shown in > https://github.com/sagemath/sagecell/blob/master/doc/embedding.rst > > I thought it didn't like the fact that I put an IP and port number like > this http://245.767.90.555:65108, so I created a virtualhost in apache > and mod_proxy but still nothing... > > BTW, that is not the actual IP but the port number is the one from the > output of sagecell server script web_server.py > > What am I doing wrong? Any help? > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
