Issue with invitation Calendar?
-
Hi Manfred,
Thank you for the reply, I was checking though the logs but could not find any other errors besidesStatusException: SyncCollections->CheckForChanges(): Timeout forced after 28s from 470s due to other process - code: 3 - file: /var/www/zpush/src/lib/core/synccollections.php:579 [WARN] [gerencia] SyncObject->Check(): object from type SyncMail: parameter 'from' contains an invalid email address 'gerencia'. Address is removed.
This is another log
07/11/2018 23:53:09 [24194] [ INFO] [gerencia] cmd='Sync' memory='2.74 MiB/3.00 MiB' time='0.45s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200' 07/11/2018 23:53:09 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'Tpersonal' 07/11/2018 23:53:09 [24194] [ INFO] [gerencia] cmd='Sync' memory='2.69 MiB/3.00 MiB' time='0.49s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200' 07/11/2018 23:53:10 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'Cpersonal' 07/11/2018 23:53:10 [24194] [ INFO] [gerencia] cmd='Sync' memory='2.88 MiB/3.25 MiB' time='0.43s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200' 07/11/2018 23:53:10 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for '0ba49d4c' 07/11/2018 23:53:10 [24194] [ INFO] [gerencia] cmd='Sync' memory='2.73 MiB/3.00 MiB' time='0.36s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200' 07/11/2018 23:53:22 [24194] [ INFO] [gerencia] Processed '1' incoming changes 07/11/2018 23:53:22 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for '0ba49d4c' 07/11/2018 23:53:22 [24194] [ INFO] [gerencia] cmd='Sync' memory='2.80 MiB/3.25 MiB' time='0.39s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200' 07/11/2018 23:53:28 [24194] [ INFO] [gerencia] cmd='MeetingResponse' memory='2.58 MiB/3.00 MiB' time='0.36s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200' 07/11/2018 23:53:30 [24194] [ INFO] [gerencia] cmd='SendMail' memory='2.59 MiB/3.00 MiB' time='0.38s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200' 07/11/2018 23:53:32 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '1' changes for '9d7d5407' 07/11/2018 23:53:32 [24194] [WARN] [gerencia] SyncObject->Check(): object from type SyncMail: parameter 'from' contains an invalid email address 'gerencia'. Address is removed. 07/11/2018 23:53:32 [24194] [ INFO] [gerencia] cmd='Sync' memory='3.33 MiB/3.75 MiB' time='0.36s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200' 07/11/2018 23:53:33 [ 8573] [ INFO] [gerencia] cmd='Ping' memory='3.12 MiB/3.50 MiB' time='181.18s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='180s' version='GIT' method='POST' httpcode='200' 07/11/2018 23:53:34 [24194] [ INFO] [gerencia] SyncCollections->CheckForChanges(): Waiting for store changes... (lifetime 660 seconds) 07/11/2018 23:53:34 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '6' changes for 'hierarchy' 07/11/2018 23:53:35 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'hierarchy' 07/11/2018 23:53:35 [24194] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'hierarchy' 07/11/2018 23:53:36 [31900] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for '69ba70f8' 07/11/2018 23:53:46 [ 539] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for '1543cbea' 07/11/2018 23:53:46 [ 539] [ INFO] [gerencia] StatusException: SyncCollections->CheckForChanges(): Timeout forced after 47s from 660s due to other process - code: 3 - file: /var/www/zpush/src/lib/core/synccollections.php:579 07/11/2018 23:53:46 [ 539] [ INFO] [gerencia] cmd='Ping' memory='3.25 MiB/3.50 MiB' time='46.98s' devType='Android' devId='4e696e65353731394334383632313636' getUser='gerencia' from='192.168.3.254' idle='47s' version='GIT' method='POST' httpcode='200' 07/11/2018 23:53:48 [ 8573] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'Cpersonal' 07/11/2018 23:53:48 [ 8573] [ INFO] [gerencia] cmd='Sync' memory='2.88 MiB/3.25 MiB' time='0.53s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200' 07/11/2018 23:53:48 [ 539] [ INFO] [gerencia] ExportChangesDiff->InitializeExporter(): Found '0' changes for 'Tpersonal' 07/11/2018 23:53:48 [ 539] [ INFO] [gerencia] cmd='Sync' memory='2.69 MiB/3.00 MiB' time='0.62s' devType='SamsungDevice' devId='sec1f9c9384c7e3f' getUser='gerencia' from='192.168.3.254' idle='0s' version='GIT' method='POST' httpcode='200' ^C
as you can see it shows the meeting
im not sure what else to look forThank you
-
Hi killmasta93,
@killmasta93 said in Issue with invitation Calendar?:
Hi Manfred,
Thank you for the reply, I was checking though the logs but could not find any other errors besidesStatusException: SyncCollections->CheckForChanges(): Timeout forced after 28s from 470s due to other process - code: 3 - file: /var/www/zpush/src/lib/core/synccollections.php:579 [WARN] [gerencia] SyncObject->Check(): object from type SyncMail: parameter 'from' contains an invalid email address 'gerencia'. Address is removed.
You don’t have to look for errors only, you have to check if outlook sends the calendar item to the server as a new appointment. To see the data sent between outlook/mobile devices and server you have to set the loglevel to WBXML.
@killmasta93 said in Issue with invitation Calendar?:
as you can see it shows the meeting
im not sure what else to look forThank you
It shows the MeetingResponse which is not the same. The INFO loglevel is not helpful when debugging. Felix posted the link in his first response how to enabled WBXML logs and I also already responded in this thread that in order to tell more, WBXML level logs are required.
Manfred
-
Hi manfred,
Thank you for the reply, sorry for not abiliting the WBXML logs this time i enabled it and added the part when i send the invitation from a hotmail account to my caldav accountThank you
-
Hi killmasta93,
to you it’s obvious what you’re sending and receiving, but it would help me a lot if you’d at least provide the subject of the meeting request.
Scrolling through more than 1000 lines of the log you’ve posted, there’s one meeting response “Canceled: testest” which is actually a meeting cancellation. Is it really the right one?
Manfred
-
Hi Manfred, Thank you again for the reply and your time. Sorry for not posting the subject i did another test.
The subject isthisisatest
-
Hi killmasta93,
the log you’ve posted begins when you send the MeetingResponse. It’s also important to see what happens when you receive the meeting request.
Manfred
-
Thanks for the reply, so i did another test the subject is
this is a test 3
i send invitation from client@hotmail.com(on outlook 2013) to gerencia@mydomain,com(on mobile using nine android app)
after the invitation got send, on my android i hit accept. the issue is that i dont see the receive part on the log, but i receive it though the email with no issue.[DEBUG] [gerencia] cmd='MeetingResponse' devType='Android' devId='4e696e65353731394334383632313636' getUser='gerencia' from='192.168.3.254' version='GIT' method='POST'
Not sure if its a bug
LOG:
https://pastebin.com/2apmKfGW
Thank you -
Hi killmasta93,
did you hit accept on the invitation email or did you open the calendar and hit accept on the appointment? I’m not familiar with the functionality of the Nine app, so the more information you provide the better. Does the app use the built-in email and calendar or is it all inside the app?
There’s no calendar item “this is a test 3” being synced to the server, so I guess that the app creates the appointment in the calendar only locally and doesn’t sync it back to the server. Maybe there’s some checkbox somewhere in the settings like “sync appointments from meeting requests to the server”.
Manfred
-
Hi Manfred,
Thank you again for your help really appreciate it. This time i did the test with the outlook mail app
the subject is testing 4
the only part i found in the log that shows receive
would be this which i dont think its sending the request to the server14/11/2018 23:21:51 [29775] [WBXML] [gerencia] O <POOMMAIL:DateReceived> 14/11/2018 23:21:51 [29775] [WBXML] [gerencia] O 2018-11-15T04:21:53.000Z 14/11/2018 23:21:51 [29775] [WBXML] [gerencia] O </POOMMAIL:DateReceived>
This is the whole log
Thank you again
-
Hi killmasta93,
after you accept the meeting request, the appointment is only in Outlook’s calendar, isn’t it? Did you check if Outlook or mobile creates an appointment in the calendar after you open the meeting request in Outlook or on a mobile, but before you respond to the meeting request?
My guess is that Outlook and mobile devices create the appointments from meeting requests only locally and expect the server to handle this. If that’s the case, it would require quite some work on the combined backend to be able to handle it (if it’s possible at all).
Manfred
-
Thanks for the reply, and appreciate all the help. That is correct on outlook after accepting the meeting it creates it locally but does not send it to the server which therefore does not sync across mobile device, as you mention could be something on the backend. I would like to somehow help or pay for that fix. I know its alot of work cant imagine the hours that you put in.
-
Hi killmasta93,
the caldav backend was a community contribution and the imap backend has a lot of community contributions as well. Right now we (Z-Push core team) don’t have any resources to address this issue. If someone would contribute a fix for it, we would of course review it and accept if it works as expected.
Manfred
-
Hi Manfred,
Thank you for the reply, would I post this as a bug? I would gladly pay someone to fix this issue as im really interesting in putting this in production.Thank you
-
@manfred I can set a meeting withouth problems and gets synced. Do you have a caldav backend?. Are you setting the event in the calendar being synced?. Do you have personal calendar property of Z-push properly set?.
-
Hi egoitzau,
@egoitzau said in Issue with invitation Calendar?:
@manfred I can set a meeting withouth problems and gets synced. Do you have a caldav backend?. Are you setting the event in the calendar being synced?. Do you have personal calendar property of Z-push properly set?.
@killmasta93 is the one having issue, not me.
Manfred
-
@egoitzau I can set the meeting with no problems the issue is when someone sends me an invitation and i try to accept it, Currently using combined Backend.
-
$100USD Bounty to fix this issue
-
200USD??? Bounty anyone up for grabs?
-
Hi @killmasta93,
I don’t know if it is still relevant. But I encountered the same issues as you did almost 2 years ago. I was able to figure out how to make it work again for me:
- remove account from impacted devices
- restart device
- remove impacted account through z-push-admin (sudo -u www-data php7.3 z-push-admin.php -a remove -u USER -d DEVICEID)
- execute a clearloop (sudo -u www-data php7.3 z-push-admin.php -a clearloop)
- execute a fixstates ((sudo -u www-data php7.3 z-push-admin.php -a fixstates)
- recreate account on impacted device
- try again
I do even recommend removing the accounts of a user on different devices (if you have one phone, one Outlook and a tablet), remove all accounts on each of the devices as well as the account through the z-push-admin, reboot them, execute clearloop and fixstates and set them up again. I still ran into issues once in a while but overall it worked again. I will have to get my hands on all the devices that I am synchronizing right now and do the same on these. I can receive invites again and respond to them but when I send them they (at least with outlook) do not show up properly for the user that I am sending them to. really a big pain as otherwise z-push is the best thing since sliced bread. I just wished I could contribute and fix some of the stuff but it is just too complicated.
regards
realshadow