VMware Workspace ONE Community
iceman76
Enthusiast
Enthusiast
Jump to solution

Not able to upload files with iPhone from external

Hello,

i am not able to upload files from my iPhone when the iPhone connects to Workspace from external. We deployed nginx as reverse proxy in our DMZ which forwards the requests to the internal Gateway VA.

The Upload starts (transferred bytes count up), then the tranfer terminates with "Error"

I could not find any errors in the logfiles, but maybe i did not look in the right places

If the iPhone is connected to Workspace from internal, the problem does not occur

Any ideas about that ?

Thank you

0 Kudos
1 Solution

Accepted Solutions
sravuri
VMware Employee
VMware Employee
Jump to solution

What is the timeout you set in the nginx server in DMZ? Any other additional configuration?

View solution in original post

0 Kudos
3 Replies
sravuri
VMware Employee
VMware Employee
Jump to solution

What is the timeout you set in the nginx server in DMZ? Any other additional configuration?

0 Kudos
iceman76
Enthusiast
Enthusiast
Jump to solution

Hm, the configuration is quite simple

server {

    listen 443 default_server;
    server_name WORKSPACEFQDN;

    ssl on;
    ssl_certificate /etc/nginx/conf.d/horizon.crt;
    ssl_certificate_key /etc/nginx/conf.d/horizon.key;
    ssl_session_cache shared:SSL:10m;

    location / {

        proxy_pass https://h-gateway-va.***:443;

        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-By    $server_addr:$server_port;
        proxy_set_header X-Forwarded-For   $remote_addr;

        # re-write redirects to http as to https, example: /home
        proxy_redirect http:// https://;
    }
}

In the main configuration file we have

keepalive_timeout  65;

Thats all default values - nothing special

0 Kudos
iceman76
Enthusiast
Enthusiast
Jump to solution


But thank you for the hint;-) We adjusted the configuration a little bit, and at least from my iPad it is working now (iPhone is not available right now)  I had some errors from the Web-Client when using external access before adjusting the nginx config - those are gone too

We added

    ssl_session_timeout  10m;

    proxy_read_timeout 10m;

    proxy_send_timeout 10m;

    #Disable size limits

    client_max_body_size 0;

Not sure which one did the trick 😉

0 Kudos