You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/02 06:21:46 UTC

[GitHub] [dubbo-go-pixiu] tang05709 opened a new issue #246: Reason: CORS header ‘Access-Control-Allow-Origin’ missing

tang05709 opened a new issue #246:
URL: https://github.com/apache/dubbo-go-pixiu/issues/246


   <!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
   
   -->
   config.yml
   
   static_resources:
     listeners:
       - name: "net/http"
         address:
           socket_address:
             protocol_type: "HTTP"
             address: "0.0.0.0"
             port: 8884
         filter_chains:
           - filter_chain_match:
               domains:
                 - api.dubbo.com
                 - 0.0.0.0
             filters:
               - name: dgp.filters.http_connect_manager
                 config:
                   route_config:
                     routes:
                       - match:
                           prefix: "/api/v1"
                           headers:
                             - name: "Access-Control-Allow-Origin"
                               value: "*"
                         route:
                           cluster: "Besass"
                           cluster_not_found_response_code: 505
                           cors:
                             allow_origin:
                               - "*"
                             enabled: true
         config:
           idle_timeout: 5s
           read_timeout: 5s
           write_timeout: 5s
     clusters:
       - name: "test"
         lb_policy: "RoundRobin"
         registries:
           "nacos1":
             protocol: "nacos"
             timeout: "3s"
             address: "127.0.0.1:8848"
             username: "nacos"
             password: "nacos"
     timeout_config:
       connect_timeout: "5s"
       request_timeout: "10s"
     shutdown_config:
       timeout: "60s"
       step_timeout: "10s"
       reject_policy: "immediacy"
   
   **What happened**:
   vue request error:
   Reason: CORS header ‘Access-Control-Allow-Origin’ missing
   
   **What you expected to happen**:
   
   **How to reproduce it (as minimally and precisely as possible)**:
   
   **Anything else we need to know?**:
   


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-pixiu] MasterKenway commented on issue #246: Reason: CORS header ‘Access-Control-Allow-Origin’ missing

Posted by GitBox <gi...@apache.org>.
MasterKenway commented on issue #246:
URL: https://github.com/apache/dubbo-go-pixiu/issues/246#issuecomment-914060168


   This problem was caused by unfinished HttpConnectionManager [](https://github.com/apache/dubbo-go-pixiu/issues/237 ), we have notice this problem and will be complete in the next update. Thank you for supporting. 


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-pixiu] MasterKenway edited a comment on issue #246: Reason: CORS header ‘Access-Control-Allow-Origin’ missing

Posted by GitBox <gi...@apache.org>.
MasterKenway edited a comment on issue #246:
URL: https://github.com/apache/dubbo-go-pixiu/issues/246#issuecomment-914060168


   This problem was caused by unfinished HttpConnectionManager [issue](https://github.com/apache/dubbo-go-pixiu/issues/237 ), we have noticed this problem and will be complete in the next update. Thank you for supporting. 


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-pixiu] mark4z closed issue #246: Reason: CORS header ‘Access-Control-Allow-Origin’ missing

Posted by GitBox <gi...@apache.org>.
mark4z closed issue #246:
URL: https://github.com/apache/dubbo-go-pixiu/issues/246


   


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-pixiu] MasterKenway edited a comment on issue #246: Reason: CORS header ‘Access-Control-Allow-Origin’ missing

Posted by GitBox <gi...@apache.org>.
MasterKenway edited a comment on issue #246:
URL: https://github.com/apache/dubbo-go-pixiu/issues/246#issuecomment-914060168


   This problem was caused by unfinished HttpConnectionManager [issue](https://github.com/apache/dubbo-go-pixiu/issues/237 ), we have notice this problem and will be complete in the next update. Thank you for supporting. 


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-pixiu] MasterKenway commented on issue #246: Reason: CORS header ‘Access-Control-Allow-Origin’ missing

Posted by GitBox <gi...@apache.org>.
MasterKenway commented on issue #246:
URL: https://github.com/apache/dubbo-go-pixiu/issues/246#issuecomment-922261384


   pr #249 


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-pixiu] mark4z commented on issue #246: Reason: CORS header ‘Access-Control-Allow-Origin’ missing

Posted by GitBox <gi...@apache.org>.
mark4z commented on issue #246:
URL: https://github.com/apache/dubbo-go-pixiu/issues/246#issuecomment-922275163


   close via #249


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org