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

fixedpoint-sum demo isn't working #234

Open
JKOKAY opened this issue May 13, 2022 · 2 comments
Open

fixedpoint-sum demo isn't working #234

JKOKAY opened this issue May 13, 2022 · 2 comments

Comments

@JKOKAY
Copy link

JKOKAY commented May 13, 2022

When I try to connect, while the server is running, the Sum-Button stays disabled.
After checking the Webconsole it tells me "sodium_" is null, which looks okay, as opt.sodium is set to false.
Here is the complete error message from the console:
Uncaught TypeError: jiffClient.sodium_ is null
connect jiff-client.js:449
connect mpc.js:30
connect client.js:41
onclick client.html:1

@KinanBab
Copy link
Member

I cannot replicate this error myself. The demo is working fine on my machine as is and also when I enable sodium.

What browser / version are you using? Can you run npm run-script test-demo -- demos/fixedpoint-sum/ from the root directory of JIFF?

@JKOKAY
Copy link
Author

JKOKAY commented May 16, 2022

I tried Chrome (version 101.0.4951.67) and Firefox (version 100.0) both running on Windows 10.
Chrome error :
grafik
Firefox error:
grafik

If I try to remove the line opt.sodium = false, I receive new errors:
Chrome:
grafik
Firefox:
grafik

It seems like I am missing something here, at least with the browser approch, as the script you mentionend (npm run-script test-demo -- demos/fixedpoint-sum/ ) is running fine (at least the log is very long and the terminal tells me the test passed).

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

No branches or pull requests

2 participants