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]: Get Template endpoint error on Digital Ocean 1-click install #585

Closed
3 tasks done
nick-hocmn opened this issue Apr 10, 2024 · 1 comment
Closed
3 tasks done
Assignees
Labels
bug Something isn't working up-for-grabs

Comments

@nick-hocmn
Copy link

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.

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

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I have searched the existing issues & discussions to make sure that this is not a duplicate.
@nxglabs
Copy link
Contributor

nxglabs commented Apr 26, 2024

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

@Zathiel Zathiel closed this as completed Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working up-for-grabs
Projects
None yet
Development

No branches or pull requests

4 participants