mosn icon indicating copy to clipboard operation
mosn copied to clipboard

The Cloud-Native Network Proxy Platform

Results 207 mosn issues
Sort by recently updated
recently updated
newest added

### Your question 我现在用的非透明代理,客户端访问mosn的地址,然后把真正访问的地址放在host里面去转发 例如客户端要访问百度 curl 127.0.0.1:15001 --header 'x-mosn-host: www.baidu.com' 这样就能访问到了 但是现在的情况是,内网不能访问百度,需要挂代理才能访问 例如 curl -i www.baidu.com -x 10.152.11.11:7000 所以这里的话,mosn是如何在访问百度的时候,用代理去访问,请我我需要怎么设置,或者改哪块的代码 ### Environment - MOSN Version [v1.0.1] ### Logs

请教一个问题,目前连接的复用是 全局clusterManager : { protocolName: { "ip:port": connectionPool } }。我这边遇到一个问题,服务方的两个域名复用同一个IP,即一个IP两个证书,服务端会验证来源方的 HTTP HOST是否与 SNI ServerName一致,这个SNI ServerName和连接绑定,如果我这边(作为客户端)使用这个连接复用模型,会导致使用同一条连接发送不同的 HTTP HOST请求,服务端校验不通过,所以预期修改连接复用模型为 全局clusterManager: { protocolName: { "hostName" : { ”ip:port": ConnectionPool } }}。 目前看来只能修改源码cluster_manager的pkg/upstream/cluster/cluster_manager.go:401 loadOrStoreConnPool...

### Describe the bug In the complete request chain, it includes establishing a connection (or acquiring a connection from the connection pool), writing request data to connection, reading response data...

WIP

### Your question does mosn can run with istio 1.14 control plane?

There are two panics that often occur: ``` goroutine 1667049 [running]: runtime/debug.Stack() /tmp/usr/local/go/src/runtime/debug/stack.go:24 +0x65 gitlab.alibaba-inc.com/apsara-edge/mosn/vendor/mosn.io/pkg/utils.defaultRecoverLogger({0x2053b60, 0xc0001be010}, {0x1ad18e0, 0x3507710}) /home/admin/134_20230216160118079_460600180_code/rpm_workspace/go/src/gitlab.alibaba-inc.com/apsara-edge/mosn/vendor/mosn.io/pkg/utils/goroutine.go:37 +0x5a gitlab.alibaba-inc.com/apsara-edge/mosn/vendor/mosn.io/pkg/utils.GoWithRecover.func1.1() /home/admin/134_20230216160118079_460600180_code/rpm_workspace/go/src/gitlab.alibaba-inc.com/apsara-edge/mosn/vendor/mosn.io/pkg/utils/goroutine.go:45 +0x62 panic({0x1ad18e0, 0x3507710}) /tmp/usr/local/go/src/runtime/panic.go:1038 +0x215 gitlab.alibaba-inc.com/apsara-edge/mosn/vendor/mosn.io/mosn/pkg/stream/http.(*clientStreamConnection).serve(0xc0072651e0) /home/admin/134_20230216160118079_460600180_code/rpm_workspace/go/src/gitlab.alibaba-inc.com/apsara-edge/mosn/vendor/mosn.io/mosn/pkg/stream/http/stream.go:281 +0xa9...

### Your question For example, even if there is an error return, the final returned error is still always nil: https://github.com/mosn/mosn/blob/21cfb09295bcd44348e8b93ee7b10676e5ed532b/pkg/stream/http2/var.go#L73-L76 And the error handling code in the pkg/stream/http/var.go file...

### Your question Like the following code in business logic: ``` if log.DefaultLogger.GetLogLevel() >= log.DEBUG { log.DefaultLogger.Debugf("grpc connection: closed") } ``` But the loglevel has been judged in the log...

# 活动概况 * 主题:SOFAStack 社区开源五周年:Live Long and Prosper * 关键词:有趣、健康、开放 * 时间:04 月 15 日 12:00 * 地点:北京市朝阳区恒通国际创新园 C6 栋 C work * 合作伙伴 * 主办方:SOFAStack 社区 * 合作伙伴:掘金、思否、开源中国、开源社、InfoQ、活动行、示说网 欢迎感兴趣的同学到现场参与活动。...

try to close #2264 ### Solutions Maybe we could refactor the code as the following steps: - [x] Step 1: batch replace all possible places - [x] Step 2: check...

cla:yes
size/XL
First-time contributor

### Your question When I started mosn [here](https://mosn.io/docs/user-guide/start/istio/). The demo project didn't start correctly. The mosn try bind bind a port. but this ip didn't belong to any pod on...