You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select the SuiteCloud tool where you encountered the issue
SuiteCloud CLI
Version of the SuiteCloud Tool
SuiteCloud CLI for Node.js 1.9.0
Operating system
Locally - macOS 14.4.1 (23E224), Docker: Amazon Linux 2023
Node Version / VSCode Version
v18.14.2
JAVA Version
openjdk version "17.0.11" 2024-04-16 LTS
Bug description
Trying to run suitecloud account:savetoken on a Bitbucket pipeline step which is running a docker image based on amazonlinux:2023 but getting the error:
"Something went wrong when trying to save credentials. Contact support."
Deploy the docker image to Docker Hub: docker buildx build --platform linux/amd64 -t <yourpublicimage>/netsuite-docker --push .
Push to your bitbucket repository to trigger the pipeline steps. git push
Actual Output
Something went wrong when trying to save credentials. Contact support.
Expected Output
The TBA token has been saved for the following company and role: . This project will use the authentication ID "BitbucketPipelines-sandbox" as default.
The account has been successfully set up.
Anything else?
Based on the recommendations in this issue I've tried to add steps to install dbus and run dbus-uuidgen --ensure on both the pipeline step scripts section - it didn't work - still getting the error Something went wrong ....
Based on the recommendations in issue I've tried to add steps to install dbus and run dbus-uuidgen --ensure on the image itself - it didn't work - still getting the error Something went wrong ....
This only occurs on the Docker image. It works fine locally on my Mac.
Thank you.
The text was updated successfully, but these errors were encountered:
Select the SuiteCloud tool where you encountered the issue
SuiteCloud CLI
Version of the SuiteCloud Tool
SuiteCloud CLI for Node.js 1.9.0
Operating system
Locally - macOS 14.4.1 (23E224), Docker: Amazon Linux 2023
Node Version / VSCode Version
v18.14.2
JAVA Version
openjdk version "17.0.11" 2024-04-16 LTS
Bug description
Trying to run suitecloud
account:savetoken
on a Bitbucket pipeline step which is running a docker image based on amazonlinux:2023 but getting the error:"Something went wrong when trying to save credentials. Contact support."
I am running this command:
suitecloud account:savetoken --account ${NS_ACCOUNT_ID_SANDBOX} --authid BitbucketPipelines-sandbox --tokenid ${NS_TOKEN_ID_SANDBOX} --tokensecret ${NS_TOKEN_SECRET_SANDBOX}
The command works fine locally on mac using the exact same credentials and suitecloud-cli version.
Essentially I'm trying to perform CICD deployment on a bitbucket pipeline, following the methods recommended in these blog posts:
Steps To Reproduce
bitbucket-pipelines.yml
file with the following contents:Dockerfile
with the following contents:docker buildx build --platform linux/amd64 -t <yourpublicimage>/netsuite-docker --load .
docker buildx build --platform linux/amd64 -t <yourpublicimage>/netsuite-docker --push .
git push
Actual Output
Something went wrong when trying to save credentials. Contact support.
Expected Output
The TBA token has been saved for the following company and role: . This project will use the authentication ID "BitbucketPipelines-sandbox" as default.
The account has been successfully set up.
Anything else?
dbus-uuidgen --ensure
on both the pipeline step scripts section - it didn't work - still getting the errorSomething went wrong ...
.dbus-uuidgen --ensure
on the image itself - it didn't work - still getting the errorSomething went wrong ...
.This only occurs on the Docker image. It works fine locally on my Mac.
Thank you.
The text was updated successfully, but these errors were encountered: