java.net.SocketTimeoutException Read timed out

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
rickygm
Posts: 19
Joined: Sat Sep 13, 2014 1:48 am

java.net.SocketTimeoutException Read timed out

Postby rickygm » Thu Oct 24, 2019 5:36 pm

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?


rickygm
Posts: 19
Joined: Sat Sep 13, 2014 1:48 am

Re: java.net.SocketTimeoutException Read timed out

Postby rickygm » Mon Oct 28, 2019 6:47 pm

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
phoenix
Ambassador
Ambassador
Posts: 26614
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: java.net.SocketTimeoutException Read timed out

Postby phoenix » Mon Oct 28, 2019 7:02 pm

The first thing I'd suggest is that you increase the installed RAM as you're fifty per-cent below the recommended minimum.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
AntoineM
Posts: 1
Joined: Thu Oct 31, 2019 10:19 am

Re: java.net.SocketTimeoutException Read timed out

Postby AntoineM » Thu Oct 31, 2019 10:38 am

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.
npoctotehb
Posts: 3
Joined: Wed Oct 03, 2018 2:23 pm

Re: java.net.SocketTimeoutException Read timed out

Postby npoctotehb » Fri Dec 20, 2019 2:14 pm

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?
npoctotehb
Posts: 3
Joined: Wed Oct 03, 2018 2:23 pm

Re: java.net.SocketTimeoutException Read timed out

Postby npoctotehb » Sat Dec 21, 2019 4:56 pm

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!)
originalcris
Posts: 1
Joined: Fri Feb 21, 2020 4:33 pm

Re: java.net.SocketTimeoutException Read timed out

Postby originalcris » Fri Feb 21, 2020 7:06 pm

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.
User avatar
gabrieles
Advanced member
Advanced member
Posts: 141
Joined: Tue Feb 14, 2017 9:40 am

Re: java.net.SocketTimeoutException Read timed out

Postby gabrieles » Mon Feb 24, 2020 9:21 am

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

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 16 guests