You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/05/17 03:31:25 UTC

[GitHub] [apisix] soulbird commented on issue #7056: help request: is there any way to get the upstream error in the plugin?

soulbird commented on issue #7056:
URL: https://github.com/apache/apisix/issues/7056#issuecomment-1128369854

   It looks like you can only get a 502 status code in Apache APISIX. Maybe you can use [get_logs](https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/errlog.md#get_logs) function to extract relevant information from the error log to determine `reset` or `timeout`, etc. I have not tested it, not sure if it is feasible.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org