Installation

Ubuntu 20.04 Amazon AWS image: connection timeout, apache does not serve pages

Re: Ubuntu 20.04 Amazon AWS image: connection timeout, apache does not serve pages

by Danny Glin -
Number of replies: 1
A couple of observations:
  1. The serving of the WeBWorK pages themselves is not the problem. If you fetch a page like http://ec2-3-133-102-106.us-east-2.compute.amazonaws.com/webwork2/myTestCourse/ using a tool such as wget or curl it is almost instant, so the problem isn't with WeBWorK processing pages.
  2. Looking at the Browser Console in Firefox (under "Web Developer"), it shows the following:
    Loading failed for the <script> with source “http://aws.apizer.org:8080/webwork2_files/mathjax/MathJax.js?config=TeX-MML-AM_HTMLorMML-full”.
    It looks like your server is configured to get its javascript from aws.apizer.org, which appears to not be responding.  My guess is that the page tries to load this javascript, and then times out.  Once that dependency times out then it loads the rest of the page.

Most likely in your configuration you need to find the mention of aws.apizer.org, and change it to the name of your server.  Since it is coded for port 8080 it is likely expecting lighttpd to be set up to serve static content, so if you set it to port 8080 then you will need to make sure that you have lighttpd running and configured properly.

In reply to Danny Glin

Re: Ubuntu 20.04 Amazon AWS image: connection timeout, apache does not serve pages

by pb math -
Hi Danny et al,
Solved!!!
And egg on my face! I read the instructions for installation and got to editing the config files, and it talks about emailing the admin etc none of which I wanted and on previous (iso) installs by the time I got this far all was done, of course as you pointed out replacing aws.aspizer.org is mentioned and the 'solution'
Total egg on my face sorry for wasting the communities time and thank you for everyone help!