<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>justepri.web.id &#187; error</title>
	<atom:link href="http://justepri.web.id/tag/error/feed" rel="self" type="application/rss+xml" />
	<link>http://justepri.web.id</link>
	<description>Tips, Tricks, Computer Science, News, Reviews, Tutorials</description>
	<lastBuildDate>Thu, 21 Jan 2010 06:44:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Addressing HTTP Error When Requesting API in Wordpress</title>
		<link>http://justepri.web.id/addressing-http-error-when-requesting-api-in-wordpress</link>
		<comments>http://justepri.web.id/addressing-http-error-when-requesting-api-in-wordpress#comments</comments>
		<pubDate>Fri, 17 Jul 2009 11:45:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[api request]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://justepri.web.id/?p=6</guid>
		<description><![CDATA[The problem that occurs is at Http Error request to the API. The message appears "An Unexpected HTTP error occurred during the API request". Following discussion


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!--INFOLINKS_ON--><p>Frankly I am not familiar with that name ng-blog. Even so, I&#8217;m not one new to the website.Because during this time that I have more I spend with Joomla. Recently I started glancing at cms which is so global.</p>
<p>Worpress &#8230; cms yes this is incredible. In addition to the Open Source nature, the support of the developers are also very high. Plugins that are available even been so many. Moreover, we can find plugins that we need a back-end via our blog and then install it. Super once.</p>
<p>However, the plugin installation process online is not without obstacles. The problem that occurs is at Http Error request to the API. The message appears &#8220;An Unexpected HTTP error occurred during the API request&#8221;. Unexpected error occurred during the request to the API. But it is not clear what the mistake was happening that made me wonder.</p>
<p>From the results of googling, I earn a little guidance. It is probably due to the influence of mod_security. I try to disable mod_security by htaccess. Result &#8230;.?</p>
<p>Experiment was a failure. Security module can not be disabled. Er it turns out, the security module on the server that I rent is mod_security2 that he simply can not be disabled by the user using. Htaccess.</p>
<p>Finally I decided to seek his own cause by doing a search on PHP scripts. During several hours of searching, finally found the cause, too. Following discussion.</p>
<p>The cause of error is too long to process the request API plugin in wordpress server timeout causing operation. By default, wordpress allow time milisecond 5000 aka 5 seconds to reqeust plugin. If within 5 seconds does not also get a replay, then the process will be terminated and there was an error &#8220;An Unexpected HTTP error occurred during the API request&#8221;. For that, we need to change the number 5 is a number greater than 5. I personally replaced it with the number 30.</p>
<p>What is the scriptnya &#8230;?<br />
Please open the file <strong>/wp_includes/http.php</strong> on line <strong>223</strong>.</p>
<blockquote><p><code>'timeout' =&gt; apply_filters ( 'http_request_timeout', 5),</code></p></blockquote>
<p>Change the script above becomes:</p>
<blockquote><p><code>'timeout' =&gt; apply_filters ( 'http_request_timeout', 30),</code></p></blockquote>
<p>By changing the value 5 to 30, then have time to request a plugin API to be longer. This way powerful enough to overcome the problems above.</p>
<p>Good try &#8230;..</p>
<!--INFOLINKS_OFF--><h4>Incoming search terms for the article:</h4><div><a href="http://justepri.web.id/search/an+unexpected+http+error+occurred+during+the+api+request" title="an unexpected http error occurred during the api request">an unexpected http error occurred during the api request</a>&nbsp;<a href="http://justepri.web.id/search/an+unexpected+http+error+occured+during+the+api+request" title="An Unexpected HTTP Error occured during the API request">An Unexpected HTTP Error occured during the API request</a>&nbsp;<a href="http://justepri.web.id/search/wordpress+3+an+unexpected+http+error+occurred+during+the+api+request" title="wordpress 3 An Unexpected HTTP Error occurred during the API request">wordpress 3 An Unexpected HTTP Error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/an+unexpected+error+occurred+during+http+request+api" title="An unexpected error occurred during HTTP request API">An unexpected error occurred during HTTP request API</a>&nbsp;<a href="http://justepri.web.id/search/search+plugin+an+unexpected+http+error+occurred+during+the+api+request" title="search plugin An Unexpected HTTP Error occurred during the API request">search plugin An Unexpected HTTP Error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/wordpress+an+unexpected+http+error+occurred+during+the+api+request" title="wordpress an unexpected http error occurred during the api request">wordpress an unexpected http error occurred during the api request</a>&nbsp;<a href="http://justepri.web.id/search/--post+related+search--" title="--Post Related Search--">--Post Related Search--</a>&nbsp;<a href="http://justepri.web.id/search/unexpected+http+error+occurred+during+the+api+request" title="unexpected http error occurred during the API request">unexpected http error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/wp3+an+unexpected+http+error+occurred+during+the+api+request" title="WP3 An Unexpected HTTP Error occurred during the API request">WP3 An Unexpected HTTP Error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/http+error+wordpress" title="http error wordpress">http error wordpress</a>&nbsp;<a href="http://justepri.web.id/search/wordpress+plugins+an+unexpected+http+error+occurred+during+the+api+request" title="wordpress plugins An Unexpected HTTP Error occurred during the API request">wordpress plugins An Unexpected HTTP Error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/theme+an+unexpected+http+error+occured+during+the+api+request+wordpress" title="theme An Unexpected HTTP Error occured during the API request wordpress">theme An Unexpected HTTP Error occured during the API request wordpress</a>&nbsp;<a href="http://justepri.web.id/search/mengatasi+masalah+pada+lambatnya+koneksi+server+apache" title="mengatasi masalah pada lambatnya koneksi server apache">mengatasi masalah pada lambatnya koneksi server apache</a>&nbsp;<a href="http://justepri.web.id/search/solusi+web+acceleration+eror" title="solusi web acceleration eror">solusi web acceleration eror</a>&nbsp;<a href="http://justepri.web.id/search/plugin+install+an+unexpected+http+error+occurred+during+the+api+request" title="plugin install An Unexpected HTTP Error occurred during the API request">plugin install An Unexpected HTTP Error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/solusi+http+error" title="solusi http error">solusi http error</a>&nbsp;<a href="http://justepri.web.id/search/registry+cleaner+comments+links+could+be+nofollow+free" title="registry cleaner Comments links could be nofollow free">registry cleaner Comments links could be nofollow free</a>&nbsp;<a href="http://justepri.web.id/search/searching+for+plugins+in+wordpress+an+unexpected+http+error+occurred+during+the+api+request" title="searching for plugins in wordpress An Unexpected HTTP Error occurred during the API request">searching for plugins in wordpress An Unexpected HTTP Error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/plugin+search+erro+api+http+wordpress" title="plugin search erro API HTTP wordpress">plugin search erro API HTTP wordpress</a>&nbsp;<a href="http://justepri.web.id/search/search+theme+an+unexpected+http+error+occured+during+the+api+request" title="search theme An Unexpected HTTP Error occured during the API request">search theme An Unexpected HTTP Error occured during the API request</a>&nbsp;</div><!-- SEO SearchTerms Tagging 2 plugin took 26.065 ms -->

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://justepri.web.id/addressing-http-error-when-requesting-api-in-wordpress/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
