EPrints Technical Mailing List Archive

Message: #07427


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Elements/Eprints File Upload Refused


Hi James,

I don’t know Elements but it looks from the level 2 and level 3 errors that the upload is causing EPrints to throw a server error (500) for some reason.  You may find more clues in the EPrints Apache error log?

 

Alan

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of James Kerwin
Sent: 24 August 2018 07:58
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Elements/Eprints File Upload Refused

 

Hi,

 

My repository is EPrints based and accepts file uploads and metadata from Symplectic Elements.

 

Recently a colleague was attempting to upload a file through Elements to an existing EPrint that already contained documents. Unfortunately, Elements rejected the upload:

 

"An error occurred whilst uploading the file to the repository. Please reload the page and try again, or contact your system administrator if the problem persists."

 

Other files are still going through from Elements and for each attempted upload there is a corresponding xml file in the expected area of the repository server.

 

I have raised this as a ticket with Symplectic, but was wondering if anybody else had experienced this and might know what to do?

 

If anybody could give me some pointers as to how to solve this it would be brilliant.

 

Thanks,

James

 

Here is an example of the errors shown in Elements System Log (I've taken some bits out):

 

The website encountered a problem while handling a webpage request. Request made to /repositoryupload.html using Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

System component: Website. Level: 5. User: Mr James Kerwin. Elements Version: 5.8.0.1537. IP: **removed from this email** . 

 

Technical details:

 


Exception on machine: NetBIOS name "ELEMENTSAPP01", OS "Microsoft Windows NT 6.3.9600.0" (64-bit)

Software instance: Default, Software Version: 5.8.0.1537, Commit Hash:  **removed from this email**

Command "C:\Windows\SysWOW64\inetsrv\w3wp.exe -ap ".NET v4.5" -v "v4.0" -l "webengine4.dll" -a \\.\pipe\iisipmeb559885-1967-4a5e-84df-428b9ab8d631 -h "C:\inetpub\temp\apppools\.NET v4.5\.NET v4.5.config" -w "" -m 0" (32-bit)

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Log entry ID:  **removed from this email**

Logged at: 17:16:36 17/08/18

Level 1:

-------

Exception type: Symplectic.Elements.DataEntities.WebsiteServerErrorException

Message: The website encountered a problem while handling a webpage request.

Exception not yet thrown.

 

Level 2:

-------

Exception type: Symplectic.Elements.Repository.Client.RepositoryException

Message: Response status code does not indicate success: 500 (Internal Server Error).

Stack trace:

at Symplectic.Elements.Repository.Client.Rt1RepositoryClient.UploadFile(ApiRepositoryPublication, Rt1RepositoryFileType, MonitoringStreamCopier, String, String, String, Int32)at Symplectic.Elements.Repository.Client.Rt1RepositoryClient.UploadContentFile(ApiRepositoryPublication, FileToDeposit)at Symplectic.Elements.Website.Application.Handlers.Rt1DepositActionPage.UploadFile()at Symplectic.Elements.Website.Application.Handlers.Rt1DepositActionPage.ProcessRequest(String)at Symplectic.Elements.Website.Application.BaseHandlers.SessionlessBufferlessHandler.ProcessRequest(HttpContext)

Level 3:

-------

Exception type: System.Net.Http.HttpRequestException

Message: Response status code does not indicate success: 500 (Internal Server Error).

Stack trace:

at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()at Symplectic.Elements.Repository.Client.Rt1RepositoryClient.UploadFile(ApiRepositoryPublication, Rt1RepositoryFileType, MonitoringStreamCopier, String, String, String, Int32)

 

-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority in relation to its secondary activity of credit broking.