# Nexus Uploading File Error

**URL:** <https://community.sonatype.com/t/nexus-uploading-file-error/1224>\
**Category:** Sonatype Nexus Repository\
**Tags:** release-notes, help, learn, training, integrations\
**Created:** [February 7, 2019, 7:19pm UTC](https://community.sonatype.com/t/nexus-uploading-file-error/1224 "2019-02-07T19:19:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![saracogullarigokcer](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@saracogullarigokcer](https://community.sonatype.com/u/saracogullarigokcer)\
**Post date:** [February 7, 2019, 7:19pm UTC](https://community.sonatype.com/t/nexus-uploading-file-error/1224/1 "2019-02-07T19:19:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [February 7, 2019, 10:06pm UTC](https://community.sonatype.com/t/nexus-uploading-file-error/1224/2 "2019-02-07T22:06:15Z")

</div>

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

[https://help.sonatype.com/display/NXRM3/Run+Behind+a+Reverse+Proxy](https://help.sonatype.com/display/NXRM3/Run+Behind+a+Reverse+Proxy)

---

<div class="post-metadata">

**Author:** ![guilherme.silva01985](https://avatars.discourse-cdn.com/v4/letter/g/c5a1d2/32.png) [@guilherme.silva01985](https://community.sonatype.com/u/guilherme.silva01985)\
**Post date:** [March 18, 2019, 8:28pm UTC](https://community.sonatype.com/t/nexus-uploading-file-error/1224/3 "2019-03-18T20:28:39Z")

</div>

Hi,

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 org.sonatype.nexus.coreui.internal.UploadService - Uploading component with parameters: repository="maven-releases_s3" format="maven2" groupId="com.google" artifactId="chrome-driver-win" version="72.6" 
2019-03-18 20:57:35,843+0000 INFO [qtp2062979933-287] admin org.sonatype.nexus.coreui.internal.UploadService - Asset with parameters: file="chromedriver_win32.zip" extension="zip" 
2019-03-18 21:00:00,006+0000 INFO [quartz-3-thread-20] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'Storage facet cleanup' [repository.storage-facet-cleanup] state change WAITING -> RUNNING
2019-03-18 21:00:00,009+0000 INFO [quartz-3-thread-20] *SYSTEM org.sonatype.nexus.quartz.internal.task.QuartzTaskInfo - Task 'Storage facet cleanup' [repository.storage-facet-cleanup] state change RUNNING -> WAITING (OK)

```

Any clues?

Thanks

---

<div class="post-metadata">

**Author:** ![wtsiamruk](https://avatars.discourse-cdn.com/v4/letter/w/ed655f/32.png) [@wtsiamruk](https://community.sonatype.com/u/wtsiamruk)\
**Post date:** [June 12, 2019, 1:14pm UTC](https://community.sonatype.com/t/nexus-uploading-file-error/1224/4 "2019-06-12T13:14:27Z")

</div>

Hello, i’m also facing the issue, but regardless from an artifact size, we do not use reverse proxy to connect to the repository, could you give any suggestions? Thank you

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [June 12, 2019, 4:46pm UTC](https://community.sonatype.com/t/nexus-uploading-file-error/1224/5 "2019-06-12T16:46:47Z")

</div>

More details would be needed… nobody can help you without that. What is the Nexus Repo version? What type of upload is failing? What is seen on the client side when it fails? What does the nexus.log file show?
