Forums | Mahara Community
03 June 2009, 8:47 AM
We're having trouble getting RSS feeds of any kind to work and get the following error repeatedly:
There was an error with submitting this form. Please check the marked fields and try again.
|If you leave this blank, the title of the feed will be used|
|Feed location *|
|URL of a valid RSS or ATOM feed|
|The feed appears to be invalid. The error reported was: connection failed (110)|
This is occurs with both our 1.0.9 and 1.1.3 installations.
03 June 2009, 3:04 PMHi -that error is generally firewall related, your server has to be able to make outbound port 80 connections
04 June 2009, 3:16 AM
Our firewall lets us make outbound port 80 connections so that shouldn't be the issue.
04 June 2009, 5:04 PMWell then your best bet is to access the server, switch to the apache user, and try using curl on the rss feeds, because that's basically what Mahara is trying to do. Maybe you can get more information about the problem that way?
05 June 2009, 3:22 AM
Sorry, I have no idea what curl does - please explain what needs to be done with it.
07 June 2009, 11:35 PM
curl is a command line program for making HTTP requests. You can use it like:
nigel@sivlex:~$ curl -I mahara.org
HTTP/1.1 200 OK
Date: Mon, 08 Jun 2009 04:33:44 GMT
Cache-Control: private, must-revalidate, pre-check=0, post-check=0, max-age=0
Expires: Sun, 02 Feb 1986 00:00:00 GMT
Content-Type: text/html; charset=UTF-8
If you run 'curl -I [hostname]', you should get a result. If you don't, e.g. it just hangs, or says the site is unreachable, that either means the remote site is down, or firewalling you, or you are being firewalled.
You can try that curl command with the RSS feeds that are broken to see if it's their sites which are blocking you.
24 June 2009, 3:56 AMI tried the curl -l command on our server and it returned a result so I don't think that's the problem.
24 June 2009, 6:38 PM
If your organization is using a proxy server than this can happen. You need to specify proxy settings in Mahara.
25 June 2009, 3:14 AM
Our live server is an older version of Mahara which I can't upgrade for the immediate future and I can't find any proxy settings on the networking page - where can I find these please?
We do however have an up-to-date test mahara which I've added the proxy settings to but now I get a 404 error and a blank page when I try to add a feed.
25 June 2009, 9:27 PM
Versions of Mahara before 1.1 didn't support proxy servers for RSS feeds, sorry. You could probably backport the patch, or make a patch yourself if you really needed.
Not sure what the issue could be with your newer Mahara though. Proxy settings/firewalls are difficult to get right