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

peerpad.net does not work if IPFS Companion extension is enabled in Chrome #331

Open
pezinek opened this issue Sep 26, 2019 · 0 comments
Open

Comments

@pezinek
Copy link

pezinek commented Sep 26, 2019

If i browse to peerpad.net using chrome + IPFS Companion it fails to become online with the developer console showing the output bellow.
Btw. I do have all the experimental features in IPFS Companion enabled (e.g. like injecting window.ipfs etc.)
and do use custom IPFS gateway that runs on http://192.168.1.70/8080/

1.7139e772.chunk.js:1 Invalid asm.js: Unexpected token
Promise.then (async)
(anonymous) @ Edit.js:305
x @ runtime.js:62
(anonymous) @ runtime.js:288
e.<computed> @ runtime.js:114
r @ asyncToGenerator.js:3
a @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
(anonymous) @ Edit.js:398
Pl @ react-dom.production.min.js:5351
Rl @ react-dom.production.min.js:5099
Ll @ react-dom.production.min.js:5066
_l @ react-dom.production.min.js:5001
tl @ react-dom.production.min.js:4927
enqueueSetState @ react-dom.production.min.js:2891
x.setState @ react.production.min.js:72
(anonymous) @ Home.js:20
x @ runtime.js:62
(anonymous) @ runtime.js:288
e.<computed> @ runtime.js:114
r @ asyncToGenerator.js:3
a @ asyncToGenerator.js:25
Promise.then (async)
r @ asyncToGenerator.js:13
a @ asyncToGenerator.js:25
Promise.then (async)
r @ asyncToGenerator.js:13
a @ asyncToGenerator.js:25
Promise.then (async)
r @ asyncToGenerator.js:13
a @ asyncToGenerator.js:25
Promise.then (async)
r @ asyncToGenerator.js:13
a @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
(anonymous) @ Home.js:23
Pl @ react-dom.production.min.js:5351
Rl @ react-dom.production.min.js:5099
Ll @ react-dom.production.min.js:5066
_l @ react-dom.production.min.js:5001
tl @ react-dom.production.min.js:4927
Ul @ react-dom.production.min.js:5538
zl @ react-dom.production.min.js:5546
Gl.render @ react-dom.production.min.js:5737
(anonymous) @ react-dom.production.min.js:5822
Bl @ react-dom.production.min.js:5468
Yl @ react-dom.production.min.js:5821
render @ react-dom.production.min.js:5850
369 @ index.js:17
s @ (index):1
150 @ Preview.module.styl:2
s @ (index):1
l @ (index):1
e @ (index):1
(anonymous) @ main.0ef04093.chunk.js:1
Edit.js:315 peer star app: peer-pad/2
Edit.js:316 peer star config: {ipfs: {…}, transport: {…}}ipfs: {swarm: Array(1), bootstrap: Array(8)}transport: {maxThrottleDelayMS: 1000}__proto__: Object
rsa-browser.js:12 Uncaught TypeError: Cannot read property 'generateKey' of undefined
    at Object.e.generateKey (rsa-browser.js:12)
    at Object.generateKeyPair (rsa-class.js:237)
    at Object.e.generateKeyPair (index.js:39)
    at index.js:174
    at c (waterfall.js:16)
    at t.default (waterfall.js:29)
    at Function.create (index.js:173)
    at init.js:94
    at c (waterfall.js:16)
    at f (waterfall.js:26)
e.generateKey @ rsa-browser.js:12
generateKeyPair @ rsa-class.js:237
e.generateKeyPair @ index.js:39
(anonymous) @ index.js:174
c @ waterfall.js:16
t.default @ waterfall.js:29
create @ index.js:173
(anonymous) @ init.js:94
c @ waterfall.js:16
f @ waterfall.js:26
(anonymous) @ onlyOnce.js:13
(anonymous) @ index.js:132
(anonymous) @ levelup.js:175
(anonymous) @ index.js:54
a.onsuccess @ index.js:130
IndexedDB (async)
u._get @ index.js:104
s.get @ abstract-leveldown.js:71
f._get @ index.js:53
c.get @ abstract-leveldown.js:104
g.get @ levelup.js:167
value @ index.js:129
exists @ version.js:19
value @ index.js:307
(anonymous) @ init.js:74
c @ waterfall.js:16
t.default @ waterfall.js:29
(anonymous) @ init.js:72
(anonymous) @ index.js:31
(anonymous) @ boot.js:46
c @ waterfall.js:16
f @ waterfall.js:26
(anonymous) @ onlyOnce.js:13
(anonymous) @ boot.js:24
(anonymous) @ index.js:166
(anonymous) @ once.js:13
f @ waterfall.js:23
(anonymous) @ onlyOnce.js:13
(anonymous) @ index.js:253
(anonymous) @ parallel.js:43
(anonymous) @ once.js:13
d @ eachOfLimit.js:52
(anonymous) @ onlyOnce.js:13
(anonymous) @ parallel.js:40
(anonymous) @ version.js:58
(anonymous) @ version.js:31
(anonymous) @ index.js:114
(anonymous) @ levelup.js:175
(anonymous) @ index.js:54
a.onsuccess @ index.js:130
IndexedDB (async)
u._get @ index.js:104
s.get @ abstract-leveldown.js:71
f._get @ index.js:53
c.get @ abstract-leveldown.js:104
g.get @ levelup.js:167
value @ index.js:112
get @ version.js:29
check @ version.js:56
version @ index.js:247
(anonymous) @ parallel.js:34
p @ eachOfLimit.js:78
(anonymous) @ eachOfLimit.js:84
t.default @ eachOfLimit.js:44
(anonymous) @ doLimit.js:10
t.default @ eachOf.js:8
t.default @ parallel.js:33
t.default @ parallel.js:93
value @ index.js:239
(anonymous) @ index.js:130
c @ waterfall.js:16
f @ waterfall.js:26
(anonymous) @ onlyOnce.js:13
(anonymous) @ index.js:398
(anonymous) @ index.js:81
(anonymous) @ levelup.js:89
(anonymous) @ events.js:229
a.emit @ events.js:136
(anonymous) @ levelup.js:102
(anonymous) @ abstract-leveldown.js:51
(anonymous) @ deferred-leveldown.js:37
(anonymous) @ abstract-leveldown.js:51
(anonymous) @ abstract-leveldown.js:32
i @ index.js:92
n.onsuccess @ index.js:42
IndexedDB (async)
u._open @ index.js:37
s.open @ abstract-leveldown.js:25
f._open @ index.js:36
c.open @ abstract-leveldown.js:44
s._open @ deferred-leveldown.js:22
c.open @ abstract-leveldown.js:44
g.open @ levelup.js:95
g @ levelup.js:66
g @ levelup.js:38
e @ index.js:56
t.create @ backends.js:6
e @ index.js:74
e.exports @ repo-browser.js:7
T @ index.js:130
e.exports @ ipfs.js:60
(anonymous) @ app.js:69
value @ app.js:66
(anonymous) @ Edit.js:322
x @ runtime.js:62
(anonymous) @ runtime.js:288
e.<computed> @ runtime.js:114
r @ asyncToGenerator.js:3
a @ asyncToGenerator.js:25
Promise.then (async)
r @ asyncToGenerator.js:13
a @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
(anonymous) @ Edit.js:398
Pl @ react-dom.production.min.js:5351
Rl @ react-dom.production.min.js:5099
Ll @ react-dom.production.min.js:5066
_l @ react-dom.production.min.js:5001
tl @ react-dom.production.min.js:4927
enqueueSetState @ react-dom.production.min.js:2891
x.setState @ react.production.min.js:72
(anonymous) @ Home.js:20
x @ runtime.js:62
(anonymous) @ runtime.js:288
e.<computed> @ runtime.js:114
r @ asyncToGenerator.js:3
a @ asyncToGenerator.js:25
Promise.then (async)
r @ asyncToGenerator.js:13
a @ asyncToGenerator.js:25
Promise.then (async)
r @ asyncToGenerator.js:13
a @ asyncToGenerator.js:25
Promise.then (async)
r @ asyncToGenerator.js:13
a @ asyncToGenerator.js:25
Promise.then (async)
r @ asyncToGenerator.js:13
a @ asyncToGenerator.js:25
(anonymous) @ asyncToGenerator.js:32
(anonymous) @ asyncToGenerator.js:21
(anonymous) @ Home.js:23
Pl @ react-dom.production.min.js:5351
Rl @ react-dom.production.min.js:5099
Ll @ react-dom.production.min.js:5066
_l @ react-dom.production.min.js:5001
tl @ react-dom.production.min.js:4927
Ul @ react-dom.production.min.js:5538
zl @ react-dom.production.min.js:5546
Gl.render @ react-dom.production.min.js:5737
(anonymous) @ react-dom.production.min.js:5822
Bl @ react-dom.production.min.js:5468
Yl @ react-dom.production.min.js:5821
render @ react-dom.production.min.js:5850
369 @ index.js:17
s @ (index):1
150 @ Preview.module.styl:2
s @ (index):1
l @ (index):1
e @ (index):1
(anonymous) @ main.0ef04093.chunk.js:1
Show 53 more frames
onlyOnce.js:10 Uncaught Error: Callback was already called.
    at onlyOnce.js:10
    at index.js:136
    at levelup.js:175
    at index.js:54
    at IDBTransaction.o.onabort (index.js:107)
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

1 participant