Are there any keywords that can display what errors are occuring in remote content? I have set up a remote content page which displays a form from another site with no problems. When submitting the form, the result does not display and an error is returned. Is there any way to get a proper error message, rather than what is written in the Messages section of the remote content?
edit
Is it in fact possible to process remote forms in this manner? I noticed that the querystring parameters were a bit messed up after submission, and this is more than likely why the form is returning an error…
The short answer is no. There are no keywords relating to the failure of remote communication.
3.7 (Dev) version of Remote Content improves the way data is transferred to the remote target. Your problems might have been solved there. If you find a bug you should submit a report to the bug tracker: http://bugs.matrix.squiz.net/ or get in touch with support.
3.7 does not add the keywords you want.
I'm still yet to get the remote content working correctly, but I have noticed that the CSS from the remote contents affects the design of my Matrix site. I guess I could overcome this by inserting start and end tags into the remote content, but what would I do if I had no access to the code of the remote content I'm trying to view?
What is the criteria for accessing the Remote content. Certain urls work and certain won't
for e.g. if i use www.google.com (will that not work???) because it displays to me "Content cannot be accessed".
even if i use ineternal url still the same message. but at the same time some do work. Not sure why
pls advise.
It's the server making the request for the remote content so perhaps you have some firewall rules or something that prevents the server from accessing particular sites (e.g. some organisations will only allow the server to access a list of pre-approved domains).
for instance if i access (from the pre-approved domain) page x
e.g. www.domain.com.au/x (this works)
but, www.domain.com.au/y (does not work)
Presuming that you can access these sites from the server normally (with a browser, not with remote content):
Does your Remote Content asset have a Whitelist on the 'Details' screen while editing it in the backend, and if so, does your whitelist contain any items? (I'd recommend removing all whitelist entries while testing.)
- yes it is a valid site which is accessible from the server normally.
- intersting thing to note. yesterday within the "content filtering" i put the html <body> tag, i still froze. "content cannot be accessed". but today it just worked without any issues.
thanks.
but i would still like to know
when you said whitelist in the details screen, where should i look for in the details screen. sorry for my impatience.
My guess would be that it wasn't something to do with matrix. You haven't changed anything on the matrix settings so it's either something in your network, or the content of the page being accessed.
Was the page only available to authorised users (required a login, cookie or HTTP auth session to be set?). That's probably a silly question, but what you might be able to see through you're browser the server may not be able to see (especially if the site has some sort of filtering for allowing browsers to use the page, but not other things like bots). I'm guessing it's highly unlikely, but something to think about.
[quote]when you said whitelist in the details screen, where should i look for in the details screen. sorry for my impatience.
[right][post=“8316”]<{POST_SNAPBACK}>[/post][/right][/quote]
Sorry, I didn’t realise at the time that Remote Content whitelists haven’t yet been released.
Whitelists are a feature that lets you restrict what URLs the Remote Content asset is allowed to display. Removing all the entries would have meant that the Remote Content could’ve displayed whatever it wanted to.
Most often remote content says that it cannot access content because of timeouts. A few days ago I noticed that many web page requests took longer than usual. If these network delays were Australia-wide, then it could be the reason for this 'unpredictable' behaviour.
White lists should be available to you next time your system is updated. They've already been released.
Just a note that the issues in the case were being caused by the ColdFusion based form putting weird action keywords into the form which messes up the remote content redirects.
A better URL, form action and redirect handling has been developed for the 3.8 release. Particular attention has been paid to transparent POST/GET var transmission. If you rely on Remote Content for an important part of the site upgrading might be a solution when 3.8 comes out. RC1 is expected soon.
[quote]A better URL, form action and redirect handling has been developed for the 3.8 release. Particular attention has been paid to transparent POST/GET var transmission.
[right][post=“8395”]<{POST_SNAPBACK}>[/post][/right][/quote]
Thankfully, for this implementation we’re actually replacing the ColdFusion servers, so we’re looking at alternative methods for accessing that data. But its good to know that the Remote Content capabilities are being further improved.
Can this be formalised into a: "The following types of application will not work…"?
Remote content is a very big selling point for us, there are dozens of applications written here and there that we are going to remote content into Matrix. I'm going to test a couple of applications but I can't cover all cases. If some applications/technics don't work, the earlier we know the better it is.
Cheers.