View Issue Details

IDProjectCategoryView StatusLast Update
0005753SOGoWeb Calendarpublic2023-05-04 06:23
Reporterbahnkonzept Assigned Tosebastien  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.8.2 
Fixed in Version5.8.3 
Summary0005753: Web Calendar (ics) subscription with authentication between SOGo instances not possible after upgrading from 5.7.0 to 5.8.2
Description

Starting point:

  • SOGo installation @ server 1 with domain mycompany.com & mailbox user1@mycompany.com
  • SOGo installation @ server 2 with domain someother.com & mailbox user2@someother.com

user1@mycompany.com now want's to include the calender of user2@someother.com.

This is done by adding the ICS of user2@someother.com ("Links to this calender" ⇾ "Authenticated User Access") as web calendar. After pasting the ICS-URL and clicking OK, SOGo @ mycompany.com is asking for authentication. user1@mycompany.com enters the credentials of user2@someother.com.

Excepted result: calender is added as web subscription and user1@mycompany.com sees the calender entries of user2@someother.com

Actual result: the credential form says "wrong username or password" although the credentials were entered correctly.

Both instances where on 5.7.x before and were updated to 5.8.2 some days ago. The problem arised just right after the upgrade.

Additional Information

SOGo logs of someother.com when entering the correct credentials @ mycompany.com:

[14227]: XX.XX.XX.XX "GET /SOGo/dav/user2@someother.com/Calendar/personal.ics HTTP/1.0" 404 68/0 0.016 - - 2M - 13

SOGo logs of someother.com when entering the wrong credentials @ mycompany.com:

[2318]: 192.145.47.168 "GET /SOGo/dav/user2@someother.com/Calendar/personal.ics HTTP/1.0" 401 0/0 0.005 - - 0 - 13

If using Postman to directly send a GET request to

https://mail.someother.com/SOGo/dav/user2@someother.com/Calendar/personal.ics

using HTTP Basic Auth with correct credentials for user2@someother.com, the ics content of user2@someother.com is returned.

Web console @ SOGo of user1@mycompany.com returns the following on executing
https://mail.mycompany.com/SOGo/so/user1@mycompany/Calendar/69-6448ED00-13-44AB288/reload:

{
"error": "http-error",
"url": "https://mail.someother.com/SOGo/dav/user2@someother.com/Calendar/personal.ics",
"status": 404
}

TagsNo tags attached.

Activities

sebastien

sebastien

2023-04-26 10:24

administrator   ~0016882

Can you reproduce this on demo.sogo.nu ?

Sebastien

bahnkonzept

bahnkonzept

2023-04-26 11:22

reporter   ~0016883

Yes - it can be reproduced on demo.sogo.nu. We tried the following - all with no success:

  • sogo2@demo.sogo.nu adding ics web calendar of sogo3@demo.sogo.nu: "Wrong username or password"
  • user1@mycompany.com adding ics web calendar of sogo2@demo.sogo.nu: "Wrong username or password"
  • sogo2@demo.sogo.nu adding ics web calendar of user1@mycompany.com: "Wrong username or password"
sebastien

sebastien

2023-05-02 06:29

administrator   ~0016925

Hello, we always prioritized premium support. When done, we we'll taker a look on this

Sebastien

sebastien

sebastien

2023-05-02 09:54

administrator   ~0016928

Hi @bahnkonzept, can you confirm you're running with MacOS X ?

Sebastien

bahnkonzept

bahnkonzept

2023-05-02 10:00

reporter   ~0016929

Hi @sebastien, we are using macOS but tried different operating systems and browser combinations (Windows 10/11/macOS using Firefox, Brave and Safari - all latest version)

sebastien

sebastien

2023-05-02 11:33

administrator   ~0016930

Commit : https://github.com/Alinto/sogo/commit/dd60e016c6c7f9a19b831804d55b6d39321d4a2a

Could you test next nightly build and give me a feedback ?

Sebastien

bahnkonzept

bahnkonzept

2023-05-02 14:04

reporter   ~0016931

Ok, we will test tomorrow morning with the nightly build from tonight.

A question: Will the test installation on https://demo.sogo.nu/SOGo/ include this nightly build too?

sebastien

sebastien

2023-05-02 15:04

administrator   ~0016932

Yes it's updated every night

sebastien

sebastien

2023-05-03 06:37

administrator   ~0016937

The latest nightly has build failed, I'm restarting the build and keep you inform

sebastien

sebastien

2023-05-03 11:15

administrator   ~0016940

Hi, packages are available, demo.sogo.nu is uptodate and I have tested it should be ok

Sebastien

bahnkonzept

bahnkonzept

2023-05-03 21:23

reporter   ~0016942

Hi Sebastien,

we tried the latest nightly build and now it's working again. Thank you for the quick fix.

Issue History

Date Modified Username Field Change
2023-04-26 09:30 bahnkonzept New Issue
2023-04-26 10:24 sebastien Note Added: 0016882
2023-04-26 11:22 bahnkonzept Note Added: 0016883
2023-05-02 06:29 sebastien Note Added: 0016925
2023-05-02 07:16 sebastien Assigned To => sebastien
2023-05-02 07:16 sebastien Status new => assigned
2023-05-02 09:54 sebastien Note Added: 0016928
2023-05-02 10:00 bahnkonzept Note Added: 0016929
2023-05-02 11:33 sebastien Note Added: 0016930
2023-05-02 11:34 sebastien Status assigned => feedback
2023-05-02 14:04 bahnkonzept Note Added: 0016931
2023-05-02 14:04 bahnkonzept Status feedback => assigned
2023-05-02 15:04 sebastien Note Added: 0016932
2023-05-02 15:41 sebastien Status assigned => feedback
2023-05-03 06:37 sebastien Note Added: 0016937
2023-05-03 11:15 sebastien Note Added: 0016940
2023-05-03 21:23 bahnkonzept Note Added: 0016942
2023-05-03 21:23 bahnkonzept Status feedback => assigned
2023-05-04 06:23 sebastien Status assigned => resolved
2023-05-04 06:23 sebastien Resolution open => fixed
2023-05-04 06:23 sebastien Fixed in Version => 5.8.3