zhangxiaohui123456 commented on issue #3518:
URL: https://github.com/apache/apisix/issues/3518#issuecomment-773108535


   > These error logs look very strange, the file that reported the error does 
not belong to apisix. Can you provide the response header data of the wrong 
request, like this:
   > 
   > ```
   > $ curl http://127.0.0.1:9080/hello -i
   > HTTP/1.1 500 Internal Server Error
   > Date: Wed, 03 Feb 2021 01:35:00 GMT
   > Content-Type: text/html; charset=utf-8
   > Content-Length: 154
   > Connection: keep-alive
   > Server: APISIX/2.2
   > X-APISIX-Upstream-Status: 500, 500
   > ......
   > ```
   > 
   > This helps us troubleshoot the issue.
   
   
   
   > These error logs look very strange, the file that reported the error does 
not belong to apisix. Can you provide the response header data of the wrong 
request, like this:
   > 
   > ```
   > $ curl http://127.0.0.1:9080/hello -i
   > HTTP/1.1 500 Internal Server Error
   > Date: Wed, 03 Feb 2021 01:35:00 GMT
   > Content-Type: text/html; charset=utf-8
   > Content-Length: 154
   > Connection: keep-alive
   > Server: APISIX/2.2
   > X-APISIX-Upstream-Status: 500, 500
   > ......
   > ```
   > 
   > This helps us troubleshoot the issue.
   curl http://172.18.234.22:23111/tour/test.html -i  
   log is :
   HTTP/1.1 500 Internal Server Error
   Date: Thu, 04 Feb 2021 07:51:51 GMT
   Content-Type: text/html; charset=utf-8
   Content-Length: 1502
   Connection: close
   X-XSS-Protection: 1; mode=block
   X-Content-Type-Options: nosniff
   Referrer-Policy: no-referrer-when-downgrade
   Strict-Transport-Security: max-age=31536000; includeSubdomains
   Content-Security-Policy: default-src * data: 'unsafe-eval' 'unsafe-inline'
   Cache-Control: no-cache, no-store, max-age=0, must-revalidate
   Pragma: no-cache
   Expires: 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:
us...@infra.apache.org


Reply via email to