irontec / zsugar

Zimbra SugarCRM integration zimlet (unmaintained, see README)
3 stars 8 forks source link

Incorrect Authentication. Zsugar 1.4.15 on Zimbra 8.8.5 GA #18

Closed amernet closed 6 years ago

amernet commented 6 years ago

Hello,

Since we upgraded the zimbra to 8.8.5, my zSugar stopped working. I checked the JSP is still enabled.

Zsugar 1.4.15 on Zimbra 8.8.5_GA_1894 (build 20171026035615)

Please advise how to fix it.

Thanks!

Kaian commented 6 years ago

Hi @amernet

zsugar has not been tested in zimbra > 8.7 but let's try to find out what's failing.

This zimlet requests are sent using a JSP, so the best way to debug is opening your browser developers tools and reload. Look for redirect.jsp request and check the response (you can paste it here)

I've attached an image of latest firefox developer tools (pressing F12 in zimbra webmail).

redirectjsp

Thanks for reporting!

amernet commented 6 years ago

Hello Kaian,

Sorry for the late reply. Please let me know if this is what you want to see.

------------------------------------- Loading package: ZimletApp VM7473:1 POST https://zmail.amer.net/service/zimlet/com_irontec_zsugar/redirect.jsp 500 (Server Error) (anonymous) @ VM7473:1 (anonymous) @ Zimlets-nodev_all.js.zgz?language=en&country=US&cosId=e00428a1-0c00-11d9-836a-000d93afea2a:34064 AjxRpcRequest.invoke @ Startup1_1_all.js.zgz?v=171026050723:1331 AjxRpc.invoke @ Startup1_1_all.js.zgz?v=171026050723:1422 ironsugar._doPOST @ Zimlets-nodev_all.js.zgz?language=en&country=US&cosId=e00428a1-0c00-11d9-836a-000d93afea2a:59210 ironsugar._callREST @ Zimlets-nodev_all.js.zgz?language=en&country=US&cosId=e00428a1-0c00-11d9-836a-000d93afea2a:59228 ironsugar.login @ Zimlets-nodev_all.js.zgz?language=en&country=US&cosId=e00428a1-0c00-11d9-836a-000d93afea2a:59247 com_irontec_zsugarH._login @ Zimlets-nodev_all.js.zgz?language=en&country=US&cosId=e00428a1-0c00-11d9-836a-000d93afea2a:59573 com_irontec_zsugarH.init @ Zimlets-nodev_all.js.zgz?language=en&country=US&cosId=e00428a1-0c00-11d9-836a-000d93afea2a:59501 ZmZimletContext._finished_loadIncludes @ VM7541:701 ZmZimletMgr._finished_loadIncludes @ VM7541:1393 AjxCallback.run @ (index):1481 e @ Startup1_1_all.js.zgz?v=171026050723:4055 (anonymous) @ (index):1514 Zimlets-nodev_all.js.zgz?language=en&country=US&cosId=e00428a1-0c00-11d9-836a-000d93afea2a:

amernet commented 6 years ago

redirect_jsp

amernet commented 6 years ago

screenshot_1

Kaian commented 6 years ago

Sorry for the late response, you closed the issue so it disappeared from my view :sweat_smile:

The 500 error of that response does not provide too much information. We would require the zimbra logs when the request is done to have more information.

Also, like documentation mentions, be sure you have restarted your mailbox and enabled JSP (See https://github.com/irontec/zsugar/issues/2#issuecomment-55773282) .

Sorry I can not provide better support, but sadly we have stopped using SugarCRM so this plugin has not improved since a year..

Regards!