8000 websockets with dapr · Issue #5766 · dapr/dapr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
websockets with dapr #5766
Open
Open
@lokeshcloudy

Description

@lokeshcloudy

Hi, currently im using azure container apps for our application deployment with dapr we are using react as frontend and nodejs as backend. hear im facing a issue with websocket invoke all the api's are working fine but websocket connections are not working fine, the connection is getting created but in next few seconds its getting disconnected. below is config file of nginx where routing is configured

server {
listen 5002;
listen [::]:5002;
server_name default_server;

location / {
    root   /usr/share/nginx/html;
    index  index.html index.htm;
    try_files $uri  /index.html;
}

location /ws {
            proxy_pass http://localhost:3500/v1.0/invoke/backend/method/ws;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "Upgrade";
            proxy_set_header Host $host;
    }


location /api/v1 {
    proxy_pass http://localhost:3500/v1.0/invoke/backend/method/api/v1;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues and PRs without response

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0