Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy is Mule HTTP PollingConnector returning 403 Forbidden Error when trying to read some RSS feeds
    text
    copied!<p>I'm trying to pull an RSS feed with Mule Studio. I can view this feed in the browser using an RSS feeder and using CURL but I can't do it with the Mule application. This Mule application works with other RSS feeds so I don't understand why I would be receiving a 403 Forbidden error for this feed.</p> <p>This is my Mule flow XML</p> <pre><code>&lt;http:polling-connector name="PollingHttpConnector" pollingFrequency="60000" doc:name="HTTP Polling" clientSoTimeout="10000" cookieSpec="netscape" receiveBacklog="0" receiveBufferSize="0" sendBufferSize="0" serverSoTimeout="10000" socketSoLinger="0" validateConnections="true"/&gt; &lt;flow name="mondavi" doc:name="mondavi"&gt; &lt;http:inbound-endpoint exchange-pattern="one-way" doc:name=" " address="http://www.theaggie.org/feed/" connector-ref="PollingHttpConnector" encoding="UTF-8"/&gt; &lt;logger message=" #[header:INBOUND:http.version] #[header:INBOUND:http.method] #[header:INBOUND:http.request] " level="INFO" category="mule.http.accesslog" doc:name="Logger"/&gt; &lt;component class="edu.ucdavis.edustream.esb.news.rss.OrigFeedSplitter" doc:name="Java"/&gt; &lt;foreach doc:name="For Each"&gt; &lt;component class="edu.ucdavis.edustream.esb.news.rss.EntryReceiver" doc:name="Java"/&gt; &lt;logger level="INFO" doc:name="Logger"/&gt; &lt;http:outbound-endpoint exchange-pattern="request-response" host="${edus.host}" port="${edus.port}" path="api/v1/activity" method="POST" mimeType="application/json" doc:name="HTTP"/&gt; &lt;/foreach&gt; &lt;/flow&gt; </code></pre> <p>Here is the response from the successful CURL request, only requesting the header:</p> <pre><code>HTTP/1.1 200 OK Date: Fri, 12 Jul 2013 19:06:51 GMT Server: Apache Set-Cookie: PHPSESSID=l0eg8e93ihb3r65plms64l84f7; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache X-Pingback: http://www.theaggie.org/xmlrpc.php Last-Modified: Fri, 12 Jul 2013 03:37:00 GMT ETag: "556af474b6fdedb235c46e19926f69db" Content-Type: text/html; charset=UTF-8 </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload