Hi,
I'm having trouble getting remote content pages to pull in content. (not sure if this should be ion designs forum?)
Firstly, we are building a new intranet and I want to pull in content from the old intranet on the old cms to an HTML page that is available to all users currently. So I put the remote URL in and get the following error upon preview (have also tried different start tags to no avail):
MySource Warning
File: [SYSTEM_ROOT]/packages/cms/page_templates/page_remote_content/page_remote_content.inc Line: 315
Message: Error response 401 from server while attempting to access "http://ccm.corrections.govt.nz/corrnet/manuals/operations/pps-site-specific/acrp/sectiona/a01/a01-forms.html?" [CMS0064]
I'm assuming this is an unauthorized access error? I don't know why we would get this becasue if the html page can be veiwed normally within our environment it should be able to be veiwed by matrix for remote content?..unless the server that matrix is sitting on cannot see the current intranet for whatever reason…(I may have answered my own question)
Also tried pulling in an external web page to test this and got this error:
MySource Warning
File: [SYSTEM_ROOT]/packages/cms/page_templates/page_remote_content/page_remote_content.inc Line: 310
Message: Cannot connect to server while attempting to access "http://matrix.squiz.net/?" - Success [CMS0063]
Again, could be an issue with our matrix server not seeing the Internet? We are pretty locked down here security wise so its possible the matrix server has been restricted in these ways…any ideas anyone?
Cheers
Matt
Remote Content issues
Both of your assumptions are correct: In the first instance, Matrix is getting a 401 Access Denied error from your old intranet. This could be due to security restrictions on your old Intranet server denying access to the Matrix server. In the second instance, Matrix is unable to make an outbound connection to the Internet site.
You will need to work with your Network Administrators to provide the required access.
The server hosting matrix probably cannot see the internet. To do a quick test, remote content something from the same matrix system. This will show you if there's a problem with Remote Content Asset or something else. When doing this test keep in mind that when remote content accesses something from the system it's hosted on it will do so as a Public user, not the currently logged in user. So the page you access should be live and public.
Yes, I'd try and rule that out first.
Try using wget or curl from the server Matrix is hosted on:
curl -I http://www.example.com
and see if you still get the 401 response code.
Thanks guys,
I did test and it works within matrix, so it must be the matrix server. Don't have access to the server myself but our system admin have confirmed this. The real problem is that this matrix server is in the development area, and access cannot be given to various things incase we break stuff. So when we get the matrix production server humming it should be working (but it would be nice to test it here first!).
cheers
Matt
If your sysadmins don't want to let the box out into the internet, you might be able to convince them to let you do so via a proxy server. Matrix is capable of connecting to the outside world via a proxy and Remote Content uses global proxy settings.
Go to System Configuration, then select Proxy Configuration in the drop-down menu.