issue with sending attachments



  • Hi
    I was wondering if someone could shed some light on the issue im having. Currently running zpush which works great with the autodiscovery and all, only issue i have been seeing is that if i attach a few attachments it gets stuck on outlook then it show disconnected, or if i only attach 2mb it gets stuck not sure zpush has a restriction on file upload? i tried it on pop and imap and works fine the issue is when i put it on exchange mode
    this is error i was looking
    10/05/2019 21:55:11 [14146] [ INFO] [gerencia] StatusException: SyncCollections->CheckForChanges(): Timeout forced after 55s from 3540s due to other process - code: 3 - file: /var/www/zpush/src/lib/core/synccollections.php:579


  • Kopano

    Hi killmasta93,

    What Z-Push version are you using and which backend? Which clients have this issues? Only Outlook?

    Are there any error in Z-Push and webserver logs?

    Please also provide WBXML log when sending such an email.

    Z-Push itself doesn’t have limits for file upload, but PHP does. Did you check your PHP settings?

    Manfred



  • Hi,
    Thank you for the reply, currently running zpush 2.4.4, currently only issue with outlook and on the phone which is configured on exchange as IMAP works fine, i tried on the webclient using rainloop works fine.
    on NGINX i was getting this error
    2019/05/14 20:14:47 [crit] 26500#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:14:47 [crit] 26500#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:14:47 [crit] 26500#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:14:48 [crit] 26500#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:14:48 [crit] 26500#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:14:48 [crit] 26500#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:14:49 [crit] 26500#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:14:49 [crit] 26500#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:14:56 [crit] 26500#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:15:01 [crit] 26503#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:17:07 [crit] 26501#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:17:07 [crit] 26501#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:17:13 [crit] 26501#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:17:13 [crit] 26501#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:17:13 [crit] 26501#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:17:15 [crit] 26501#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:17:16 [crit] 26501#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”
    2019/05/14 20:17:16 [crit] 26501#0: ngx_slab_alloc() failed: no memory in SSL session shared cache “le_nginx_SSL”

    and on zpush error i got this
    2019/05/14 20:17:13 [error] 26501#0: *3314861 client intended to send too large body: 5884588 bytes, client: 192.168.3.254, server: mail.mydomain.com.co, request: “POST /Microsoft-Server-ActiveSync?Cmd=SendMail&User=gerencia&DeviceId=B0AD0E8CB3B94286A1D19B0ABC69383C&DeviceType=WindowsOutlook15 HTTP/1.1”, host: “mail.mydomain.com.co

    on php.ini i have 20mb upload

    ; Maximum allowed size for uploaded files.
    ; http://php.net/upload-max-filesize
    upload_max_filesize = 20M

    ; Maximum number of files that can be uploaded via a single request
    max_file_uploads = 20



  • @killmasta93 said in issue with sending attachments:

    ngx_slab_alloc() failed: no memory in SSL session

    Hi @killmasta93,
    Did you try to increase nginx’sssl_session_cache shared:le_nginx_SSL value?
    ngx_http_ssl_module: ssl_session_cache

    ++umgfoin.



  • @umgfoin said in issue with sending attachments:

    increase nginx’sssl_session_cache shared

    Thanks for the reply added this to NGINX config then restart

    ssl_session_cache shared:SSL:10m;

    but still cannot send attachments



  • @killmasta93 said in issue with sending attachments:

    Thanks for the reply added this to NGINX config then restart
    ssl_session_cache shared:SSL:10m;

    well, according to your logs, the cache-name is le_nginx_SSL

    Syntax:	ssl_session_cache off | none | [builtin[:size]] [shared:name:size];
    


  • Thanks for the reply, as for the SSL Cache im sure i just fixed it but still the issue of the too large body not sure if its a NGINX issue or php issue?



  • nginx:
    client_max_body_size ?

    php:
    post_max_size = ?



  • thanks for the reply,
    that was it, i had to add the client max body size on nginx and restart and it worked thank you again


Log in to reply