|
#1
|
|||
|
|||
any idea?
for the last 2 days at about 7pm uk time for several hours it will not allow me to upload torrents to my site, i think i have narrowed it down the benc.php file but this is where im lost, my server is showing no unusual traffic problems and the upload file works normally when this problem isnt occuring, would anyone know what the problem is it will not let my uploaders upload they just get a stderr appear
this is the part that is causing problems in the take upload file but this info is from the benc.php file i assume and the fopen command PHP Code:
PHP Code:
Last edited by actionman; 19th February 2023 at 00:31. Reason: add code |
#2
|
|||
|
|||
the time is irrelevant
what's the error you getting? either in error log, announce log, access log
__________________
Need HELP!? I can install:
|
#3
|
|||
|
|||
where would i find these logs,im not very good with ssh so wouldnt even have a scooby how to find these logs.
it is bizarre though as it goes crazy at 7pm but at 11pm the uploading is back to normal, we never had this issue before. i can access my servers root directory on ssh but wouldnt have a clue how to direct myself to the logs. the takeupload seems to stop at this point if (!is_uploaded_file($tmpname)) stderr($lang['takeupload_failed'], "test1"); if i remove that it then errors on the next if command and so on. Bump: located the error log in my ftp client but is the same error all the time [Fri Feb 17 21:58:43 2023] [warn] Cannot get media type from 'x-mapp-php5' the log file just shows loads of get announce things 46.232.210.170 - - [17/Feb/2023:21:58:43 +0100] "GET /announce.php?passkey=21c9103297e8941868036faf82fbe 6ea&info_hash=%FE%FD%CB%95%5CA%D0%80%84qW%1Fk%0Dj% 1Ee%C8%83%3A&peer_id=-lt0D60-%C1%26%2B%0E%83%19%87%8C%9F%8F%99o&key=61821bfe&co mpact=1&port=62166&uploaded=548019713&downloaded=1 530699265&left=0 HTTP/1.1" 200 314 "-" "rtorrent/0.9.6/0.13.6" cannot see anything wrong though maybe you can. |
#4
|
|||
|
|||
what you are showing here doesn't have anything to do with your problem
the function of is_uploaded_file checks if the .torrent file is actual uploaded and match with what actual was uploaded if that fails, means the file isn't uploaded for various reasons maybe from 7pm to 11pm something is happening on your dedicated server (i hope is dedicated) that blocks this from happening if you say this is only occurring around this interval
__________________
Need HELP!? I can install:
|
#5
|
|||
|
|||
In 2023 and your still getting php5 error, in may be time update code, and your second error may be because off rtorrent isn't setup correctly or it just doesn't work properly with your version off php.
|
#6
|
||||
|
||||
Quote:
Is the server a dedicated server? VPS? Shared hosting? I'd recommend monitoring the server via SSH at the times you say you are having issues, although it seems odd it's only happening at a specific time. Is everything else still working when the uploads are not? |
#7
|
|||
|
|||
Good afternoon all, sorry for the delay, yeah its dedicated - i barely understand php code so wouldnt even know about upgrading the code this is why its been stuck on php5 for all the time i have the site open. last time i trusted someone access to the code they locked me out of my own site lol.
it has been fine for the last 2 nights but again its back tonight, the server company are saying there is nothing happening at that time. anything that requires a fopen stops working, image uploader, uploads etc. but the rest of the site is all good and working fine. anything else you guys can think of ?? |
#8
|
||||
|
||||
Its hard to say without digging down deeper during those times.
If you have discord drop me your username in PM & ill see if I can help you debug it. |
The Following User Says Thank You to Subzero For This Useful Post: | ||
papad (26th February 2023)
|
#9
|
|||
|
|||
i do have discord but im not brilliant with it,
i am Uk based and work 9 till 5 mon to friday but as my problem is 7pm till 11pm its best we get together when its happening, last night it went right wierd, all my torrents on seedboxes all went red with error Tracker Failure check back later and then i got server load too high errorfor about 10 mins or so, my server company say there is nothing wrong but something clearly is. had no problems at all till this problem started a week ago. Thanks for the help Subzero appreciate the help Bump: Thank you @subzero - you are an absolute star! and to others that offered help. Bump: Thank you @subzero - you are an absolute star! and to others that offered help. Bump: Thank you @subzero - you are an absolute star! and to others that offered help. |
Thread Tools | |
|
|