kbmanojkumar
(Manojkumar Krishnaramanujam Baskaran)
April 13, 2023, 8:51am
1
Product/components used and version/fix level are you on:
latest version
Detailed explanation of the problem:
I tried to login with my tenant id ,username, and password in my local host but its showing invalid credentials even though my credentials are correct
How to run the widget in my localhost
Error messages / full error message screenshot / log fileL
Is your question related to the free trial, or to a production (customer) instance?
production
Have you installed all the latest fixes for the products and systems you are using?
yes
What url is the start of your local server using?
The screenshot doesn’t show ‘Invalid credentials’ - can you post that screenshot?
You can check the command output, as it shows where it is proxying to:
Proxying requests to remote instance http://demos.cumulocity.com
Please check if you follow the documentation and use e.g.
c8ycli serve -u https://mytenant.eu-latest.cumulocity.com
https://cumulocity.com/guides/web/development-tools/#c8y-cli
kbmanojkumar
(Manojkumar Krishnaramanujam Baskaran)
April 13, 2023, 9:45am
5
“localhost:9000/apps/myapp/”
kbmanojkumar
(Manojkumar Krishnaramanujam Baskaran)
April 13, 2023, 9:50am
6
And could you please share any tutorial videos for customizing the widget and testing that on a local machine before build?
This is Dev tools, but what do you enter in the UI input boxes?
kbmanojkumar
(Manojkumar Krishnaramanujam Baskaran)
April 13, 2023, 9:55am
8
My tenant id, user name, and password
How does your command to run locally look like?
c8ycli serve ......
Kai_Sieben
(Kai Sieben)
April 13, 2023, 10:21am
10
Additionally I would recommend to follow this tutorial series:
Kai_Sieben
(Kai Sieben)
April 13, 2023, 10:34am
12
And in detail? Do you provide the “-u” parameter followed by the URL?
Kai_Sieben
(Kai Sieben)
April 13, 2023, 10:44am
14
Then please do so as mentioned in my previous post and it will work
You can check the command output, as it shows where it is proxying to:
Proxying requests to remote instance http://demos.cumulocity.com
Please check if you follow the documentation and use e.g.
c8ycli serve -u https://mytenant.eu-latest.cumulocity.com
https://cumulocity.com/guides/web/development-tools/#c8y-cli
kbmanojkumar
(Manojkumar Krishnaramanujam Baskaran)
April 13, 2023, 12:18pm
15
Thanks it’s working. Now new problem we need Data points chart in our local machine how we can achieve that
If my response helped then please mark it as “Accepted answer”.
For the data points chart question, please create a new post!
Thanks
system
(system)
Closed
October 11, 2023, 7:31am
18
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.