1

Topic: Sogo: Upsteam Error connecting calender

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  1.2.1
- Deployed with iRedMail Easy or the downloadable installer? Installer
- Linux/BSD distribution name and version:  Buster
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hey there,

I try to connect an iPhone via Exchange with my Sogo instance. But I receive always the error

2020/06/18 09:38:53 [error] 936#936: *973173 upstream prematurely closed connection while reading response header from upstream, client: 3.227.182.193, server: virmai.de, request: "HEAD /SOGo/ HTTP/1.1", upstream: "http://127.0.0.1:20000/SOGo/", host: "mbox.virmai.de"

The Sogo config part is

// Parameter used to set the maximum amount of time, in seconds, SOGo will
    // wait before replying to a Ping command.
    // If not set, it defaults to 10 seconds.
    SOGoMaximumPingInterval = 3540;

    // Parameter used to set the maximum amount of time, in seconds, SOGo will
    // wait before replying to a Sync command.
    // If not set, it defaults to 30 seconds.
    SOGoMaximumSyncInterval = 3540;

The same error appears when I try to connect my Calender with Calendly (https://calendly.com) - an webapp that can be be used in Wordpress to schedule events.

Any help is greatly appreciated.

Thx, mike

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Sogo: Upsteam Error connecting calender

Any related error in SOGo log file (/var/log/sogo/sogo.log)?

3

Re: Sogo: Upsteam Error connecting calender

Whats your hardware specs you're using to run iredmail? Sounds like it might be a resource issue

4 (edited by mike175de 2020-06-18 22:14:30)

Re: Sogo: Upsteam Error connecting calender

ZhangHuangbin wrote:

Any related error in SOGo log file (/var/log/sogo/sogo.log)?

Sorry, I forgot to mention, but the part

"2020/06/18 09:38:53 [error] 936#936: *973173 upstream prematurely closed connection while reading response header from upstream, client: 3.227.182.193, server: virmai.de, request: "HEAD /SOGo/ HTTP/1.1", upstream: "http://127.0.0.1:20000/SOGo/", host: "mbox.virmai.de""

is from the nginx.log

No specific in the sogo.log even with debug on.

Thx, mike

5 (edited by mike175de 2020-06-18 22:10:54)

Re: Sogo: Upsteam Error connecting calender

MuPp3t33r wrote:

Whats your hardware specs you're using to run iredmail? Sounds like it might be a resource issue

I use a VPS with 8 Ram and a Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz, 4 Cores. Should be more than enough according to the iredMail specs.

thx, mike

6

Re: Sogo: Upsteam Error connecting calender

No any (related) error in SOGo log file?

7

Re: Sogo: Upsteam Error connecting calender

ZhangHuangbin wrote:

No any (related) error in SOGo log file?


Thx for your reply.

I activated debugging in the Sogo-Conf:

    // Log file
    WOLogFile = /var/log/sogo/sogo.log;

    // Enable verbose logging. Reference:
    // http://www.sogo.nu/nc/support/faq/artic … -sogo.html
    SOGoDebugRequests = YES;
    SOGoEASDebugEnabled = YES;
    //ImapDebugEnabled = YES;
    //LDAPDebugEnabled = YES;
    //MySQL4DebugEnabled = YES;
    //PGDebugEnabled = YES;

And the only error when I tried to connect to iRedMail with Calendly was this line in the sogo-log:

Jun 19 08:18:18 sogod [3291]: [ERROR] <0x0x55f96b329b00[WOHttpAdaptor]> http server caught: <NSException: 0x55f96af92110> NAME:NSInvalidArgumentException REASON:[NGHttpCredentials-userName] should be overridden by subclass INFO:(null)

And as i mentioned in the nginx-log this one:

2020/06/19 08:19:02 [error] 936#936: *1058977 upstream prematurely closed connection while reading response header from upstream, client: 3.227.182.193, server: virmai.de, request: "HEAD /SOGo/ HTTP/1.1", upstream: "http://127.0.0.1:20000/SOGo/", host: "mbox.virmai.de"


Thx for any help.

Greet mike

8

Re: Sogo: Upsteam Error connecting calender

No idea. I suggest posting to SOGo mailing list to get some support from developers:
https://sogo.nu/support.html