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

no synchronization between windows - electron / chromium devkit error tho #13

Open
qcha0s opened this issue Feb 21, 2018 · 7 comments
Open

Comments

@qcha0s
Copy link

qcha0s commented Feb 21, 2018

[21426:0220/213228.333069:ERROR:CONSOLE(7323)] "Extension server error: Object not found: ", source: chrome-devtools://devtools/bundled/inspector.js (7323)

@RandomEtc
Copy link

I'm seeing the same issue - no synchronization between windows. Trellis works for me, but the mpl demo instructions from README don't work.

I think the Electron log error is benign though, I also get that in Trellis.

I've tried copying some of the settings from Trellis, which does work, but that hasn't helped.

The settings I copied are:

  1. setting MPL.config.name
  2. setting process.env.PORT
  3. adding webPreferences: { experimentalFeatures: true } to the BrowserWindow preferences

I also tried changing the package.json dependencies to match Trellis exactly.

Is there something about the subclass of MPL Store in Trellis, or some other setting, which is needed to get things working as the README describes? Thanks!

@pvh
Copy link
Member

pvh commented Jun 26, 2018

Hmm, it has been a while since I've run Trellis. Might be worth trying it out again. I think I'd recommend probably building on hypermerge instead of Trellis. The signalling server requirements for WebRTC (and therefore MPL) turn out to be a real pain for practical day-to-day usage.

@canadaduane
Copy link

I've tried a fresh app using electron-forge and the sample code provided in the readme, and I'm getting the same issue. It's weird that Trellis is working fine but that a simple app is not.

Some things I've tried:

  • In my toy app, forcing the process.env.PORT to be 4242 like Trellis
  • When I remove the PORT configuration in Trellis, Trellis stops synchronizing
  • setting peerName like Trellis

I'm confused at how Trellis is able to sync/connect but a simpler app cannot.

@pvh
Copy link
Member

pvh commented May 24, 2019

Oh, it might be the firewall rules for your OS. Are you on Windows? Mac?

@canadaduane
Copy link

canadaduane commented May 25, 2019 via email

@pvh
Copy link
Member

pvh commented May 26, 2019

Is there a reason you're building on MPL instead of hypermerge? From my perspective, Hypermerge is quite a bit more mature and robust but maybe it has some properties you don't like? I'm open to doing some investigation/maintenance here if there's a use-case I just haven't grokked.

@canadaduane
Copy link

canadaduane commented May 27, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants