Skip to content

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

@silenMing

Description

@silenMing

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions