Nexus Uploading File Error



Dear Friends,

When I want to upload a file in my repository I got the error below. If I want to upload small size files, I can upload successfully. I would like your emergency support.

Danger: Operation failed as server could not be contacted

Version: Sonatype Nexus Repository ManagerOSS 3.15.1-0

Thanks in advance.


Is there a reverse proxy such as nginx or apache running in front of Nexus? If so, is our recommended configuration being used?



I’m getting same error using oficial Docker image for v3.15.2-01.
I’ve tried using Allow Redeploy policy, with no luck. Nginx settings is as follows.

server {
    listen                      443 ssl default_server;
    server_name                 <my-domain>;
    client_max_body_size        1G;

    ssl_certificate             /etc/nginx/ssl/<my-certificate>;
    ssl_certificate_key         /etc/nginx/ssl/<my-certificate_key>;
    location /nexus {
        proxy_send_timeout      120;
        proxy_read_timeout      120;
        proxy_buffering         off;
        keepalive_timeout       5 5;
        tcp_nodelay             on;

        proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header        X-Forwarded-Proto "https";
        proxy_set_header        X-Real-IP $remote_addr;
        proxy_set_header        Host $host;
        proxy_pass              http://nexus:8081/nexus;

This is all log viewer records:

2019-03-18 20:57:35,843+0000 INFO  [qtp2062979933-287]  admin - Uploading component with parameters: repository="maven-releases_s3" format="maven2" groupId="" artifactId="chrome-driver-win" version="72.6" 
2019-03-18 20:57:35,843+0000 INFO  [qtp2062979933-287]  admin - Asset with parameters: file="" extension="zip" 
2019-03-18 21:00:00,006+0000 INFO  [quartz-3-thread-20]  *SYSTEM - Task 'Storage facet cleanup' [] state change WAITING -> RUNNING
2019-03-18 21:00:00,009+0000 INFO  [quartz-3-thread-20]  *SYSTEM - Task 'Storage facet cleanup' [] state change RUNNING -> WAITING (OK)

Any clues?