Yangzcy423911 commented on issue #3266:
URL: https://github.com/apache/apisix/issues/3266#issuecomment-759872647
use curl
curl 192.168.1.1/apisix/prometheus/metrics -v
* About to connect() to 192.168.1.1 port 80 (#0)
* Trying 192.168.1.1...
* Connected to 192.168.1.1 (192.168.1.1) port 80 (#0)
> GET /apisix/prometheus/metrics HTTP/1.1
> User-Agent: curl/7.29.0
> Host: 192.168.1.1
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< Date: Thu, 14 Jan 2021 01:51:10 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 603
< Connection: close
< Server: Tengine
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
Sorry for the inconvenience.<br/>
Please report this message and include the following information to us.<br/>
Thank you very much!</p>
<table>
<tr>
<td>URL:</td>
<td>http://192.168.1.1/apisix/prometheus/metrics</td>
</tr>
<tr>
<td>Server:</td>
<td>192-168-1-1</td>
</tr>
<tr>
<td>Date:</td>
<td>2021/01/14 09:51:10</td>
</tr>
</table>
<hr/>Powered by Tengine<hr><center>tengine</center>
</body>
</html>
* Closing connection 0
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]