Problem downloading some files?

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/27/2014 5:04:26 AM
Gravatar
Total Posts 83

Problem downloading some files?

Hi,

I am using the file module where I have uploaded some files. I do however have problems to download most of them? I have cheked the MojoPortal Log but I can´t find any error there? 

  1. Open MojoPortal with file module
  2. Go down a couple of folderas in the file module
  3. Click the download button next to the filename
  4. Get a Failed - Network error in random positions, some times at the end some times in the middle

I have tried Chrome and Explorer. I have also tried to download from MojoPortal website from an an other environment. Once in a while it manage to download the file but it only happen a couple of times. The files are 50-100 MB and it seems like its a bigger chanse that smaller files will be downloaded without problems but even 32 MB files fails a lot?

Operating system : Windows
Databas platform : MySQL
MojoPortal Version : 2.4.0.0 MySQL
Sharedfiles : 1.0.0.0

What could couse this problem?



 

2/27/2014 7:51:55 AM
Gravatar
Total Posts 83

Re: Problem downloading some files?

By retrying a lot of times I finnaly got the 3 files I needed downloading but its still big problems to download files.

2/27/2014 9:09:45 AM
Gravatar
Total Posts 2253

Re: Problem downloading some files?

This sounds like a problem on your server, not an issue with mojoPortal specifically. You may want to upgrade to the latest version of mojoPortal but I doubt that will help your particular issue.

You should check with your host to see if the server your site is on has been having performance or connectivity issues.

HTH,
Joe D.

2/27/2014 9:14:30 AM
Gravatar
Total Posts 83

Re: Problem downloading some files?

Hi,

I have already been in contact with the host and there is no problems in there logs and there is enouth discspace left. Thay have said that if there was even a small hickup in the system they would see it in the logs.

What can I do? Are there any extended logs to check?

BestRegards

2/27/2014 12:21:24 PM
Gravatar
Total Posts 2253

Re: Problem downloading some files?

Hi,

Well, if there's a connection issue at all between your computer and the server hosting your website, you may have problems downloading. There aren't any mojoPortal logs other than the System Log available in the Administration Menu.

Has this problem just started or have you always had it?

Thanks,
Joe D.

2/27/2014 2:01:50 PM
Gravatar
Total Posts 18439

Re: Problem downloading some files?

I would check the mojoPortal system log for any clues under Administration > System Log

Most likely kind of problem would be slow connection resulting in request timeout or something like that, you could put a large executionTimeout on the httpRuntime element in Web.config if you determine that it is caused by request timeout.

I would also look in the mojoportal log for application start and end events, if those events are happening frequently it means a low memory hosting environment which could also cause such problems.

Other than that it would be network issues outside the control of mojoPortal.

In good hosting it should not happen and does not happen in any of my installations. It is definitely not a bug in mojoPortal.

2/28/2014 3:03:09 AM
Gravatar
Total Posts 83

Re: Problem downloading some files?

We have not hade the problem before, this is a new problem.

 

The mojoPortal System log do not stat any exceptions, where do I find the application start/end log?

 

Yes, do not think that mojoPortal is the proglem but if it can help me find the problem it would be great.

2/28/2014 3:05:48 AM
Gravatar
Total Posts 83

Re: Problem downloading some files?

I clear the mojoPortal log and then I do a download that fails with Network error, this is what I find in the log. I can´t see any exception but I do se Apllication started twice?

2014-02-28 10:02:00,954 INFO (null) - (null) - (null) - mojoPortal.SearchIndex.IndexWriterTask - deserialized IndexWriterTask task 
2014-02-28 10:02:01,001 INFO (null) - (null) - (null) - mojoPortal.SearchIndex.IndexWriterTask - Queued IndexWriterTask on a new thread 
2014-02-28 10:02:07,110 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End 
2014-02-28 10:03:15,078 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Applikation startade. 
2014-02-28 10:03:15,297 INFO (null) - (null) - (null) - mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task 
2014-02-28 10:03:15,313 INFO (null) - (null) - (null) - mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread 
2014-02-28 10:04:06,625 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End 
2014-02-28 10:04:17,171 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Applikation startade. 
2014-02-28 10:04:17,453 INFO (null) - (null) - (null) - mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task 
2014-02-28 10:04:17,468 INFO (null) - (null) - (null) - mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread 

2/28/2014 3:09:25 AM
Gravatar
Total Posts 83

Re: Problem downloading some files?

I did a new reset of the system log.

The files im downloading is 100 MB and takes around 1 min to download. This time the first file when fine, the second file failed at about 80 MB and about 10-15 sec left : 

 

2014-02-28 10:07:06,950 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End 
2014-02-28 10:07:08,138 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Applikation startade. 
2014-02-28 10:07:08,763 INFO (null) - (null) - (null) - mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task 
2014-02-28 10:07:08,778 INFO (null) - (null) - (null) - mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread 
2014-02-28 10:08:07,028 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Global.asax.cs Application_End 
2014-02-28 10:08:16,747 INFO (null) - (null) - (null) - mojoPortal.Web.Global - Applikation startade. 
2014-02-28 10:08:16,981 INFO (null) - (null) - (null) - mojoPortal.Web.WebTaskManager - deserialized WebTaskManager task 
2014-02-28 10:08:17,012 INFO (null) - (null) - (null) - mojoPortal.Web.WebTaskManager - Queued WebTaskManager on a new thread 

2/28/2014 7:49:24 AM
Gravatar
Total Posts 18439

Re: Problem downloading some files?

ok, so the problem seems to be that your hosting environment has a low memory limit, when it reaches the limit set by your host IIS recycles the application to free up memory and this interrupts the file download. So the file download itself requires enough free memory for the server to load the file and write it into the response stream but there is not enough memory and it reaches the limit while it is trying to serve the file because the size of the file adds enough to the memory usage to push it over the limit.

The only solution is to get better hosting. Joe Davis of i7MEDIA who helped you first on this thread has a hosting company that provides high quality hosting that will work better than the hosting you have now, maybe consider moving the site to his hosting or any higher quality hosting than what you have now. 

Application start and end events should only happen about one time per day, the low memory limit is causing it to happen frequently during file downloads and this interrupts the download and also hurts performance of the site.

You must sign in to post in the forums. This thread is closed to new posts.