Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime not connected | Brave | Unable to Connect #25

Open
roy-cse opened this issue Nov 28, 2024 · 1 comment
Open

Runtime not connected | Brave | Unable to Connect #25

roy-cse opened this issue Nov 28, 2024 · 1 comment
Assignees
Labels
application Application GUI related bug Something isn't working

Comments

@roy-cse
Copy link

roy-cse commented Nov 28, 2024

Steps to reproduce

  1. Download Brave
  2. Start Brave
  3. Open Rich Presence Plus App
  4. Click on Connect
  5. Error "Runtime not connected"
    image

Expected behavior

The issue occurs when I try to connect normally. If I start Brave using debug mode and specifying the port number as one of the flag, I am able to connect it. Here's the command to start Brave in Debug mode:
"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" --remote-debugging-port=9222

App version

v0.1.0

Default Browser

Brave Version 1.73.91 Chromium: 131.0.6778.85

Operating System

Windows 10

Screenshots

No response

Additional comments

No response

App log

2024-11-28 22:59:25,424 - Runtime - WARNING - Could not connect to browser
2024-11-28 22:59:25,426 - Manager - WARNING - Skipping runtime thread, not connected.
2024-11-28 22:59:25,429 - Interface - INFO - Runtime disconnected. Resetting presences.
2024-11-28 22:59:53,081 - Runtime - WARNING - Could not connect to browser
2024-11-28 22:59:55,095 - Runtime - WARNING - Could not connect to browser
2024-11-28 22:59:55,097 - Manager - WARNING - Skipping runtime thread, not connected.
@roy-cse roy-cse added application Application GUI related bug Something isn't working labels Nov 28, 2024
@manucabral
Copy link
Owner

manucabral commented Nov 29, 2024

Hi, try the following:

brave

also If you're opening the browser manually for debugging mode, you'll need to add one more parameter:
--remote-allow-origins=http://localhost:9222

The full command should look like this:
"C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe" --remote-debugging-port=9222 --remote-allow-origins=http://localhost:9222

If localhost doesn't work, try replacing it with 127.0.0.1.
Another thing to keep in mind: you need to close all instances of Brave before running the command.

@manucabral manucabral self-assigned this Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
application Application GUI related bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants