Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Accepted calendar invites not showing up in calendar #393

Closed
dcwalk opened this issue Feb 13, 2021 · 25 comments
Closed

Bug: Accepted calendar invites not showing up in calendar #393

dcwalk opened this issue Feb 13, 2021 · 25 comments
Assignees

Comments

@dcwalk
Copy link
Contributor

dcwalk commented Feb 13, 2021

Calendars for our hypha email accts seem to be experiencing an issue.

Original report in #hyphacoop-infrastructure:tomesh.net:

I've had a couple calendar invites come in that I've accepted but they aren't populating my calendar e.g., this one from From Later I just accepted and one from Quartermaster. I logged into the SOGo web interface just now and experiencing the same

I'm using:

  • desktop linux
  • thunderbird
    or
  • osx
  • apple mail

tested accepting google invites in different browsers (e.g., firefox, beaker) didn't change anything.

@dcwalk dcwalk added infrastructure Back office infrastructure tasks [priority-★★☆] labels Feb 13, 2021
@ASoTNetworks
Copy link
Member

ASoTNetworks commented Feb 17, 2021

I was looking at how events are added into the calendar when the accept link is clicked.

The client side (not server side) will add the event into the calendar once accepted. I tested this in Thunderbird where it adds to the wrong one unless I make all the others read only.

Tested on Android and worked as expected when accepting a Google event.

Another report of creating shared calendars events not using the owner's account on SoGo will cause the event to not get send out to attendees. This is because SoGo tries to send the email from the owner's email which is not allowed from a different user.

A workaround is to create a general calendar account and use that to share the calendars and allow anyone to send from the calendar email.

I have also tested this on Android calendar app and it will use your own email to send out invitations.

Shared calendar issue: https://www.sogo.nu/bugs/view.php?id=2702

@dcwalk
Copy link
Contributor Author

dcwalk commented Mar 2, 2021

Just an update that this behaviour is still not as expected. @uditvira flagged other calendar issues around how shared calendars perform but unclear what the resolution on that / this where

@uditvira
Copy link
Member

uditvira commented Mar 4, 2021

My shared cal issue captured in #419

@garrying
Copy link
Contributor

From March 23, 2021, infra-wg meet:

  • infra-wg is wondering how are people adding their calendar's to their respective clients
  • keep posting in this issue: we're looking for reproducible steps, and clients, to help us evaluate possible solutions
  • infra-wg will look into CalDev clients and feasibility of support
  • infra-wg will investigate the feasibility of using ActiveSync

@uditvira
Copy link
Member

uditvira commented May 1, 2021

I'm still having serious calendar issues, where invites aren't showing up in my calendar client (MacOS/iOS Apple Calendar). I've tried a few times and it's reproducible. When I send an invite from a personal Google account, through the Google calendar web app, to udit@hypha.coop, it doesn't show up in my Apple Calendar. I do get an email invite with the ics file. I can accept it from the SoGo web client, and even then it doesn't show up in Apple Calendar. I'm assuming then that this is a CalDAV issue.

@ASoTNetworks
Copy link
Member

ASoTNetworks commented May 1, 2021

Does it show up in Sogo? Is your iOS calendar added through the CalDAV account settings option with the correct CalDAV link from Sogo Links to this Calendar ?

Here are the instructions to do it on iOS https://www.sogo.nu/files/docs/SOGoMobileDevicesConfigurationGuide.html#_apple_ios_calendars

@uditvira
Copy link
Member

uditvira commented May 1, 2021

Yes it shows up in SoGo. CalDAV link should be correct, I'm seeing other previous events. It's not like it's never worked before. Is there a way to check if CalDAV requests from my client are being served on your side?

@ASoTNetworks
Copy link
Member

I checked the server logs and don't see any errors. Have you tried deleting the calendar and adding it again?

@ASoTNetworks
Copy link
Member

This morning @uditvira created a event but didn't sent out invites to attendees. We saw that the organizer was selected randomly with users in alias that he is part of.

We also tried re-creating the accounts on the computer but same results.

After disabling Alias is visible in SOGo in all the alias it fixed the organizer issue but still didn't send out invite emails.

I have also tested the same steps in a Big Sur VM and calendar works as expected.

  • OS: macOS
  • OS-Version: Big Sur
  • Mail Software: Apple Mail
    • Version:
  • Calendar Software: Apple Calendar
    • Version:
  • Portocols Used:
    • CalDAV, CardDAV, IMAP

@ASoTNetworks
Copy link
Member

Things to diagnose why event invitation email not being sent out:

  • see if creating a event normally like yesterday will send out an invite
    • verify the organizer is right in SOGo
    • if no email sent out try with Mail app running in the background if it is not already running

@uditvira
Copy link
Member

I tried all permutations

  • mail client open/closed
  • create events with 1 or more invitees (including hypha and non hypha accounts)
    Mail invites seem to be going out. I'm glad it works, but I don't want to work with such brittle infra, I have no trust in whether invites are actually sent or not.

cc @ASoTNetworks

@ASoTNetworks
Copy link
Member

ASoTNetworks commented Sep 10, 2021

Looks like turning off Alias is visible in SOGo did the trick and invite should be sent out now.
I would suggest using this internally to test out the feature or ping external contacts to see if they received it

There is currently an know issue with Gmail when they received the invite email but attendee acceptance status is not reflected on SoGo server so you won't get a status if they accepted or declined.
More info: https://www.sogo.nu/bugs/view.php?id=5182

@ASoTNetworks
Copy link
Member

Also tested sending to a ProtonMail address and accepted the event and acceptance is reflected on SoGo server so it seems like something with Gmail.

@ASoTNetworks
Copy link
Member

ASoTNetworks commented Sep 10, 2021

Things @YurkoWasHere and I tested

Created calendar invite event from Hypha email using Outlook to a Gmail address and accepted in Gmail's web UI and got confirmation when accepted or declined actions are clicked.

Creating calendar invite event from Hypha to a bunch of other emails using SOGo and Thunderbird we got all confirmation emails but no email from Gmail user when accepting from Gmail's web UI. Accepting on Thunderbird of the same Gmail user the Hypha email got a response.

Events created from Gmail calendar to Hypha the Gmail user gets a response when the Hypha user accepts or declines.

This points to how Gmail's UI handles accepting and declining which does not get send back to the Hypha user.

@YurkoWasHere
Copy link
Member

Test WORKING email ICAL and NOT WORKING e-mail ICAL invite

Working on was generated by OUTLOOK
Not working one was generated by THUNDERBIRD

Testing using command line mail client

Test 1 - containers

Working one used

Content-Type: text/calendar; charset="utf-8"; method="REQUEST"
Content-Transfer-Encoding: quoted-printable

ICAL

Not working used

Content-Type: multipart/mixed; boundary..

...
--Boundary
Content-Class: urn:content-classes:calendarmessage
Content-Type: text/calendar; method=REQUEST; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
ICAL
--Boundary

Swapped the containers, Working one continued to work, non-working still did not

Conclusion: must be an issue with the ICAL structure itself

@YurkoWasHere YurkoWasHere removed the infrastructure Back office infrastructure tasks label Sep 15, 2021
@ASoTNetworks
Copy link
Member

We figured out why acceptance email doesn't reach the inbox from Gmail. If the Hypha email is registered with a Google account the invitation gets routed internally by Google's backend into /dev/null and nowhere to be found.

To avoid this do not use your Hypha email to register for a permanent Google account.

@benhylau
Copy link
Member

Has anyone done this?

@ASoTNetworks
Copy link
Member

Think it is only me since testing I noticed that weird issue.

@benhylau
Copy link
Member

Can you unregister and "fix" your account?

Can @uditvira @dcwalk confirm they aren't impacted.

@ASoTNetworks
Copy link
Member

Yes I did that but it will take some time before it is totally purged from Google's systems. I ran a login test trying to sign in with all our emails and shows they don't exists.

@dcwalk
Copy link
Contributor Author

dcwalk commented Sep 29, 2021

I am not impacted! As of my call with @ASoTNetworks last week I am not experiencing the bug described here, and have the ability to accept/send.

There is a larger issue though with the limits on what Sogo info is shared publicly and Google Calendar's use of non-standard fields (that was my issue with the missing Zoom links).

Best,
Dawn

@ASoTNetworks
Copy link
Member

There is a larger issue though with the limits on what Sogo info is shared publicly and Google Calendar's use of non-standard fields (that was my issue with the missing Zoom links).

This is when Google pulls from Sogo into your calendar right?

@benhylau
Copy link
Member

benhylau commented Oct 6, 2021

My Apple Calendar is unable to render replies (e.g. acceptances) from others as a green check mark. See Matrix thread. This never worked for me, I even tried changing the ics file's SEQUENCE and METHOD, nothing will get my desktop app to update the event with a green check mark.

@benhylau
Copy link
Member

If an email address not using a Google inbox (e.g. x@hypha.coop uses another provider) is registered on Google Apps, and it sends a calendar invitation, then a recipient who uses Gmail accepts the invitation, Google will not send an acceptance out to the sender. This results in x@hypha.coop not being able to get a accept/reject to that calendar invite.

It is related to this flow:

https://www.techrepublic.com/article/how-to-resolve-an-invitation-issue-between-google-calendar-and-office-365/

As of February 2015, when you send a Google Calendar invitation, the invitation goes to the Google Calendar linked to the email address of the person you invite. If the email address isn't linked to a Google Calendar, then the event invitation routes by email to the recipient. If your organization moves away from Google Apps, make sure to remove the domain -- and thereby the associated emails -- to ensure that future invitations from people who use Google Calendar route properly.

Organization-wide Kanban automation moved this from To Do to Done Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

7 participants