Convergence icon indicating copy to clipboard operation
Convergence copied to clipboard

Unable to add notaries

Open melpomene opened this issue 11 years ago • 14 comments

I am using Convergence 0.99 in firefox 23.0.1.

I am unable to add any of the notaries listed here (high availability): https://github.com/moxie0/Convergence/wiki/Notaries

I tried both from the downloaded file and from the URL. I do not get any error messages, but the list remains empty (was empty on install).

melpomene avatar Sep 16 '13 10:09 melpomene

What OS are you on? Windows? Could your issue be the same bug as my issue at https://github.com/mk-fg/convergence/issues/1 ?

JeremyRand avatar Sep 27 '13 05:09 JeremyRand

Running OS X 10.8.5.

melpomene avatar Sep 27 '13 09:09 melpomene

Same problem, running Convergence 0.09 with Firefox 24.0 on OSX 10.8.5.

Magrath avatar Sep 27 '13 12:09 Magrath

Could you try with the fork at https://github.com/mk-fg/convergence ? It's received regular updates, while moxie0's repo hasn't been updated in 2 years. If it fails, does it fail in the same way?

JeremyRand avatar Sep 27 '13 22:09 JeremyRand

Unable to add notaries either by url or downloaded bundle. The "Add Notary" modal dialog won't accept the notary somehow, so it refuses to dismiss via the OK button.

FF 26.0 OSX 10.9 Convergence 0.09 (current beta) or Convergence Extra 0.11.20131117193258 (built via master @ HEAD of mk-fg's fork)

skull-squadron avatar Dec 11 '13 18:12 skull-squadron

Same problem here. No notaries on install. When I try to install a notary via URL the OK button is unclickable. When I upload via file, the OK button works, but the notary screen is blank. '

FF 26 OSA 10.9.1 Convergence - current from convergence.io

SethArchambault avatar Jan 09 '14 11:01 SethArchambault

More details on FF 27.0.1 OSX 10.9.1:

JS console says: TypeError: notaries is undefined options.js:97

https://github.com/moxie0/Convergence/blob/master/client/chrome/content/options.js#L97

function onAddNotary() {
  var retVal = {notary: null};
  window.openDialog("chrome://convergence/content/addNotary.xul", "dialog2", "modal", retVal).focus();

  if (retVal.notary) {
    for (var i=0;i<notaries.length;i++) { <<<<<================== 
      if (isDuplicateNotary(notaries[i], retVal.notary)) {
    dump("Found duplicate: " + notaries[i].getName()+ "\n");
    alert("Sorry, this notary conflicts with a notary that you already have configured." +
          "  You can only use two notaries from the same organization if they are"       +
          " configured  for seperate regions.");
    return;
      }
    }

    notaries.push(retVal.notary);
    updateNotarySettings();
  }
}

skull-squadron avatar Feb 19 '14 18:02 skull-squadron

convergence.getSettingsManager fails, which causes settingsManager to be undefined, which causes notaries to be undefined

Looks like convergence is just a simple prototyped Object instance.

skull-squadron avatar Feb 19 '14 19:02 skull-squadron

Starting FF from the console reveals the silently handled exception dump()s the following to stderr/stdout

ns/[email protected]/components/DatabaseHelper.js
Loaded!
Loading: ________/Library/Application Support/Firefox/Profiles/_____.default/extensions/[email protected]/chrome/content/util/ConvergenceUtil.js
Loaded!
Failed to find nspr4 in installed directory, checking system paths.
Failed to find nspr4 in system paths, trying explicit FreeBSD path.
Error initializing ctypes: Error: couldn't open library /usr/local/lib/libnspr4.so, NSPR.initialize@file:///________/Library/Application%20Support/Firefox/Profiles/________.default/extensions/[email protected]/components/Convergence.js -> file:///________/Library/Application%20Support/Firefox/Profiles/________.default/extensions/[email protected]/chrome/content/ctypes/NSPR.js:40

There is no .+nspr.+ anywhere to be found in the system, Firefox.app or in the extension.

skull-squadron avatar Feb 19 '14 19:02 skull-squadron

Don't know if this helps, but I compiled and hosted a nspr4.10 that only depends on itself and libSystem.dylib

https://gist.github.com/9100179

skull-squadron avatar Feb 19 '14 20:02 skull-squadron

Taking a gross two-stroke chainsaw to all NSPR code doesn't help. Also tries to load libssl3.dylib. :sadface: Needs TLC by someone that KWTFTD (or fakes it well).

skull-squadron avatar Feb 19 '14 20:02 skull-squadron

Just to add that: I have the same problem on FF 24 Win 7 here.

zzottel avatar Mar 31 '14 13:03 zzottel

Same problem, FF 28 Ubuntu 14.04 x64.

peterclemenko avatar Apr 09 '14 18:04 peterclemenko

@zzottel and @th3flyboy , use mk-fg's version (Convergence Extra). Works fine for me on Windows 8 and Linux Mint 15. Reportedly OSX has other issues which Convergence Extra doesn't fix.

JeremyRand avatar Apr 10 '14 08:04 JeremyRand