We are using DMU on almost every site. But today a customer contacted us, and said they couldnt upload more then 0-2 images then it stops, and sometimes the program. Afterwards Ive tested it on another solution(its on a different server) and it does the same, the test was also with a different set of images, and from a another machine.
Anyone experiencing this ? Could it be after an update to adobe air or something like it ?
Also the customer havnt had the problem like 1 week ago where he uploaded more then 500 images at once.
In these situations I usually suggest to install something like Fiddler (http://www.fiddler2.com/fiddler2/). With this you can monitor the requests that are sent to Umbraco by DMU and see if the server is throwing any exceptions. Hopefully this should then help to narrow down the issue.
Hmm, it would appear to be a server problem them. Is there anything specific in the server event logs? You could try increasing the server timeout period, but for a 3.5mb file, I don't see why it would be a problem. How responsive is the back office? I'm just wondering if there is anything that can be slowing the requests down for any reason.
Hmm, regarding the post size log, that would suggest they tried to upload a file larger than the maximum allowed file size, thought that wouldn't explain the timeout issues.
I'm not sure what else to suggest, as you'd basically need to find out what is causing the requests to be aborted. DMU doesn't really do anything special, and it honors all the settings in the web.config (ie max file size, max request timeout, etc).
Have you tried uploading the file manually in the back office to see if that timesout aswell?
Ive done some more digging on this problem, and found out some wierd wierd findings on it. I know this can sound really wierd and in my own ears it sounds like it cannot have anything to say.
So me and the customer has 250 images in a folder structure. From the customers home he cant upload(he is using just some mac book pro) more then 3-4 images, and its the same for me, at work.And its the same thing if we use the Mass upload package so I know its not specific for your lovely package :)
We been trying with 5, 20, 50, and all 250 images at once. and all test images are in various sizes, and we been trying like 30-40 times all in all. and get the same kinda experience almost everytime.
So what do my work place and the customers home have in common, 1 thing, Fiber connection. So nothing special there its just an internet connection some 40/40 line with alomost no repsonse time from the server.
After that I was like no that cannot have anything to do with it. So i took all the images with me home and tried to upload them, and all 250 went up in 1 go!
At home i have some crummy adsl(30/3) and with normal delay to server and all.
Could this have anything to say, my friend(a php programmer) says he had at some point had to throw in an delay on uploads because of a common situation. Im really far out i know :)
Wow. I can't say I've heard of that problem before. It certainly does sound weird if that is the case. I'll see if I can find any info on the subject, but will be pretty hard to test from here as I only have a crummy 1.5mb broadband connection.
Nice work on debugging it though if that is the problem.
I have sent my customer to his workplace(he has been working from home so far) where she also just has some slow ADSL con to see if its just smooth as butter.
Suddenly stops after a file or 2
Hey :)
We are using DMU on almost every site. But today a customer contacted us, and said they couldnt upload more then 0-2 images then it stops, and sometimes the program. Afterwards Ive tested it on another solution(its on a different server) and it does the same, the test was also with a different set of images, and from a another machine.
Anyone experiencing this ? Could it be after an update to adobe air or something like it ?
Also the customer havnt had the problem like 1 week ago where he uploaded more then 500 images at once.
Hey,
In these situations I usually suggest to install something like Fiddler (http://www.fiddler2.com/fiddler2/). With this you can monitor the requests that are sent to Umbraco by DMU and see if the server is throwing any exceptions. Hopefully this should then help to narrow down the issue.
Give it a try and see what you find.
Matt
Hmm basicly it just times out :
But it uploaded 3 files then it comes to the next random file and it just stands there for 2 mins and throws timeout.
the file is nothing special just a 3.5mb tiff like some of the other test images im using.
The loader bar in DMU runs to max and then it stops(dunno how precise it is) waits for a few mins and then throws the time out error.
Any ideas?
Hmm, it would appear to be a server problem them. Is there anything specific in the server event logs? You could try increasing the server timeout period, but for a 3.5mb file, I don't see why it would be a problem. How responsive is the back office? I'm just wondering if there is anything that can be slowing the requests down for any reason.
Matt
Ive tried the increase but as you said it shouldnt be nessesary for such small files.
Im finding the backoffice raither quick, but while the request was bugging up it became a bit laggy.
In the event logs is there nothing special besides these "Event message: The request has been aborted." on the upload.
I can see they started yesterday, ive tried recycling the app pool aswell and restarted the IIS aswell.
There is also an error i dont understand "Post size exceeded allowed limits."
the "post size exceeded allowed limits." is also in the event log from the mediauploader.ashx
Hmm, regarding the post size log, that would suggest they tried to upload a file larger than the maximum allowed file size, thought that wouldn't explain the timeout issues.
I'm not sure what else to suggest, as you'd basically need to find out what is causing the requests to be aborted. DMU doesn't really do anything special, and it honors all the settings in the web.config (ie max file size, max request timeout, etc).
Have you tried uploading the file manually in the back office to see if that timesout aswell?
Matt
Well ive tried it a few times and there it just works.
But most of the times with DMU it also gets the first file up, then stalls afterwards.
Im gonna boost the size and timeout time and see.
Hey Matt(and everyone else who is listining) :)
Ive done some more digging on this problem, and found out some wierd wierd findings on it. I know this can sound really wierd and in my own ears it sounds like it cannot have anything to say.
So me and the customer has 250 images in a folder structure. From the customers home he cant upload(he is using just some mac book pro) more then 3-4 images, and its the same for me, at work.And its the same thing if we use the Mass upload package so I know its not specific for your lovely package :)
We been trying with 5, 20, 50, and all 250 images at once. and all test images are in various sizes, and we been trying like 30-40 times all in all. and get the same kinda experience almost everytime.
So what do my work place and the customers home have in common, 1 thing, Fiber connection. So nothing special there its just an internet connection some 40/40 line with alomost no repsonse time from the server.
After that I was like no that cannot have anything to do with it. So i took all the images with me home and tried to upload them, and all 250 went up in 1 go!
At home i have some crummy adsl(30/3) and with normal delay to server and all.
Could this have anything to say, my friend(a php programmer) says he had at some point had to throw in an delay on uploads because of a common situation. Im really far out i know :)
Hey Rasmus,
Wow. I can't say I've heard of that problem before. It certainly does sound weird if that is the case. I'll see if I can find any info on the subject, but will be pretty hard to test from here as I only have a crummy 1.5mb broadband connection.
Nice work on debugging it though if that is the problem.
Matt
Hey matt !
Awesome that your in to help :)
I have sent my customer to his workplace(he has been working from home so far) where she also just has some slow ADSL con to see if its just smooth as butter.
I've asked the question over on SO to see if anyone else can verify the problem:
http://stackoverflow.com/questions/11878441/can-uploads-be-too-fast
Matt
Awesome .. ive stared it so ill follow on the line !
Just for "fun" here is a server log tough it dosnt say anything (not for me.)
Event code: 3001
Event message: The request has been aborted.
Event time: 10-08-2012 11:02:48
Event time (UTC): 10-08-2012 09:02:48
Event ID: aa511e0ac23e4859adb6a2689282f0f0
Event sequence: 1794
Event occurrence: 5
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT-1-129890595343437500
Trust level: Full
Application Virtual Path: /
Application Path: C:\Sites\ {AppPoolName} \
Machine name: RDWWW1
Process information:
Process ID: 432
Process name: w3wp.exe
Account name: IIS APPPOOL\{AppPoolName}
Exception information:
Exception type: HttpException
Exception message: Request timed out.
Request information:
Request URL: http://{AppPoolName}/umbraco/plugins/theoutfield/desktopmediauploader/dmu.ashx
Request path: /umbraco/plugins/theoutfield/desktopmediauploader/dmu.ashx
User host address: 87.48.160.82
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\{AppPoolName}
Thread information:
Thread ID: 10
Thread account name: IIS APPPOOL\{AppPoolName}
Is impersonating: False
Stack trace:
i have narrowed it down to be something specific on our new hosts setup.
is working on a reply...