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/11/05 11:07:28 UTC

[GitHub] [apisix] azizkhani opened a new issue, #8250: send request to another upstram

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

   ### Current Behavior
   
   I have two upstream and two route  like this 
   some of API in upstream like another for example both of then have /api/otp
   
   I have two route like this 
   
   route 1 =   /app1/api/otp ---> route to  ---> /api/otp  in upstream 1
   route 2=   /app2/api/otp ---> route to ----> /api/otp in upstream 2
   
   
   but when client app call route 1 request send to upstream 2  
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   1.Run apisix with docker
   2.define two up stream with different ip 
   3. define two route and then call api 
   4. request to route 1 send to upstream 2 some times
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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] tzssangglass commented on issue #8250: send request to another upstram

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

   > but when client app call route 1 request send to upstream 2
   
   How did you verify this? I noticed that the configuration of the "proxy-rewrite" plugin is the same.


-- 
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] azizkhani commented on issue #8250: send request to another upstram

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

   ![image](https://user-images.githubusercontent.com/35541507/200178885-d1118550-5dca-482c-b724-a0837994dea6.png)
   


-- 
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] tangkaijun commented on issue #8250: send request to another upstram

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

   我也遇到同样的问题,


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


Re: [I] send request to another upstram [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8250:
URL: https://github.com/apache/apisix/issues/8250#issuecomment-1812147830

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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] azizkhani commented on issue #8250: send request to another upstram

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

   > Hi, I didn't reproduce your problem in 2.14.1. You may need to check the upstream's IP. Can you provide more information?
   
   did you know how solve this problem ? 
   My app lunched in production and i got this bug and i can not rollback using apisix


-- 
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 #8250: send request to another upstram

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

   > > Hi, I didn't reproduce your problem in 2.14.1. You may need to check the upstream's IP. Can you provide more information?
   > 
   > 
   > 
   > did you know how solve this problem ? 
   > 
   > My app lunched in production and i got this bug and i can not rollback using apisix
   
   Are you using both the http and https protocols as the scheme to communicate with upstreams?
   
   If so, try the 2.15.0 version.


-- 
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] tangkaijun commented on issue #8250: send request to another upstram

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

   我使用的版本是apisix 3.0.0


-- 
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 #8250: send request to another upstram

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

   > 路由信息:
   > route1: /*
   > route2: /*
   
   @tangkaijun for your case, two routes with the same uri will result in unresolved behavior.


-- 
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] tangkaijun commented on issue #8250: send request to another upstram

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

   我也遇到同样的问题:
   实际的结果是
   route 1(/app1/api/test) ---> service1(使用了插件proxy-rewrite) ---> upstream 1
   route 2(/app2/api/test) ---> service2(使用了插件proxy-rewrite) ---> upstream 1
   期望结果是:
   route 1(/app1/api/test) ---> service1(使用了插件proxy-rewrite) ---> upstream1
   route 2(/app2/api/test) ---> service2(使用了插件proxy-rewrite) ---> upstream2
   
   


-- 
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 #8250: send request to another upstram

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

   @azizkhani Could you also provide the APISIX config.yaml?


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


Re: [I] send request to another upstram [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #8250: send request to another upstram 
URL: https://github.com/apache/apisix/issues/8250


-- 
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 #8250: send request to another upstram

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

   > > but when client app call route 1 request send to upstream 2
   > 
   > How did you verify this? I noticed that the configuration of the "proxy-rewrite" plugin is the same.
   
   I'm still concerned about how you verified it, because your configuration confuses me.


-- 
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] hf400159 commented on issue #8250: send request to another upstram

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

   Hi, I didn't reproduce your problem in 2.14.1. Can you provide more information? 


-- 
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] azizkhani commented on issue #8250: send request to another upstram

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

   > > > Hi, I didn't reproduce your problem in 2.14.1. You may need to check the upstream's IP. Can you provide more information?
   > > 
   > > 
   > > did you know how solve this problem ?
   > > My app lunched in production and i got this bug and i can not rollback using apisix
   > 
   > Are you using both the http and https protocols as the scheme to communicate with upstreams?
   > 
   > If so, try the 2.15.0 version.
   
   I am suing just http protocol 


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


Re: [I] send request to another upstram [apisix]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8250:
URL: https://github.com/apache/apisix/issues/8250#issuecomment-1786894125

   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


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