NOISSUE - Fix mqtt adapter target ws server protcol and update mgate version (#3209)

Signed-off-by: Arvindh <arvindh91@gmail.com>
This commit is contained in:
Arvindh
2025-10-29 19:00:23 +05:30
committed by GitHub
parent dc0df1c955
commit d02747a56f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -303,7 +303,7 @@ func proxyMQTT(ctx context.Context, cfg config, logger *slog.Logger, sessionHand
func proxyWS(ctx context.Context, cfg config, logger *slog.Logger, sessionHandler session.Handler, interceptor session.Interceptor) error {
config := mgate.Config{
Port: cfg.HTTPPort,
TargetProtocol: "http",
TargetProtocol: "ws",
TargetHost: cfg.HTTPTargetHost,
TargetPort: cfg.HTTPTargetPort,
TargetPath: cfg.HTTPTargetPath,
+1 -1
View File
@@ -5,7 +5,7 @@ go 1.25.3
require (
github.com/0x6flab/namegenerator v1.4.0
github.com/absmach/callhome v0.18.2-0.20251020154744-4dd66476749a
github.com/absmach/mgate v0.4.6-0.20251015080752-c33495ed8c0d
github.com/absmach/mgate v0.4.6-0.20251029115037-0b6c48517f0b
github.com/absmach/senml v1.0.8
github.com/authzed/authzed-go v1.6.0
github.com/authzed/grpcutil v0.0.0-20250221190651-1985b19b35b8
+2 -2
View File
@@ -21,8 +21,8 @@ github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrd
github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g=
github.com/absmach/callhome v0.18.2-0.20251020154744-4dd66476749a h1:rT6fkATl2TZwyk77knRZMbjuKQPP2aT+Xyyud2pVlpc=
github.com/absmach/callhome v0.18.2-0.20251020154744-4dd66476749a/go.mod h1:LEXKhES9JJtj3tBgTZv7VPNjOi5ukJQB0mFic0QP60Q=
github.com/absmach/mgate v0.4.6-0.20251015080752-c33495ed8c0d h1:uEoSX6kR/SjXYTrw6b33fd56Z0fBVi27BVirXIhNxwg=
github.com/absmach/mgate v0.4.6-0.20251015080752-c33495ed8c0d/go.mod h1:0KVq7mxM0wayosmyXPPxp1EL0c2d9kRp5V8NZCKdetA=
github.com/absmach/mgate v0.4.6-0.20251029115037-0b6c48517f0b h1:4TKH7AFygPeSCj1/w6H9nBx9SPzb/NqUEYqLOi6v6OQ=
github.com/absmach/mgate v0.4.6-0.20251029115037-0b6c48517f0b/go.mod h1:0KVq7mxM0wayosmyXPPxp1EL0c2d9kRp5V8NZCKdetA=
github.com/absmach/senml v1.0.8 h1:+opem/r4g6c6eA/JLyCIuksyEhj7eBdysY3pEmy1mqo=
github.com/absmach/senml v1.0.8/go.mod h1:DRhzHLgvQoIUHroBgpFrSWso+bJZO9E96RlHAHy+VRI=
github.com/antlr4-go/antlr/v4 v4.13.1 h1:SqQKkuVZ+zWkMMNkjy5FZe5mr5WURWnlpmOuzYWrPrQ=