OpenSign icon indicating copy to clipboard operation
OpenSign copied to clipboard

[Bug]: Get Template endpoint error on Digital Ocean 1-click install

Open nick-hocmn opened this issue 1 year ago • 1 comments

Issue Description

Using the API docs I was able to create a template, but when I used the Get Template end point to retrieve it, I got the error "Something went wrong, please try again later!" in response. The runtime logs for the amolshejole-opensignserver component in Digital Ocean threw an error:

info: afterFind triggered for _User for user undefined: Input: "AfterFind" Result: "[{\"objectId\":\"pw7yGUY9ma\",\"name\".... err CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1.

Am I missing something here? Is that necessary for Digital Ocean deployments? A bug?

Apologies for any mistakes I made in this issue, this is new to me!

Expected Behavior

200 response that returns the template's schema

Current Behavior

{ "error": "Something went wrong, please try again later!" }

Steps to reproduce

  1. Go to https://docs.opensignlabs.com/docs/self-host/One-click-Install/DigitalOcean
  2. Click "Deploy on DigitalOcean" button and log in
  3. Click "Next" 4 times, followed by "Create Resources"
  4. Open the app after it's finished and log in
  5. Go to the API section and generate key
  6. Follow instruction for creating a template replacing https://app.opensignlabs.com/ with your app URL from step 4 (I did it in Postman)
  7. Copy Id from response
  8. Follow instructions for getting a template replacing https://app.opensignlabs.com/ with your app URL from step 4 and using the Id from step 7 in place of template_id

Screenshots of the issue(optional)

No response

Operating System [e.g. MacOS Sonoma 14.1, Windows 11]

Windows 11

What browsers are you seeing the problem on?

Chrome

What version of OpenSignâ„¢ are you seeing this issue on? [e.g. 1.0.6]

unsure, whatever version the one-click install did at 3 hours ago

What environment are you seeing the problem on?

Hosted (app.yourdomain.com)

Please check the boxes that apply to this issue report.

  • [X] I have searched the existing issues & discussions to make sure that this is not a duplicate.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct
  • [X] I have searched the existing issues & discussions to make sure that this is not a duplicate.

nick-hocmn avatar Apr 10 '24 14:04 nick-hocmn

@nick-hocmn this issue has been resolved. Can you please check and confirm?

nxglabs avatar Apr 26 '24 12:04 nxglabs