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

The admin-ui couldn't display the data after the sitewhere-service running for several days. #4

Open
derekadams opened this issue Mar 29, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@derekadams
Copy link
Member

@GanKanTechnology commented on Fri Mar 29 2019

Hi @jorgevillaverde-sitewhere

It's been about 1 month since we started testing the sitewhere-service on-line.

Generally it run well during the past month. We added some devices to send data to the sitewhere unregularly and check them from the admin-ui.

But today and someday about a week ago, we can't see those data from the admin-ui. We can log on and click the tenants and the devices, but the devices' data such as MEASUREMENTS & ALERTS cann't be seen. The devices were working well, and nothing wrong with mongodb or zookeeper or kafka or mosquitto. There was not enough time to find out the exact reason. I had to restart all microservice using the command below because we have other tests to do and then everything went well.

 kubectl scale deploy --replicas=0 -l sitewhere.io/role=microservice
 kubectl scale deploy --replicas=1 -l sitewhere.io/role=microservice

Just mark it here for this problem had happened twice.
I think there maybe something wrong but I didn't find out today. If this happened again, what should I do to find out what's wrong in a short time please?
Thank you.

Some info that may help:
1.Sitewhere images version: latest,created 4 weeks ago ,maybe 2.0.4

2.helm list:
NAME REVISION UPDATED STATUS CHART APP VERSION
sitewhere 1 Sun Feb 24 18:22:51 2019 DEPLOYED sitewhere-0.1.5 2.0

3.k8s-version:"v1.13.0",


@derekadams commented on Fri Mar 29 2019

This is probably a defect in the admin user interface. The REST calls that retrieve events accept a date range and the admin UI defaults to a short range. We are currently working on a new version of the admin UI which will include the ability to choose the date range. There will also be many other improvements. You can test the REST services by using the Swagger interface and specifying a larger range of dates to see if results are returned. Hope that helps!


@GanKanTechnology commented on Fri Mar 29 2019

Thanks, I'll try that next time~

@derekadams
Copy link
Member Author

This issued has been moved to the admin UI repository here: #4

@derekadams derekadams self-assigned this Mar 29, 2019
@derekadams derekadams added the bug Something isn't working label Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant