PGBI / kong-dashboard

Dashboard for managing Kong gateway
MIT License
2.17k stars 390 forks source link

Navigating to certificates causes errors #183

Open ghost opened 6 years ago

ghost commented 6 years ago

Issue summary

On navigating to the certificates page, this error is then repeated continuously, even after navigating to another page:

kong-dashboard    | kong-dashboard stdout: { event: 'forwards request',
kong-dashboard    |   method: 'GET',
kong-dashboard    |   path: '/certificates?',
kong-dashboard    |   headers: 
kong-dashboard    |    { host: 'localhost:8080',
kong-dashboard    |      connection: 'keep-alive',
kong-dashboard    |      accept: 'application/json, text/plain, */*',
kong-dashboard    |      dnt: '1',
kong-dashboard    |      'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36',
kong-dashboard    |      referer: 'http://localhost:8080/',
kong-dashboard    |      'accept-encoding': 'gzip, deflate, br',
kong-dashboard    |      'accept-language': 'en-US,en;q=0.9,de;q=0.8',
kong-dashboard    |      cookie: 'csrf_token=+R16aww7AAw5QX2kJomCAdx2a2v3Yi9FvDv9s7049SI=' },
kong-dashboard    |   body: {} }

This eventually uses a lot of cpu and memory and the macbook's fans start up.

Your environment

Expected behavior

Not to have the same error repeated over and over

Tell us what should happen instead.

Steps to reproduce

Install using docker compose. Navigate around including to certificates.