question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot connect anymore to realtime broadcast

See original GitHub issue

Bug report

Describe the bug

WebSocket connection fails

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

try to connect to any realtime channel

Expected behavior

should connect

Screenshots

If applicable, add screenshots to help explain your problem.

System information

Additional context

Log ID
dadf89f2-50e6-4d2d-bc72-928cb4cb8a93

Log Timestamp (UTC)
2022-12-06T06:41:55.447Z

Log Event Message
Auth error: {:error, :signature_error}
Log Metadata
[
  {
    "callers": [],
    "context": [
      {
        "application": "realtime",
        "domain": [
          "elixir"
        ],
        "file": "lib/realtime_web/channels/user_socket.ex",
        "function": "connect/3",
        "gl": "<0.2725.0>",
        "line": 72,
        "mfa": [
          "Elixir.RealtimeWeb.UserSocket",
          "connect",
          "3"
        ],
        "module": "Elixir.RealtimeWeb.UserSocket",
        "pid": "<0.23367.176>",
        "time": 1670308915447202,
        "vm": [
          {
            "node": "realtime-prod@fdaa:0:cc:a7b:c07e:953a:a823:2"
          }
        ]
      }
    ],
    "depth": null,
    "error_logger": [],
    "error_string": null,
    "external_id": "project-id",
    "formatter_error_params": [],
    "level": "error",
    "logger_pubsub_backend": [],
    "project": "project-id",
    "request_id": null,
    "stacktrace": [],
    "tenant_params": []
  }
]

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
JSmithOnercommented, Dec 6, 2022

@otaux I’m using the v2 so I don’t think it’s related to v1.

1reaction
xerodcommented, Dec 6, 2022

I have the same error here. Do you use a custom JWT for your app authentication? I’m using a custom JWT on my app, so I assume that would cause this issue.

Unfortunately, the https://multiplayer.dev/ demo isn’t working too, probably it affects everyone. see #10745

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot your YouTube live stream - Google Support
To fix it, get a new stream key in Live Control Room and update your encoder. Go to YouTube Studio. To open Live...
Read more >
I Can't go Live on Facebook Anymore [SOLVED] - Speedify
"I can't go live on Facebook anymore" - Say no more, this article is for you. With Speedify you can improve your connection...
Read more >
I'm having problems live streaming to Facebook.
Check out these tips if you're having problems with your live stream on Facebook.
Read more >
The audio stream is buffering or doesn't play at all
If you determine your connection is slower than usual, try rebooting your device or your router (wait at least 60 seconds after shutdown...
Read more >
YouTube TV Not Working? Here's How To Fix It - Lifewire
Since YouTube TV is a live television streaming service that ... If your connection speed is slow or erratic, you won't be able...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found