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/04/12 12:38:50 UTC

[GitHub] [apisix] yalcinyildiz opened a new issue, #6834: bug: Access-Control-Allow-Origin is manipulated incorrect when using grpc-web and cors plugins in the same route

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

   ### Current Behavior
   
   Access-Control-Allow-Origin is set '*' when using grpc-web and cors plugins in the same route.
   
   ### Expected Behavior
   
   Access-Control-Allow-Origin is expected to be set with configured value in cors plugin.
   
   ### Error Logs
   
   no error logs
   
   ### Steps to Reproduce
   
   You can use the documentation to better understand and reproduce the problem.
   
   [grpc-web cors error.docx](https://github.com/apache/apisix/files/8472862/grpc-web.cors.error.docx)
   
   
   ### Environment
   
   - APISIX version (run `apisix version`): apache/apisix:2.13.0-alpine docker image
   - Operating system (run `uname -a`): Linux d56fe896abc6 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): nginx version: openresty/1.19.9.1 built by gcc 10.3.1 20210424 (Alpine 10.3.1_git20210424)
   - LuaRocks version, for installation issues (run `luarocks --version`): 3.8.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] tzssangglass commented on issue #6834: bug: Access-Control-Allow-Origin is manipulated incorrect when using grpc-web and cors plugins in the same route

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

   > Could you try them
   
   yes, I can touch these files and I would work on 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-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] spacewander closed issue #6834: bug: Access-Control-Allow-Origin is manipulated incorrect when using grpc-web and cors plugins in the same route

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #6834: bug: Access-Control-Allow-Origin is manipulated incorrect when using grpc-web and cors plugins in the same route
URL: https://github.com/apache/apisix/issues/6834


-- 
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] yalcinyildiz commented on issue #6834: bug: Access-Control-Allow-Origin is manipulated incorrect when using grpc-web and cors plugins in the same route

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

   Could you try them? If you cannot open these files as well, please share an alternative way for me.
   [grpc-web cors error.pdf](https://github.com/apache/apisix/files/8484691/grpc-web.cors.error.pdf)
   [grpc-web-angular.zip](https://github.com/apache/apisix/files/8484706/grpc-web-angular.zip)
   [config.yaml.txt](https://github.com/apache/apisix/files/8484707/config.yaml.txt)
   [docker-compose.yml.txt](https://github.com/apache/apisix/files/8484708/docker-compose.yml.txt)
   [hello.proto.txt](https://github.com/apache/apisix/files/8484709/hello.proto.txt)
   


-- 
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 #6834: bug: Access-Control-Allow-Origin is manipulated incorrect when using grpc-web and cors plugins in the same route

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

   hi @yalcinyildiz pls show error logs in 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] tzssangglass commented on issue #6834: bug: Access-Control-Allow-Origin is manipulated incorrect when using grpc-web and cors plugins in the same route

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

   > also the document.
   
   I cann't open the doc file……


-- 
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] yalcinyildiz commented on issue #6834: bug: Access-Control-Allow-Origin is manipulated incorrect when using grpc-web and cors plugins in the same route

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

   hello @tzssangglass. I updated my first comment, also the document. 


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