You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "TenYearsIn (via GitHub)" <gi...@apache.org> on 2023/03/02 15:25:53 UTC
[GitHub] [apisix] TenYearsIn opened a new issue, #8996: bug: traffic-split plugin can't proxy virtual upstream that schema is https
TenYearsIn opened a new issue, #8996:
URL: https://github.com/apache/apisix/issues/8996
### Current Behavior
i have two upstream using https protocol, when i configure traffice-splite plugin on one route proxying that two upstream. i find i can not get correct response, it tells me that require "Bad Request This combination of host and port requires TLS"
### Expected Behavior
i can use this route with traffice-split plugin proxy https upstream
### Error Logs
apisix's response is that
Bad Request
This combination of host and port requires TLS
### Steps to Reproduce
1. Run Apisix On Centos7
2. start two applications that uses tls
3. create a route `curl "http://127.0.0.1:9080/apisix/admin/routes/1234567890" -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '{"uri":"/health","plugins":{"traffic-split":{"rules":[{"name":"upstream_A","type":"roundrobin","nodes":{"ip:port":10},"timeout":{"connect":15,"send":15,"read":15}}]}},"upstream": {"type": "roundrobin","nodes": {"ip:port": 2}}}'`
4. invoke api `curl -X GET http://127.0.0.1:9080/health`
### Environment
- Apisix Version(run `apisix version`): any version
- Operating system (run `uname -a`): Linux 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx version: openresty/1.19.9.1
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): 3.4.0
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):3.4.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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] TenYearsIn commented on issue #8996: bug: traffic-split plugin can't proxy virtual upstream that schema is https
Posted by "TenYearsIn (via GitHub)" <gi...@apache.org>.
TenYearsIn commented on issue #8996:
URL: https://github.com/apache/apisix/issues/8996#issuecomment-1453271024
yes, The version `3.0` also has the same issue
--
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 #8996: bug: traffic-split plugin can't proxy virtual upstream that schema is https
Posted by "tokers (via GitHub)" <gi...@apache.org>.
tokers commented on issue #8996:
URL: https://github.com/apache/apisix/issues/8996#issuecomment-1452794204
What's your APISIX version? I cannot grep the key error message.
--
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] TenYearsIn commented on issue #8996: bug: traffic-split plugin can't proxy virtual upstream that schema is https
Posted by "TenYearsIn (via GitHub)" <gi...@apache.org>.
TenYearsIn commented on issue #8996:
URL: https://github.com/apache/apisix/issues/8996#issuecomment-1475481624
I have completed this feature, Could you assign it to me @tokers @spacewander
--
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] Ikalinichev commented on issue #8996: bug: traffic-split plugin can't proxy virtual upstream that schema is https
Posted by "Ikalinichev (via GitHub)" <gi...@apache.org>.
Ikalinichev commented on issue #8996:
URL: https://github.com/apache/apisix/issues/8996#issuecomment-1486388825
Also need this fix. Looks like traffic-split plugin can only send request to http schema.
--
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] TenYearsIn commented on issue #8996: bug: traffic-split plugin can't proxy virtual upstream that schema is https
Posted by "TenYearsIn (via GitHub)" <gi...@apache.org>.
TenYearsIn commented on issue #8996:
URL: https://github.com/apache/apisix/issues/8996#issuecomment-1452815343
Apisix. version is 2.9 . But I think my issuse description `traffic-split plugin can't proxy virtual upstream that schema is https` is ambiguous. Actually, When I want to create a route with traffic-split pluggin proxying two back-end applications that protocol is https . I found request has arrived to this two backend applications but the request schema is http. So this issue can description `feat: traffic-split plugin can not support upstream that protocl is https`
--
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] monkeyDluffy6017 closed issue #8996: bug: traffic-split plugin can't proxy virtual upstream that schema is https
Posted by "monkeyDluffy6017 (via GitHub)" <gi...@apache.org>.
monkeyDluffy6017 closed issue #8996: bug: traffic-split plugin can't proxy virtual upstream that schema is https
URL: https://github.com/apache/apisix/issues/8996
--
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 #8996: bug: traffic-split plugin can't proxy virtual upstream that schema is https
Posted by "tokers (via GitHub)" <gi...@apache.org>.
tokers commented on issue #8996:
URL: https://github.com/apache/apisix/issues/8996#issuecomment-1453262933
`2.9` is too old, and the team does not maintain it. Could you try the latest version to see if this issue exists?
--
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] oyiadin commented on issue #8996: bug: traffic-split plugin can't proxy virtual upstream that schema is https
Posted by "oyiadin (via GitHub)" <gi...@apache.org>.
oyiadin commented on issue #8996:
URL: https://github.com/apache/apisix/issues/8996#issuecomment-1475278666
traffic-split doesn't support specifying `scheme` of upstream right now
https://github.com/apache/apisix/blob/e4e7c7327a87e1ff8f190e0608c4a0df2dfb2214/apisix/plugins/traffic-split.lua#L167-L176
I need this feature too ;-)
--
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