by urdhvatech

A complete SugarCRM and DocuSign integration which allows us to quickly pull data from SugarCRM modules like Account, Contact, Lead, Prospect, User, Quote and Contract and then send them out for signature directly from SugarCRM. The signed document's fields are then returned to SugarCRM and attached to the corresponding SugarCRM records. The signed documents are returned to SugarCRM and attached to the document envelope.

Includes a 30 day guarantee
Try it Now

By clicking you consent to share your profile with the developer

#4630 - Internal Server Error 500

Closed Bug? created by 2 years ago

Hi,

We have installed the DocuSign connector in our SugarCRM test environment (versión 11.3.0). I have successfully synchronised the templates from a demo DocuSign Developer account. However, when I select a template to send in Sugar, I receive the error message in the attachment.

The problem was not resolved by clearing the cache, cookies, or by running quick repair and rebuild.

I would appreciate any help as at the moment the connector is unusable.

Regards, Colum

  1. urdhvatech-primary-contact member avatar

    urdhvatech

    2 years ago

    Hello Colum,

    Thanks for using our add-on. It might be the permission/ownership issue on the newly added files mainly into the modules and custom folder. Can you please verify it? Also,have you get any error into the browser console window? If yes, then please let us know about it.

    You can also connect with us on Skype. Our Skype id: urdhvatech

    Thanks & Regards, Team Urdhva Tech.

  2. fhanoun member avatar

    Hi,

    I work together Collum, analizing this issue.

    I think the problem could be this CRM is hosted on SugarCloud. Please check this error: Refused to frame 'https://appdemo.docusign.com/' because it violates the following Content Security Policy directive: "default-src 'self' *.sugarcrm.com *.salesfusion.com *.salesfusion360.com *.sugarapps.com *.sugarapps.eu sugarcrm-release-archive.s3.amazonaws.com https://*.pendo.io pendo-io-static.storage.googleapis.com pendo-static-5197307572387840.storage.googleapis.com pendo-eu-static.storage.googleapis.com pendo-eu-static-5197307572387840.storage.googleapis.com". Note that 'frame-src' was not explicitly set, so 'default-src' is used as a fallback.

    It violates the following Content Security Policy!!!!! why??? If this addOn is compatible with SugarSell, this issue shouldn't get using your Docusign connector. Because SugarSell is always onCloud. When SugarCRM is hosted onCloud, there isn't access to files or DB. Here the doumentation: https://support.sugarcrm.com/Resources/Sugar_Cloud_Policy_Guide/

    Do you know what I mean? Could it be the source of this issue?

    Thanks Beatriz Reviejo Project Lead at redk Spain

  3. urdhvatech-primary-contact member avatar

    urdhvatech

    2 years ago

    Hello Colum,

    Thanks for reaching out and shedding a light on CSP. I understand your concern. I will add the CSP for the trusted URLs in my upcoming release.

    For a time being you can add below from the SugarCRM admin > Content Security Policy Settings

    *.docusign.com *.docusign.net

    Thanks & Regards, Team Urdhva Tech.

  4. fhanoun member avatar

    Hi,

    Ok, this error is already solved following ypur instructions. But we have problems yet:

    https://bovemontero-pre.sugarondemand.com/rest/v11_15/UT_DocuSign/manageDocuSignFieldMapping

    Error Oops, An error has occured Error: Internal Server Error Status : 500 Response Text :

    https://bovemontero-pre.sugarondemand.com/rest/v11_15/UT_DocuSign/GetDocuSignTemplateDetails Error Oops, An error has occured Error: Internal Server Error Status : 500 Response Text :

    We're able to send external templates but we get errors using internal templates. Any idea? Thank you very much

    Regards Beatriz Reviejo Project lead at redk Spain

  5. urdhvatech-primary-contact member avatar

    urdhvatech

    2 years ago

    Hello Colum,

    Glad the CSP is working well now. Regarding the latest error, are you getting any errors into the browser console window? If yes, then please let us know about it.

    You can also connect with us on Skype. This way we can help you better and identify the cause of the issue quickly.

    Our Skype id: urdhvatech

    Thanks & Regards, Team Urdhva Tech.

  6. fhanoun member avatar

    Hi,

    I'm Beatriz (Affiliated user) and I'm working togeteher Collum helping to find any solution for this issue.

    Sugar Console: Thu Mar 10 07:55:41 2022 [20376][1][FATAL] could not load LHS in User Thu Mar 10 07:58:32 2022 [19768][1][FATAL] DocuSign : ObjectSerializer File written bytes Thu Mar 10 07:58:32 2022 [19768][1][FATAL] Written 218721 byte to /tmp/1646899112. Please move the file to a proper folder or delete the temp file after processing. Thu Mar 10 07:59:46 2022 [9848][1][FATAL] could not load LHS in User Thu Mar 10 09:02:54 2022 [29376][1][FATAL] DocuSign : ObjectSerializer File written bytes Thu Mar 10 09:02:54 2022 [29376][1][FATAL] Written 267783 byte to /tmp/1646902974. Please move the file to a proper folder or delete the temp file after processing. Thu Mar 10 09:02:55 2022 [29376][1][FATAL] DocuSign : ObjectSerializer File written bytes Thu Mar 10 09:02:55 2022 [29376][1][FATAL] Written 124995 byte to /tmp/1646902975. Please move the file to a proper folder or delete the temp file after processing. Thu Mar 10 09:03:32 2022 [21108][1][FATAL] could not load LHS Thu Mar 10 09:03:32 2022 [21108][1][FATAL] could not load LHS Thu Mar 10 09:03:33 2022 [21108][1][FATAL] DocuSign : ObjectSerializer File written bytes Thu Mar 10 09:03:33 2022 [21108][1][FATAL] Written 253974 byte to /tmp/1646903013. Please move the file to a proper folder or delete the temp file after processing. Thu Mar 10 09:03:34 2022 [21108][1][FATAL] DocuSign : ObjectSerializer File written bytes Thu Mar 10 09:03:34 2022 [21108][1][FATAL] Written 298848 byte to /tmp/1646903014. Please move the file to a proper folder or delete the temp file after processing.

    Chrome Browser: attached screenshots https://bovemontero-pre.sugarondemand.com/rest/v11_15/UT_DocuSign/manageDocuSignFieldMapping

    Error Oops, An error has occured Error: Internal Server Error Status : 500 Response Text :

    https://bovemontero-pre.sugarondemand.com/rest/v11_15/UT_DocuSign/GetDocuSignTemplateDetails Error Oops, An error has occured Error: Internal Server Error Status : 500 Response Text :

    Thanks Beatriz Reviejo Project Lead at redk Spain

  7. urdhvatech-primary-contact member avatar

    urdhvatech

    2 years ago

    Hello,

    Can we connect on Skype or Zoom tomorrow?

    Our Skype id: urdhvatech

    Thanks & Regards, Team Urdhva Tech.

  8. fhanoun member avatar

    Hi team,

    We've already fixed the bug by ourselves. Here you can see the PHP log with the error: _Unable to find source-code formatter for language: php. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml PHP Fatal error: Uncaught Error: Class '\DocuSign\eSign\Model\array' not found in /mnt/sugar/shadowed/bovemontero-pre.sugarondemand.com/modules/UT_DocuSign/library/esign-client/src/ObjectSerializer.php:318 Stack trace:

    0 /mnt/sugar/shadowed/bovemontero-pre.sugarondemand.com/modules/UT_DocuSign/library/esign-client/src/ObjectSerializer.php(258): DocuSign\eSign\ObjectSerializer::deserialize(Object(stdClass), '\DocuSign\eSign...', NULL)

    1 /mnt/sugar/shadowed/bovemontero-pre.sugarondemand.com/modules/UT_DocuSign/library/esign-client/src/ObjectSerializer.php(1342): DocuSign\eSign\ObjectSerializer::deserialize(Array, '\DocuSign\eSign...')

    2 /mnt/sugar/shadowed/bovemontero-pre.sugarondemand.com/modules/UT_DocuSign/library/esign-client/src/ObjectSerializer.php(1342): DocuSign\eSign\ObjectSerializer::deserialize(Object(stdClass), '\DocuSign\eSign...')

    3 /mnt/sugar/shadowed/bovemontero-pre.sugarondemand.com/modules/UT_DocuSign/library/esign-client/src/ObjectSerializer.php(258): DocuSign\eSign\ObjectSerializer::deserialize(Obj in /mnt/sugar/shadowed/bovemontero-pre.sugarondemand.com/modules/UT_DocuSign/library/esign-client/src/ObjectSerializer.php on line 318_

    Our bugfix: Changing this path '\DocuSign\eSign\Model\array' to '\DocuSign\eSign\Model\ModelList[]' Perhaps you could fix it for uncoming release too.

    Thanks Beatriz Reviejo Project Lead at redk Spain

  9. urdhvatech-primary-contact member avatar

    urdhvatech

    2 years ago

    Hello,

    Thanks for pointing it out. We will figure it out in the next version.

    Thanks & Regards, Team Urdhva Tech.

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating