Skip to content

FRP Websocket issue #5092

@neokd

Description

@neokd

Bug Description

I’m trying to expose a WebSocket service running on my home server to the internet using FRP. However, I’m running into issues with both ws and wss connections.

When connecting through FRP, the WebSocket request is rejected and closes with code 1006.

On the backend service, the WebSocket server logs show: “connection rejected (403 Forbidden)”.

Here’s the screenshot of the browser console/network tab showing the failed request:

Image

frpc Version

0.61.1

frps Version

0.61.1

System Architecture

linux/amd64

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions