skywalking icon indicating copy to clipboard operation
skywalking copied to clipboard

SkyWalking Web Page shows no data

Open Heyman90 opened this issue 6 years ago • 20 comments

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • [ ] Question or discussion
  • [√] Bug
  • [ ] Requirement
  • [ ] Feature or performance improvement

Bug

  • Which version of SkyWalking, OS and JRE? 6.6.0, Linux, Binary Distribution for ElasticSearch 7
  • What happen? After running SkyWalking for three days, SkyWalking Web Page shows no data. Response infos of the WebPage is 'We're sorry but SkyWalking doesn't work properly without JavaScript enabled. Please enable it to continue'. I ensure javascript of myweb view is enabled.

Heyman90 avatar Mar 02 '20 12:03 Heyman90

Do you keep using h2 as storage?

wu-sheng avatar Mar 02 '20 12:03 wu-sheng

Do you keep using h2 as storage? I config elasticsearch-7.6.0 as the storage. The elasticsearch cluster include three nodes, every node has master and data roles. At the same time, I note that the skywalking server print logs such as ’org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient - 388 [I/O dispatcher 1] WARN [] - Bulk [3] executed with failures‘. Get more informations in the picture: image

Heyman90 avatar Mar 02 '20 14:03 Heyman90

Your ES sever maybe crash. I can't tell why, you have to find out by yourself.

wu-sheng avatar Mar 03 '20 02:03 wu-sheng

Your ES sever maybe crash. I can't tell why, you have to find out by yourself.

I checked all my es nodes. However, all nodes are in health status and the logs of es show no exception. At the same time, the cpu and memory of the machine are both in a good range. Maybe should I check something other?

Heyman90 avatar Mar 03 '20 03:03 Heyman90

No clue, are your ES supporting to create index through template?

wu-sheng avatar Mar 03 '20 03:03 wu-sheng

No clue, are your ES supporting to create index through template?

The es support create index through template. I can get the indexes by template: image

Do you keep using h2 as storage? I config elasticsearch-7.6.0 as the storage. The elasticsearch cluster include three nodes, every node has master and data roles. At the same time, I note that the skywalking server print logs such as ’org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient - 388 [I/O dispatcher 1] WARN [] - Bulk [3] executed with failures‘. Get more informations in the picture:

image

In addition, the logs of skywalking show the library use elasticsearch client while the storage use elasticsearch7 client. Will it influence the data interaction and lead to this result?

Heyman90 avatar Mar 03 '20 03:03 Heyman90

In addition, the logs of skywalking show the library use elasticsearch client while the storage use elasticsearch7 client. Will it influence the data interaction and lead to this result?

Which es client you are using, base on your binary chosen and YAML config. I don't know what you choose.

wu-sheng avatar Mar 03 '20 05:03 wu-sheng

In addition, the logs of skywalking show the library use elasticsearch client while the storage use elasticsearch7 client. Will it influence the data interaction and lead to this result?

Which es client you are using, base on your binary chosen and YAML config. I don't know what you choose.

SkyWalking Version: 6.6.0, Linux, Binary Distribution for ElasticSearch 7; ElasticSearch Version: 7.6.0. The picture shows my YAML config: image

Heyman90 avatar Mar 03 '20 07:03 Heyman90

Look normal. Sorry, can't tell what happens.

wu-sheng avatar Mar 03 '20 07:03 wu-sheng

Look normal. Sorry, can't tell what happens.

Whatever, thanks for your reply very much. I will add es nodes to try to reduce pressure of the cluster. Perhaps three nodes can't keep a long time to support skywalking.

Heyman90 avatar Mar 03 '20 07:03 Heyman90

@Heyman90 Next time, please discuss this kind of thing in the mail list, rather than github issue. Today, too many discussions mixed in real issues.

wu-sheng avatar Mar 03 '20 07:03 wu-sheng

@Heyman90 Next time, please discuss this kind of thing in the mail list, rather than github issue. Today, too many discussions mixed in real issues.

OK,sorry about that.

Heyman90 avatar Mar 03 '20 07:03 Heyman90

It is seemly solved by reinstall es and skywalking. However, one week later,the same error appears while es clean records at the TTL time(7days).

Heyman90 avatar Mar 09 '20 03:03 Heyman90

It is seemly solved by reinstall es and skywalking. However, one week later,the same error appears while es clean records at the TTL time(7days).

Hi @Heyman90, did you make it working now ? I have the same issue like yours in my cluster

CadenOf avatar Mar 12 '20 04:03 CadenOf

TTL makes the indexes deleted at that moment, 7days in your case. It requires more resources when doing this. So, likely, your eS cluster crashed.

wu-sheng avatar Mar 12 '20 04:03 wu-sheng

@wu-sheng It seems that skywalking had created lots of indexs after the TTL time(7 days), I found some logs in my elasticsearch cluster as follow , I'm not sure why skywalking creating these indexs at that time image after that, the es health status turn to green image but, the oap log still has warning: executed with failures image

CadenOf avatar Mar 12 '20 08:03 CadenOf

It seems that skywalking created so much indices in elasticsearch7 at 00:00 everyday,I delete some older indices then restart skywalking oap resolved this problem. With defautl configuration in ES, the skwwalking TTL time seems cannot use the default config as 7 days, otherwise there will be more and more indexes in ES then cause this problem.

CadenOf avatar Mar 12 '20 15:03 CadenOf

No discussion will continue here. Discuss should happen on the official mail list.

wu-sheng avatar Mar 12 '20 15:03 wu-sheng

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • [ ] Question or discussion
  • [√] Bug
  • [ ] Requirement
  • [ ] Feature or performance improvement

Bug

  • Which version of SkyWalking, OS and JRE? 6.6.0, Linux, Binary Distribution for ElasticSearch 7
  • What happen? After running SkyWalking for three days, SkyWalking Web Page shows no data. Response infos of the WebPage is 'We're sorry but SkyWalking doesn't work properly without JavaScript enabled. Please enable it to continue'. I ensure javascript of myweb view is enabled.

it is because of your wrong SW_OAP_ADDRESS when you setup the oap-ui, don't use 127.0.0.1 or localhost, pls fix it and try again~

haanyip avatar Mar 25 '22 03:03 haanyip

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • [ ] Question or discussion
  • [√] Bug
  • [ ] Requirement
  • [ ] Feature or performance improvement

Bug

  • Which version of SkyWalking, OS and JRE?

6.6.0, Linux, Binary Distribution for ElasticSearch 7

  • What happen?

After running SkyWalking for three days, SkyWalking Web Page shows no data. Response infos of the WebPage is 'We're sorry but SkyWalking doesn't work properly without JavaScript enabled. Please enable it to continue'. I ensure javascript of myweb view is enabled.

it is because of your wrong SW_OAP_ADDRESS when you setup the oap-ui, don't use 127.0.0.1 or localhost, pls fix it and try again~

Please open a discussions thread and post a Q&A style post there. It will be easier for search for others with the same issue. I will mark your answer as accepted. :)

Superskyyy avatar Mar 25 '22 04:03 Superskyyy