Welcome to the Atlassian Developer Community. Very glad to have you here.
I don’t know exactly why this is happening, but let me ask a few things and see if we can understand more or reproduce it:
What is the API URL that is leading to this error? Is that the /rest/api/2/issue/${issueKey}?fields=summary,description one or the https://api.cognitive.microsofttranslator.com/translate?api-version=3.0 one? It’s true that the error seems to be related to an SSL certificate and I’m trying to understand the exact conditions when it happens.
Does the problem occur both when using forge tunnel and when using the deployed version of the app (so when the forge tunnel is not running)?
When is the error logged? I assume that’s when clicking on one of the Translate button but I would like to be sure.
By the way, can you please also do a git pull on the repository? I found and fixed a small issue today and it would be great if you can work with the latest version of the code.
Exactly, the error shows it when I click the translate button and is relatable to the https://api.cognitive.microsofttranslator.com/translate?api-version=3.0 call. The error persist on both cases, when is deployed and when is on tunnel.
I did too the small chances you did in the repo, but I think this is other kind of issue.
Hey @Cris1 I tested the translator app and also ran into some issues. Not exactly the issue you describe but I was seeing 4xx responses while calling the translator API.
With these changes, I was able to get the translator app working as expected. These have been merged to master so could you try again? There’s one extra setup set now so you’ll have to add the location of the API as an environment variable like: forge variables:set TRANSLATE_API_LOCATION xxxxxxxxxx.