Installation

/webwork2/html2xml: timeout

by Nico Kaegi -
Number of replies: 7

Hi all

after initially setting webwork I'm having an issue with the library browser where it seems that no matter what set I select from OPL the the requests for the problems time out.

I've attempted to look at my httpd log file for any answers and all I see is this error repeated for each problem the problem the library attempted to load.

xmlrpcCall to renderProblem returned no result for Library/270/setDerivatives11Newton/s2_10_22.pg

There were a lot of errors

Errors:

500 Can't connect to webwork2022.rowan.edu:443 (Connection timed out) at /opt/webwork/webwork2/lib/WebworkClient.pm line 301.

End Errors

I realize that this may be a problem with the variable $server_root_url in site.conf not matching exactly with the url used to access webwork but after looking at site conf, and using chromes developer tools to see what the urls in web requests are. the two seem to match.$server_root_url   = 'https://webwork2022.rowan.edu';

I'm honestly not sure what to try at this point. out of curiosity is it possible to switch to a version of the library browser with out ajax in webwork version 2.16.

Re: /webwork2/html2xml: timeout

by Danny Glin -
Your settings appear to be correct since they seem to generate the correct URL.

The fact that the requests are timing out makes me suspect that something is blocking the connection. If you visit https://webwork2022.rowan.edu/webwork2/html2xml directly are you able to connect?

The non-ajax version of the library browser has been removed from recent versions of WeBWorK since it was not being maintained, and html2xml has been standardized as the method to display problems in the various instructor pages.

Re: /webwork2/html2xml: timeout

by Nico Kaegi -
the funny thing is going when directly to https://webwork2022.rowan.edu/webwork2/html2xml I get this error page.

I'm somewhat inexperienced with apache, but I would imagine I wouldn't be getting this page if It was timing out.

Re: /webwork2/html2xml: timeout

by Danny Glin -

That's exactly what you should get if you visit the page directly, which means that apache appears to be serving the page correctly.  That means that likely something is blocking the connections to the server.

When I try to visit your server my connections time out.  Is there a firewall that is only allowing connections from specified addresses?

Re: /webwork2/html2xml: timeout

by Nico Kaegi -

right now the server is only accessible if you are using a vpn to connect to the rowan university network. do you think it's blocking the ajax requests?

Re: /webwork2/html2xml: timeout

by Danny Glin -

It's possible that the Ajax requests aren't being routed through the VPN tunnel.  That would explain the behaviour that you're seeing.  I don't know how easy it will be to troubleshoot this.

Have you tried accessing WeBWorK from a computer that is physically on campus?

Re: /webwork2/html2xml: timeout

by Nico Kaegi -

I haven't no on account of being on summer break, and not needing to travel to campus in a little while. But I think I know a professor or two that might be able to try. I'll post again if something comes of it.