[domo CLI] login issue in domo app CLI after performing npm start
Description
When attempting to develop the custom Domo app locally and run the local server using npm start
, an authentication error is returned, prompting the user to log in to Domo using domo login
. After successfully logging in, attempting to use npm start
again returns the same authentication error. However, it perfectly works if I publish the code to the domo data asset library. The card can be changed accordingly, this mean that domo login
works for domo publish
.
Expected behavior
The local server should start successfully without requiring repeated authentication after successful login.
Actual behavior
The local server is not able to start and requires repeated authentication after every login attempt.
Steps to reproduce
Run the command npm start
to start the local server.
Observe the authentication error.
D:\Git\collapse-table-domo-js\node_modules\react-scripts\scripts\start.js:19 throw err; ^ Error: Not authenticated. Please login using "domo login" at Transport.verifyLogin (D:\Git\collapse-table-domo-js\node_modules\@domoinc\ryuu-proxy\dist\lib\Transport\index.js:252:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Node.js v18.7.0
Run the command domo login
to log in to Domo.
PS D:\Git\collapse-table-domo-js> domo login ? Domo instance e.g. company.domo.com company.domo.com ✓ Login to company.domo.com successful. Welcome, Shawn.
Run the command npm start again.
D:\Git\collapse-table-domo-js\node_modules\react-scripts\scripts\start.js:19 throw err; ^ Error: Not authenticated. Please login using "domo login" at Transport.verifyLogin (D:\Git\collapse-table-domo-js\node_modules\@domoinc\ryuu-proxy\dist\lib\Transport\index.js:252:19) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Node.js v18.7.0
Observe the authentication error is still present.
Possible causes
It is possible that there is a bug or issue with the proxy server setup that is causing repeated authentication requests. Additionally, if the instance has a firewall setup that may be blocking access to the local server, this may also cause authentication issues.
Additional Information
Browser: Chrome
Operating System: Windows 11
Conclusion
The issue would not stop the dev progress, but it has a significant impact on the dev efficiency (as you can't see the living changes on local server). Otherwise, I can publish directly to the domo. Any suggestions and ideas for solving this issue would be appreciated!
Best Answer
-
Hi @your_super_shawn ,
I'd recommend reaching out to the App Support team at domoappsupport@domo.com. They will be able to help resolve your issue. You can follow under How to Submit a Bug to help get an answer faster.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Answers
-
Hi @your_super_shawn ,
I'd recommend reaching out to the App Support team at domoappsupport@domo.com. They will be able to help resolve your issue. You can follow under How to Submit a Bug to help get an answer faster.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
Hi @GrantSmith ,
Thank you for your response. I actually submitted the issue to the Domo support team three days ago, and they are currently investigating it. I wanted to post it on the forum to see if others have had similar experiences and if anyone has any helpful updates.
I appreciate your suggestion to reach out to the App Support team, and I will continue to wait for their response.
Once I have any useful updates from the support team, I will be sure to share them here.😀
0 -
I wonder if there was an update on this issue?
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive