Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help request: When I use ext-plugin-post-resp plugin, an error ocuurs "404 page not found " #11773

Open
silenMing opened this issue Nov 21, 2024 · 0 comments
Labels
plugin question label for questions asked by users

Comments

@silenMing
Copy link

silenMing commented Nov 21, 2024

Description

Hello,apisix team!

I used go-runner to write an ext-plugin rewrites the response, and then configured it on the route, using the ext-plugin-post-resp plugin.

I do nothing in this plugin,just record a log. like this

func (p *RsaEncrypt) ResponseFilter(conf interface{}, w pkgHTTP.Response) { log.Infof("plugin rsa_encrypt response_filter") }

this is my route config. my upstream nodes can be accessed,it`s ok
image

Then I make a curl request,return "404 page not found"
but,when I remove the configuration of ext-plugin-post-resp plugin in route config,curl return 200 OK!

when 404 retuen ,accesslog is
image

hope your answer, thanks.

Environment

  • APISIX version : 3.8
  • Operating system : linux 3.10
  • OpenResty / Nginx version: openresty/1.25.3.1
  • etcd version, if relevant : 3.5.0
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners: ext-plugin-post-resp
  • LuaRocks version, for installation issues : 2.3.0
@dosubot dosubot bot added plugin question label for questions asked by users labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin question label for questions asked by users
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant