Upgraded from Video 6.x-4.2 to Video 6.x-4.8, and upgraded Drupal from 6.20 to 6.24

Videos are being transfered to AWS and transcoded by Zencoder fine, but when Zencoder tries to postback that the job has finished, it receives a 403 Forbidden, error message. There are no errors in the dblog. This was working fine before, didn't change the postback url or any zencoder settings. Also, when I goto http://greenvu,com/postback/jobs in my browser I get a page not found error, where before I would get a "working something else" message.

Here is the error response Zencoder recieves:

HTTP/1.1 403 Forbidden

<html>
<head>
<title>403 Forbidden</title>

 <link rel="stylesheet" href="http://secure.vexxhost.com/static/data/bootstrap.min.css">
</head>

<body>
<div class="container" style='margin-top: 10px;'>
 <h1>Forbidden <small>Error 403</small></h1>

 <p>You don't have permission to access the required page. If you
think that this is an error, please contact the <a
href="mailto:webmaster@greenvu.com">website administrator</a>.</p>

 <h3>Are you the webmaster of this website? <small>Do you think
this is a mistake?</small></h3>
 <p>This request may have been blocked by our web application
firewall that protects your website. However, if you think this is a
valid request, please contact our support team and make sure you include
all of the request details from below.</p>

<h4>Request Details</h4>
<pre>
REDIRECT_UNIQUE_ID=Tyrko8fML8IADwvz7GkAAAJ9
REDIRECT_REQUEST_METHOD=POST
REDIRECT_STATUS=403
UNIQUE_ID=Tyrko8fML8IADwvz7GkAAAJ9
HTTP_HOST=greenvu.com
HTTP_X_REAL_IP=50.56.19.248
HTTP_X_FORWARDED_FOR=50.56.19.248
HTTP_CONNECTION=close
HTTP_USER_AGENT=Zencoder Notifier/2.0
CONTENT_TYPE=application/json
CONTENT_LENGTH=1042
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
SERVER_SIGNATURE=&lt;address&gt;Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at greenvu.com Port 80&lt;/address&gt;

SERVER_SOFTWARE=Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
SERVER_NAME=greenvu.com
SERVER_ADDR=199.204.47.194
SERVER_PORT=80
REMOTE_ADDR=50.56.19.248
DOCUMENT_ROOT=/home/bcocose/public_html
SERVER_ADMIN=webmaster@greenvu.com
SCRIPT_FILENAME=/usr/local/apache/custom_error/403.shtml
REMOTE_PORT=49388
REDIRECT_URL=/postback/jobs
GATEWAY_INTERFACE=CGI/1.1
SERVER_PROTOCOL=HTTP/1.0
REQUEST_METHOD=GET
QUERY_STRING=
REQUEST_URI=/postback/jobs
SCRIPT_NAME=/custom_error/403.shtml
DATE_LOCAL=Thursday, 02-Feb-2012 14:31:47 EST
DATE_GMT=Thursday, 02-Feb-2012 19:31:47 GMT
LAST_MODIFIED=Sunday, 20-Nov-2011 10:46:54 EST
DOCUMENT_URI=/custom_error/403.shtml
USER_NAME=root
DOCUMENT_NAME=403.shtml
</pre>
 </p>
 </div>
</div>
<div style='background-color: #eee; padding: 20px 0; text-shadow: 0 1px 0 white; border-top: 1px solid #e5e5e5;'>
<div class="container">Powered by VEXXHOST <a href="http://vexxhost.com/">web hosting</a></div>
</div>
</body>
</html>

Any help is very much appreciated!

Comments

Jorrit’s picture

The "working something else" message has indeed been replaced by a Drupal file not found page, so that's not a bug. The 403 error is much stranger, especially because the page seems generated by your web host and not Drupal itself. Is your webhost vexxhost? Can you take a look in the Apache webserver error logs to see if there are any references to Access Denied errors in there?

Jorrit’s picture

The error also says that the request has been blocked by a firewall. Maybe your web hosting company has more information.

theroth’s picture

Thank you for the suggestions Jorrit! I'm glad "page not found" is not a bug.

PHP error log has nothing, access log has this:

50.56.19.248 - - [02/Feb/2012:12:45:44 -0500] "POST /postback/jobs HTTP/1.1" 403 2508 "-" "Zencoder Notifier/2.0"

Will check with hosting company (vexxhost) to see if they can shed any light. Thanks again, Jason

theroth’s picture

Status: Active » Closed (works as designed)

The hosting company was blocking application/json content. This resolved my issue. Thanks again for helping me diagnose!

Jorrit’s picture

You're welcome. I hope that they've unblocked it for all their customers.