Screenshots - Internal Server Error

leonor

Active Member
License Active
Like titel says i have a small problem with screenshots in the last days.
Some time i have to generate 10 times or more to get one ...
here is the line from acces_log
my ip adress - - [03/Dec/2012:09:40:42 +0100] "GET /screenshots.php?url=http://www.mushmoot-flyff.com/&generate=1 HTTP/1.0" 500 1018 "http://private-server.ws/index.php?a=admin&b=search_user&q=flyff-online" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Firefox/17.0"
and here what i found in error log
[Mon Dec 03 09:39:20 2012] [warn] [client myip] mod_fcgid: read data timeout in 45 seconds, referer: http://private-server.ws/index.php?a=admin&b=search_user&q=flyff-online
[Mon Dec 03 09:39:20 2012] [error] [client myip] Premature end of script headers: screenshots.php, referer: http://private-server.ws/index.php?a=admin&b=search_user&q=flyff-online
[Mon Dec 03 09:41:27 2012] [warn] [client myip] mod_fcgid: read data timeout in 45 seconds, referer: http://private-server.ws/index.php?a=admin&b=search_user&q=flyff-online
[Mon Dec 03 09:41:27 2012] [error] [client myip] Premature end of script headers: screenshots.php, referer: http://private-server.ws/index.php?a=admin&b=search_user&q=flyff-online

leonor
 
If you script execution is 30 sec. it should be enough. Never had a problem with that settings, there might be something else going on.
Best to wait for Mark, hes the server guru and can most likely give a better answer than me :)
 
yes this is why i deleted this part from my post ^^
But some minutes ago i got one screenshot :p

i will wait for mark :)

EDIT: idk know why but its mostly working again. The second or third try and i get my Screen Shot.
 
Could be the screenshot server is running slow or network traffic between your server and the screenshot server is busy. I will run some tests and see what I find.
 
hmpf... i tryed to make my screenshots again. Is there somthing with my API-Key wrong?


And i dont know its comes from the no-ip.com detour, but the on my first visit on this Screenshot page takes me more then 10 Sec loading time :p
This is why i startet a traceroute to your server but nothing special.
traceroute_visiolist.servehttp.com.PNG



Here are the results the first ScreenShot is on your Server but for me a 500 error.
Worked but 500 error said:


This screenshots are black on our server and a 500 error for me :D
All Black said:
 
since the screenshtos are rendering fine on our server, the issue seems to be during the copy portion. What shows in the error log for the error 500? (500 is internal server error which is happening on your environment)
 
i dont know, and here an example when its work :p
Code:
##################################### error log
[Wed Dec 05 22:33:37 2012] [warn] [client myip] mod_fcgid: stderr: PHP Notice:  Undefined index: debug in /var/www/vhosts/private-server.ws/httpdocs/screenshots.php on line 53, referer: http://private-server.ws/index.php?a=admin&b=search_user&q=HDMT2
[Wed Dec 05 22:33:37 2012] [warn] [client myip] mod_fcgid: stderr: PHP Notice:  Undefined index: list in /var/www/vhosts/private-server.ws/httpdocs/screenshots.php on line 86, referer: http://private-server.ws/index.php?a=admin&b=search_user&q=HDMT2

Code:
##################################### access log
myip - - [05/Dec/2012:22:33:15 +0100] "GET /screenshots.php?url=http://www.hdmt2.net&generate=1 HTTP/1.0" 200 648 "http://private-server.ws/index.php?a=admin&b=search_user&q=HDMT2" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0"
myip - - [05/Dec/2012:22:33:37 +0100] "GET /screens/www.hdmt2.net_small.jpg HTTP/1.0" 200 266 "http://private-server.ws/screenshots.php?url=http://www.hdmt2.net&generate=1" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0"
myip - - [05/Dec/2012:22:33:37 +0100] "GET /images/refresh.png HTTP/1.0" 304 135 "http://private-server.ws/screenshots.php?url=http://www.hdmt2.net&generate=1" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0"
 
Its works... i change a mod files from apache /etc/apache2/mods-enabled/fcgid.conf there is a line with "FcgidIOTimeout 45" i changed it to "60" and now its working.
Somtime i get a nginx error but i think i can fix it to :)

UPDATE: :P i dont know why but when i get now screen shots i get black one.

i go sleep tomorrow is new day maybe with a new Idea :(
 
Strange one, wish i could help more, but i cant, you need to reply on yourself and Mark here
 
I generated new screenshot for new member today and I had that error, never had that before:
Code:
Warning: imagecreatefrompng() [function.imagecreatefrompng]: 'screens/www.l2soa.com.br.png' is not a valid PNG file in /homepages/46/d339036285/htdocs/votezone/l2/screenshots.php on line 165
 
Warning: imagecopy(): supplied argument is not a valid Image resource in /homepages/46/d339036285/htdocs/votezone/l2/screenshots.php on line 166
 
Warning: imagecreatefrompng() [function.imagecreatefrompng]: 'screens/www.l2soa.com.br.png' is not a valid PNG file in /homepages/46/d339036285/htdocs/votezone/l2/screenshots.php on line 216
 
Warning: imagecopy(): supplied argument is not a valid Image resource in /homepages/46/d339036285/htdocs/votezone/l2/screenshots.php on line 217
 
Warning: imagecreatefrompng() [function.imagecreatefrompng]: 'screens/www.l2soa.com.br.png' is not a valid PNG file in /homepages/46/d339036285/htdocs/votezone/l2/screenshots.php on line 269
 
Warning: imagecopy(): supplied argument is not a valid Image resource in /homepages/46/d339036285/htdocs/votezone/l2/screenshots.php on line 270
 

Attachments

  • error.JPG
    error.JPG
    126 KB · Views: 5
Do you have other members with com.br domain? might be that something fails due it, at least it doesnt look like a screenshot server issue this time, but could be wrong. Mark will come ;)
 
I have contacted the Datacenter our screenshot server is located in and they have confirmed there was a problem. They have assured me the issue has been resolved.
 
are you able to generate ANY screenshots? Usually when that happens the request is not making it to the screenshot server
 
very odd, I will check screenshots from a few different lists now to see if its something on your server or our screenshot server.
 
first worked after 3 try
the second one give me time outs or black screens shots. But on our server is the ss not black ...:(

EDIT: lol i get in the small POP UP a black ss, but in ACP, or /stats/username/ there are the screenshots :P I will test more
 
I just deleted all the screenshots on the server and might have interfered with your request, please try again :) You can also upload this new screenshots.php to your root directory which includes a cachbuster to prevent the old screenshot showing while you are rendering it. (this will be included in 0.9)
 

Attachments

First all screenshot what i generatet is working, but in the POP UP there are all black.

Thanks mark for this file, i will try it later.
 
Back
Top