[GitHub] [apisix-java-plugin-runner] tzssangglass commented on issue #205: request help: Custom filter performed twice?

2022-10-20 Thread GitBox


tzssangglass commented on issue #205:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/205#issuecomment-1286339550

   > Additionally,
   > When I call apisix gw using resttemplate, the returned result is fine, but 
the custom filter doesn't seem to work.
   > on the other way, When i call apisix gw directly, the custom filter works 
fine.
   
   It looks like the resttemplate sends a different request than the one sent 
by the direct call.


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-java-plugin-runner] tzssangglass commented on issue #205: request help: Custom filter performed twice?

2022-10-20 Thread GitBox


tzssangglass commented on issue #205:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/205#issuecomment-1286339056

   > Since the url is /* in my router settings, the custom filter works once in 
the /test2 call, and the custom filter works once more in the redirected /test 
call, so is it logged twice in total??
   
   If you are saying that a redirect request occurred on the client side, then 
yes, APISIX processed the request twice and the java plugin runner will also 
process it twice.


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-java-plugin-runner] tzssangglass commented on issue #205: request help: Custom filter performed twice?

2022-10-20 Thread GitBox


tzssangglass commented on issue #205:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/205#issuecomment-1285538373

   > request > apisix + apisix runner(include custom filter) > my Backend 
Service A > my Backend Service B.
   > and Service A redirect to service B.
   
   can you provide more info about this?


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-java-plugin-runner] tzssangglass commented on issue #205: request help: Custom filter performed twice?

2022-10-20 Thread GitBox


tzssangglass commented on issue #205:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/205#issuecomment-1284997145

   When you request APISIX once, output `TWICE?` twice?


-- 
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-unsubscr...@apisix.apache.org

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



[GitHub] [apisix-java-plugin-runner] tzssangglass commented on issue #205: request help: Custom filter performed twice?

2022-10-19 Thread GitBox


tzssangglass commented on issue #205:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/205#issuecomment-1284842633

   how did you config route?


-- 
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-unsubscr...@apisix.apache.org

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