Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when trying to upload a file #170

Open
JohannaOtt opened this issue Jul 3, 2018 · 21 comments
Open

error when trying to upload a file #170

JohannaOtt opened this issue Jul 3, 2018 · 21 comments

Comments

@JohannaOtt
Copy link

When trying to upload a file, I get the following error message:
image
The same workflow worked for me a few weeks back. I tried it yesterday and today, but there is no change in the behaviour.

@michellutz
Copy link

Which instance are you using? The one at JRC (http://inspire-sandbox.jrc.ec.europa.eu/etf-webapp/) or a deployment in your own organisation?

@JohannaOtt
Copy link
Author

the one at JRC

@michellutz
Copy link

I just tried to upload a file for a test, without problems. Could you try again? How large is the file you are trying to upload?

@JohannaOtt
Copy link
Author

It still does not work for me. The file size is 16.3 MB.

@cportele
Copy link
Collaborator

cportele commented Jul 3, 2018

Could you share the file?

@JohannaOtt
Copy link
Author

I will send it via email

@michellutz
Copy link

I checked with some larger GML files, and I also get an upload error.

@cportele
Copy link
Collaborator

cportele commented Jul 3, 2018

OK, in that case you will have to look at the server log files.

@michellutz
Copy link

Will do. @robsgnao could you please have a look?

@cportele
Copy link
Collaborator

cportele commented Jul 3, 2018

I also get the error. However, when I zip the file before uploading, the error does not occur, so maybe that can be a temporary fix until the server issue is understood and corrected.

http://inspire-sandbox.jrc.ec.europa.eu/etf-webapp/v2/status looks normal...

{
name: "INSPIRE Validator",
status: "GOOD",
heartbeat: "1530608448442",
willExpireAt: "1530608608442",
version: "2.0.0-b180605T1851",
uptime: "43148",
allocatedMemory: "1372844456",
presumableFreeMemory: "5034741336",
totalSpace: "107223191552",
freeSpace: "25083084800",
cpuLoad: "0.001001"
}

@JohannaOtt
Copy link
Author

Zipping the file worked for me when I first tried, but now I cannot upload neither unzipped nor zipped files any more.

@robsgnao
Copy link

robsgnao commented Jul 4, 2018

ETF configuration should not be the issue: " etf.max.upload.size = 805617980 "
Now checking log files

@jonherrmann
Copy link
Collaborator

Maybe a configuration issue with a new proxy server? Web console shows a 413 HTTP error response (Request Entity too large) .

@robsgnao
Copy link

robsgnao commented Jul 4, 2018

Thanks @jonherrmann, you are ritgh, in fact I found it in the apache httpd logs. Change planned for tonight.

@robsgnao
Copy link

robsgnao commented Jul 4, 2018

Hello @JohannaOtt, configuration has been changed, it is now working with a test file of 20MB (although the limit is set to more than twice this size). Please try again and report any issue.

@JohannaOtt
Copy link
Author

Thank you for your quick solution. It works for me with GML, which was my use case. But I also tried zip for testing and that still did not work.

@robsgnao
Copy link

robsgnao commented Jul 5, 2018

Hello @JohannaOtt , thanks for the feedback, will now work on this part of the issue.

@jonherrmann
Copy link
Collaborator

it is now working with a test file of 20MB (although the limit is set to more than twice this size)

@robsgnao, the ETF web interface says, that the max upload size for files is 773 MB. This could be confusing. Both (ETF/Apache) configuration settings should be set to the same limit.

@robsgnao
Copy link

@jonherrmann understand your point, current installation has limited capacity... Will review current capacity (and logs) and try to find a reasonable limit, then configure both (ETF/Apache) with the same value to avoid confusion.

@KathiSchleidt
Copy link

Hiya, I just ran into this problem again. Zipping the XML did work, but would be nice to have a note of that in the GUI, not have to trawl through GitHub!
:?
Kathi

@michellutz
Copy link

@df-git @MarcoMinghini We should review (and adapt if necessary) the current settings of the JRC ETF instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants