Comments (4)
@BlackLotus : A few questions: 1) are you able to reliably reproduce the issue? 2) have you tried this against S3 proper? Just looking at the stacktrace, it appears that there was a stream error in transferring between the s3 client and the s3 conforming service. That is the root issue. A secondary issue appears to be that the jcr clean up in the wake of the failure didn't occur for some reason.
It would be helpful if you would create an issue on https://jira.duraspace.org/ with a clear recipe for reproducing the error and against an environment that we could reasonably reproduce (ie against AWS s3.).
from fcrepo.
Ok sorry for the delayed response, but since I didn't use aws I didn't think I could reproduce the problem with aws. So here is what I did.
First I got an aws account and simply tried fcrepo with it - it worked.
Next I tried to find out what amazon aws was doing different than ceph for this I configured an nginx reverse proxy and set up my local dns to forward every request to 127.0.0.1 instead of the amazon server. My expectation was that I could easily monitor the traffic going to amazon and the traffic going to ceph and spot either the difference in behaviour or the offending request that didn't work with ceph. What I got instead was the same problem with amazon s3. I tried to mimic amazons s3 behaviour as good as I could and after failing I tried to follow https://aws.amazon.com/de/blogs/compute/nginx-reverse-proxy-sidecar-container-on-amazon-ecs/
Anyway this is one of my nginx configs I came up with
gzip_proxied any;
gzip_types text/plain application/json;
gzip_min_length 1000;
server {
listen 80;
server_name .s3-proxy .s3.us-east-1.amazonaws.com;
client_max_body_size 10g;
access_log /var/log/nginx/s3proxy-access.log postdata;
error_log /var/log/nginx/s3proxy-error.log;
proxy_set_header Host $host;
proxy_buffering off;
location / {
fastcgi_pass_header Authorization;
fastcgi_pass_request_headers on;
include fastcgi_params;
proxy_pass https://52.216.101.21;
proxy_pass_header Server;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_cache_bypass $http_upgrade;
}
}
I also tried other reverse proxy solutions without success. I will later create an issue at jra.duraspace.org, but I would have really liked if I understood why it only seems to work with the original s3.
from fcrepo.
I thought the custom endpoint flag was not allowed where can I set it, I would like to test this as well but with min.io
from fcrepo.
Fedora 5 is no longer in active development as Fedora 6 is now the LTS version of Fedora. It looks like the Samvera/Valkerye development was completed to support this though. Closing this here now
from fcrepo.
Related Issues (20)
- MOVE - Cannot delete Solr index HOT 4
- java.lang.IllegalArgumentException for ID ".../Kyntschew:%20Galaktisieren%20der%20Leere" HOT 2
- Null Pointer Exception on Solr Reindex HOT 1
- Error when run docker-compose up
- ObjectNotInLowlevelStorageException: no path in db registry HOT 3
- Support uploading files with non-latin characters in filenames HOT 5
- Log4j2 vulnerability? HOT 4
- acl cache not invalidated when acl rules are updated on disk HOT 3
- NodeNotFoundInParentException: Cannot locate child node HOT 4
- Sorry if i'm asking in the wrong place, How can i install the wayland-server package? HOT 2
- MismatchedInputException 6.3.0 HOT 59
- ObjectOutOfSyncException 6.3.0 HOT 10
- Occasionally, hangs when tomcat is shutting down due to non-serializable class in session HOT 7
- Dependency org.yaml:snakeyaml, leading to CVE problem
- Return Transaction ID on 409: Conflict HOT 11
- Blank screen on : version (6.4.6-200.fc38.x86_64) workstation HOT 1
- Question: Recommended viewer for H2 database and fcrepo schema HOT 3
- Inspect message demo is out of date (Python) HOT 2
- FCREPO needs to be updated because of the ActiveMQ security event HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fcrepo.