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/06/16 07:36:06 UTC

[GitHub] [apisix] mojerro opened a new issue, #7261: bug: http method rewrite not works in proxy-rewrite plugin

mojerro opened a new issue, #7261:
URL: https://github.com/apache/apisix/issues/7261

   ### Current Behavior
   
   ![image](https://user-images.githubusercontent.com/15071824/174016296-40024eeb-53b1-404a-ace2-18beac38f54d.png)
   
   As the settings above, the route still uses `POST` method instead of `GET` method to the upstream
   
   ![image](https://user-images.githubusercontent.com/15071824/174017019-8565af4e-6f6b-4ef7-bcb1-fa5e6905770c.png)
   
   
   ### Expected Behavior
   
   any routes matches the rule will change to `GET` method
   
   ### Error Logs
   
   no error
   
   ### Steps to Reproduce
   
   as above
   
   ### Environment
   
   - APISIX version (run `apisix version`): 2.12.0 using docker image `apache/apisix:2.12.0-alpine`
   - Operating system (run `uname -a`): Linux 11111 4.15.0-163-generic #171-Ubuntu SMP Fri Nov 5 11:55:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
   


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

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


[GitHub] [apisix] mojerro commented on issue #7261: bug: http method rewrite not works in proxy-rewrite plugin

Posted by GitBox <gi...@apache.org>.
mojerro commented on issue #7261:
URL: https://github.com/apache/apisix/issues/7261#issuecomment-1160288369

   thanks a lot~


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


[GitHub] [apisix] mojerro commented on issue #7261: bug: http method rewrite not works in proxy-rewrite plugin

Posted by GitBox <gi...@apache.org>.
mojerro commented on issue #7261:
URL: https://github.com/apache/apisix/issues/7261#issuecomment-1159472873

   I also check the json store in apisix using admin API, everything looks well just like the document shows


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


[GitHub] [apisix] mojerro commented on issue #7261: bug: http method rewrite not works in proxy-rewrite plugin

Posted by GitBox <gi...@apache.org>.
mojerro commented on issue #7261:
URL: https://github.com/apache/apisix/issues/7261#issuecomment-1159746735

   Can you reproduce this problem or some extra information I need to provide


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


[GitHub] [apisix] mojerro commented on issue #7261: bug: http method rewrite not works in proxy-rewrite plugin

Posted by GitBox <gi...@apache.org>.
mojerro commented on issue #7261:
URL: https://github.com/apache/apisix/issues/7261#issuecomment-1159472571

   @soulbird dashboard version is 2.10.1
   
   @tokers I think I know what I did, and I test the route by using the postman which works well. And 404 is from my backend docker  container, so it's true that the request reach the endpoint.


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


[GitHub] [apisix] tzssangglass closed issue #7261: bug: http method rewrite not works in proxy-rewrite plugin

Posted by GitBox <gi...@apache.org>.
tzssangglass closed issue #7261: bug: http method rewrite not works in proxy-rewrite plugin
URL: https://github.com/apache/apisix/issues/7261


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


[GitHub] [apisix] tokers commented on issue #7261: bug: http method rewrite not works in proxy-rewrite plugin

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7261:
URL: https://github.com/apache/apisix/issues/7261#issuecomment-1158365665

   @mojerro Your URI path is not correct, it should be `/server/specs/graphql/*`. I guess the `404` is returned by APISIX since it doesn't know which route should be used for this request.


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


[GitHub] [apisix] soulbird commented on issue #7261: bug: http method rewrite not works in proxy-rewrite plugin

Posted by GitBox <gi...@apache.org>.
soulbird commented on issue #7261:
URL: https://github.com/apache/apisix/issues/7261#issuecomment-1157469121

   Which version is the dashboard?


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


[GitHub] [apisix] soulbird commented on issue #7261: bug: http method rewrite not works in proxy-rewrite plugin

Posted by GitBox <gi...@apache.org>.
soulbird commented on issue #7261:
URL: https://github.com/apache/apisix/issues/7261#issuecomment-1159873010

   Fixed in https://github.com/apache/apisix/pull/6300. Please upgrade apisix and dashboard.


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


[GitHub] [apisix] tokers commented on issue #7261: bug: http method rewrite not works in proxy-rewrite plugin

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7261:
URL: https://github.com/apache/apisix/issues/7261#issuecomment-1159602137

   > @mojerro Your URI path is not correct, it should be `/server/specs/graphql/*`. I guess the `404` is returned by APISIX since it doesn't know which route should be used for this request.
   
   Ignore it.


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


[GitHub] [apisix] tzssangglass commented on issue #7261: bug: http method rewrite not works in proxy-rewrite plugin

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #7261:
URL: https://github.com/apache/apisix/issues/7261#issuecomment-1159905971

   considered as solved, feel free to reopen if you need.


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


[GitHub] [apisix] tokers commented on issue #7261: bug: http method rewrite not works in proxy-rewrite plugin

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #7261:
URL: https://github.com/apache/apisix/issues/7261#issuecomment-1159870589

   @mojerro I just checked the changelog, this problem was fixed since `2.13.0`, see https://github.com/apache/apisix/blob/master/CHANGELOG.md#2130.


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