Forum Replies Created
-
AuthorPosts
-
kramdraw85Member
I also noticed that the created files are being hosted on a cdn. Perhaps that is where the miscommunication is happening?
kramdraw85MemberIt is pulling in the files from a s2Member plugin folder, but I setup a copy of the site on another server and it is working fine. Could it be a permissions issue?
kramdraw85Memberfyi…the stamped.pdf is actually stamped.php and it is where I put the API code.
stamped.php contents:
[removed code after checking it]
kramdraw85MemberFrom WebHost:
I’ve been looking around trying to find the cause of the error and I found a couple entries in the nginx error log:
2013/12/31 00:34:55 [error] 31917#0: *335952 upstream prematurely closed connection while reading response header from upstream, client: 198.58.119.83, server: www.foxlsat.com, request: "POST /wp-content/plugins/wp-pdf-stamper/api/stamp_api.php HTTP/1.1", upstream: "http://127.0.0.1:6789/wp-content/plugins/wp-pdf-stamper/api/stamp_api.php", host: "www.foxlsat.com"
2013/12/31 00:39:37 [error] 31917#0: *337717 upstream prematurely closed connection while reading response header from upstream, client: 198.58.119.83, server: www.foxlsat.com, request: "POST /wp-content/plugins/wp-pdf-stamper/api/stamp_api.php HTTP/1.1", upstream: "http://127.0.0.1:6789/wp-content/plugins/wp-pdf-stamper/api/stamp_api.php", host: "www.foxlsat.com"
2013/12/31 00:46:45 [error] 31917#0: *340628 upstream prematurely closed connection while reading response header from upstream, client: 198.58.119.83, server: www.foxlsat.com, request: "POST /wp-content/plugins/wp-pdf-stamper/api/stamp_api.php HTTP/1.1", upstream: "http://127.0.0.1:6789/wp-content/plugins/wp-pdf-stamper/api/stamp_api.php", host: "www.foxlsat.com"
2013/12/31 01:20:36 [error] 31912#0: *352355 upstream prematurely closed connection while reading response header from upstream, client: 198.58.119.83, server: www.foxlsat.com, request: "POST /wp-content/plugins/wp-pdf-stamper/api/stamp_api.php HTTP/1.1", upstream: "http://127.0.0.1:6789/wp-content/plugins/wp-pdf-stamper/api/stamp_api.php", host: "www.foxlsat.com"
When trying to download a PDF, it looks like the file stamped.pdf is requested, which then makes a request to stamp_api.php. It’s at this point it looks like the connection is being closed, which will result in a 502 error. It looks like stamp_api.php is an encrypted file so I’m unfortunately unable to see what exactly that file is doing.
I tried to download a file and monitored the server resources while doing so and I didn’t see it running out of memory or using too much CPU.
kramdraw85MemberThe response from the webhost was:
“If they say that there is something on our end that can be tweaked, I’ll be more than happy to look into accommodating their suggestion. Unfortunately without the additional information from the developer, we wouldn’t really be able to know where to begin looking for what’s causing the error.”
Is there any thing that I can ask them to look for?
kramdraw85MemberWhat exactly would be causing this issue? It would be nice to have some things to bounce off of WP Engine so we can trouble shoot this further.
kramdraw85MemberAlready did that, minimum requirements are met.
-
AuthorPosts