Page 1 of 1

java.net.SocketTimeoutException Read timed out

Posted: Thu Oct 24, 2019 5:36 pm
by rickygm
Hi , someone has happened the following in an account migration, I am restoring the backup of an account on another server and it shows me this message: ERROR: zclient.IO_ERROR (Read timed out) (cause: java.net.SocketTimeoutException Read timed out)

I tried to optimize java in zimbra, but it doesn't work for me either.

too I tried this viewtopic.php?t=62378

my version of Zimbra: Release 8.8.15_GA_3869.RHEL7_64_20190917004220 RHEL7_64 FOSS edition, Patch 8.8.15_P2

any idea? suggestion?

Re: java.net.SocketTimeoutException Read timed out

Posted: Mon Oct 28, 2019 6:47 pm
by rickygm
Hi, try the latest version available, where I read that they fixed a large backup problem https://wiki.zimbra.com/wiki/Zimbra_Releases/8.8.15/P3 , but it doesn't work either.

my version of Zimbra: Release 8.8.15_GA_3869.RHEL7_64_20190917004220 RHEL7_64 FOSS edition, Patch 8.8.15_P3.

Server CentOS Linux release 7.7.1908 (Core)

server spec: 4GB RAM , 2 cores , ssd disk

backup size: 1.4gb per account

Re: java.net.SocketTimeoutException Read timed out

Posted: Mon Oct 28, 2019 7:02 pm
by phoenix
The first thing I'd suggest is that you increase the installed RAM as you're fifty per-cent below the recommended minimum.

Re: java.net.SocketTimeoutException Read timed out

Posted: Thu Oct 31, 2019 10:38 am
by AntoineM
Hello,

I have the same problem after upgrage from 8.6 to 8.8.15 P3.

I did not try to migrate account, the problem appeared with zmbackup and zmrestore (standard/classic tools, not using ng backup or zextra)

The only error message I get is :
Error occurred: Read timed out


Nothing in mailbox.log

I do not know what timeout to increase.

Re: java.net.SocketTimeoutException Read timed out

Posted: Fri Dec 20, 2019 2:14 pm
by npoctotehb
Hello, got same problem...

Zimbra Collaboration 8.8.15_GA_3894.FOSS Patch 5
CPU 16 cores
16GB RAM

tryed to restore mailbox - /opt/zimbra/bin/zmmailbox -z -m $MailBox -t 0 postRestURL "//?fmt=tgz&resolve=replace" $Path/$Date/$MailBox
and got that error -
ERROR: zclient.IO_ERROR (Read timed out) (cause: java.net.SocketTimeoutException Read timed out)

-t 0 param been ignored, i think...

who's got answer|solution?

Re: java.net.SocketTimeoutException Read timed out

Posted: Sat Dec 21, 2019 4:56 pm
by npoctotehb
If it helps someone.
I did full uninstall of zimbra.
Then did zimbra clean install.
Before apply updates and any zimbra configs,
i did run restore /opt/zimbra/bin/zmmailbox -z -m $MailBox -t 0 postRestURL "//?fmt=tgz&resolve=replace" $Path/$Date/$MailBox
and it work good, and have no errors!
Some mailboxes sizes is more than 50GB and they restored perfect!

That's link for version of zimbra that i installed
https://drive.google.com/file/d/1rqyiUu ... sp=sharing
Version is - zcs-8.8.15_GA_3869.UBUNTU18_64.20190918
After restore i did all updates and apply configurates.
All work!)

Re: java.net.SocketTimeoutException Read timed out

Posted: Fri Feb 21, 2020 7:06 pm
by originalcris
This is a solution using curl:

1. Install curl (root):
yum install curl

2. Change to Zimbra:
su - zimbra

3. To restore only one user's tgz:
curl -k -u your_username:your_password --data-binary @/directory_backup_tgz/your_account_backup.tgz "https://localhost:7071/service/home/your_username@your_domain.com/?fmt=tgz&resolve=skip"

Good luck!!!
Sorry my english is not good.

Re: java.net.SocketTimeoutException Read timed out

Posted: Mon Feb 24, 2020 9:21 am
by gabrieles
I fought with that "read time out" for some months, but related to zmmboxmove.
P7 should have fixed that:
https://wiki.zimbra.com/wiki/Zimbra_Releases/8.8.15/P7
Try to see if it fix even gru/pru mailbox moving