forget99

Results 10 comments of forget99

@Jimy-Guo I have the same problem as you,please modify apisix-docker/example/apisix_conf/config.yml,enbaled plugin,like this: plugins: - skywalking # 启用skywalking插件 - ext-plugin-pre-req # 开启插件

> 请问找到解决办法了吗? @xiaolajiyhy 找到了,apisix内置nginx,在java插件中可以通过requiredVars方法获取nginx内置变量,requestId就是请求唯一id,下面是解决办法: ` @Override public List requiredVars() { List vars = new ArrayList(); vars.add("request_id"); return vars; } ` ` @Override public void filter(HttpRequest request, HttpResponse response, PluginFilterChain chain)...

`request.setBody(bodyStr)`,this method is not effective。 can you help me see? thank you very much

> @forget99 Can you paste the full access log where path is also visible? Can you also share the business logic of your `AuthFilter` plugin that is running ? 当在配置路由时,只配置了前置插件(ext-plugin-pre-req),并且配置了域名重写,此时通过apisix调用上游服务(https服务,只支持域名访问,不支持ip...

@Revolyssup can you help me see? This problem has been bothering me for a long time,Thank you!

> Is the code pasted above as it is in the runner or some part of it is replaced with the comment? Because I don't see any manipulation with Response...

> Is the code pasted above as it is in the runner or some part of it is replaced with the comment? Because I don't see any manipulation with Response...

> Is the code pasted above as it is in the runner or some part of it is replaced with the comment? Because I don't see any manipulation with Response...

> > @forget99 Do you get the expected body if you print `request.getBody()` in postFilter? To clarify, `ext-plugin- post-resp` is run after a response is returned by the upstream and...

> @forget99 Do you get the expected body if you print `request.getBody()` in postFilter? To clarify, `ext-plugin- post-resp` is run after a response is returned by the upstream and it...