decentraland / bronzeage-node

DEPRECATED: This codebase will not be mantained anymore, and formats are going to change when we move to the Decentraland Iron Age
https://decentraland.org
Other
104 stars 22 forks source link

Error when creating RTCPeerConection: the electron-webrtc daemon has been closed #42

Closed kylerchin closed 7 years ago

kylerchin commented 7 years ago
   [error] Cannot create RTCPeerConnection, the electron-webrtc daemon has been closed
[debug] Error: Cannot create RTCPeerConnection, the electron-webrtc daemon has been closed
    at new RTCPeerConnection (/home/kyler/bronzeage-node/node_modules/electron-webrtc          /src/RTCPeerConnection.js:17:15)
at new Peer (/home/kyler/bronzeage-node/node_modules/simple-peer/index.js:82:14)
at WebSocketTracker._createPeer (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:422:14)
at generateOffer (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:388:43)
at WebSocketTracker._generateOffers (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:381:5)
at WebSocketTracker.announce (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:70:10)
at Timeout._onTimeout (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/tracker.js:26:12)
at ontimeout (timers.js:386:14)
at Timer.unrefdHandle (timers.js:492:5)
   [error] Cannot create RTCPeerConnection, the electron-webrtc daemon has been closed
   [debug] Error: Cannot create RTCPeerConnection, the electron-webrtc daemon has been closed
at new RTCPeerConnection (/home/kyler/bronzeage-node/node_modules/ele
kylerchin commented 7 years ago

[error] WebTorrent: Cannot add duplicate torrent a5a5f4f03aaf94cc6b064fa089e7792feb342053

kylerchin commented 7 years ago

More errors..... OVER AND OVER AGAIN

    [error] WebTorrent: Cannot add duplicate torrent 9be62ad74d8fafad4f2e3b05563bd649284e4db7
     [debug] Error: Cannot create RTCPeerConnection, the electron-webrtc daemon has been closed
at new RTCPeerConnection (/home/kyler/bronzeage-node/node_modules/electron-webrtc/src/RTCPeerConnection.js:17:15)
at new Peer (/home/kyler/bronzeage-node/node_modules/simple-peer/index.js:82:14)
at WebSocketTracker._createPeer (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:422:14)
at generateOffer (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:388:43)
at WebSocketTracker._generateOffers (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:381:5)
at WebSocketTracker.announce (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:70:10)
at Timeout._onTimeout (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/tracker.js:26:12)
at ontimeout (timers.js:386:14)
at Timer.unrefdHandle (timers.js:492:5)
kylerchin commented 7 years ago
    [error] Verification failure: bad-prevblk (code=invalid, score=0,  hash=00000000587147427ee3be6f550b5a077180d3fce0b5b62d84eb1cb001c70aac)
{ Error
at Chain.add (/home/kyler/bronzeage-node/lib/blockchain/chain.js:1307:13)
at add.next (<anonymous>)
at step (/home/kyler/bronzeage-node/lib/utils/co.js:31:22)
at succeed (/home/kyler/bronzeage-node/lib/utils/co.js:57:7)
type: 'VerifyError',
hash: <Buffer ac 0a c7 01 b0 1c eb 84 2d b6 b5 e0 fc d3 80 71 07 5a 0b 55 6f be e3 7e 42 47 71 58 00 00 00 00>,
malleated: false,
code: 'invalid',
reason: 'bad-prevblk',
score: 0,
message: 'Verification failure: bad-prevblk (code=invalid, score=0,       

hash=00000000587147427ee3be6f550b5a077180d3fce0b5b62d84eb1cb001c70aac)' } [debug] Handled orphan 0000000008f4a7527faa3ba9447dc22a154f7f727fa68b4a88f2a1ed02c45c83 (72139). [debug] Rejecting block 0000000008f4a7527faa3ba9447dc22a154f7f727fa68b4a88f2a1ed02c45c83 (104.236.147.233:2301): ccode=invalid reason=bad-prevblk. [debug] Sending reject packet to peer (104.236.147.233:2301). [debug] Ban threshold exceeded (104.236.147.233:2301). [debug] Banning peer (104.236.147.233:2301). [debug] Ban threshold exceeded (104.236.147.233:2301). [debug] Banning peer (104.236.147.233:2301). [error] Verification failure: bad-prevblk (code=invalid, score=0, hash=0000000008f4a7527faa3ba9447dc22a154f7f727fa68b4a88f2a1ed02c45c83) { Error at Chain.add (/home/kyler/bronzeage-node/lib/blockchain/chain.js:1307:13) at add.next () at step (/home/kyler/bronzeage-node/lib/utils/co.js:31:22) at succeed (/home/kyler/bronzeage-node/lib/utils/co.js:57:7) type: 'VerifyError', hash: <Buffer 83 5c c4 02 ed a1 f2 88 4a 8b a6 7f 72 7f 4f 15 2a c2 7d 44 a9 3b aa 7f 52 a7 f4 08 00 00 00 00>, malleated: false, code: 'invalid', reason: 'bad-prevblk', score: 0, message: 'Verification failure: bad-prevblk (code=invalid, score=0, hash=0000000008f4a7527faa3ba9447dc22a154f7f727fa68b4a88f2a1ed02c45c83)' } [debug] Handled orphan 000000000d601351cea28e3ea5c8fe09e37b9af2084d39cab7a2d6be561e63ff (72140). [debug] Rejecting block 000000000d601351cea28e3ea5c8fe09e37b9af2084d39cab7a2d6be561e63ff (104.236.147.233:2301): ccode=invalid reason=bad-prevblk. [debug] Sending reject packet to peer (104.236.147.233:2301). [debug] Ban threshold exceeded (104.236.147.233:2301). [debug] Banning peer (104.236.147.233:2301). [debug] Ban threshold exceeded (104.236.147.233:2301). [debug] Banning peer (104.236.147.233:2301).

kylerchin commented 7 years ago
    [debug] Error: write EPIPE
at exports._errnoException (util.js:1050:11)
at WriteWrap.afterWrite [as oncomplete] (net.js:814:14)
[error] write EPIPE
[debug] Error: Cannot create RTCPeerConnection, the electron-webrtc daemon has been closed
at new RTCPeerConnection (/home/kyler/bronzeage-node/node_modules/electron-webrtc/src/RTCPeerConnection.js:17:15)
at new Peer (/home/kyler/bronzeage-node/node_modules/simple-peer/index.js:82:14)
at WebSocketTracker._createPeer (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:422:14)
at generateOffer (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:388:43)
at WebSocketTracker._generateOffers (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:381:5)
at WebSocketTracker.announce (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:70:10)
at Timeout._onTimeout (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/tracker.js:26:12)
at ontimeout (timers.js:386:14)
at Timer.unrefdHandle (timers.js:492:5)
[error] Cannot create RTCPeerConnection, the electron-webrtc daemon has been closed
[debug] Error: Cannot create RTCPeerConnection, the electron-webrtc daemon has been closed
at new RTCPeerConnection (/home/kyler/bronzeage-node/node_modules/electron-webrtc/src/RTCPeerConnection.js:17:15)
at new Peer (/home/kyler/bronzeage-node/node_modules/simple-peer/index.js:82:14)
at WebSocketTracker._createPeer (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:422:14)
at generateOffer (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:388:43)
at WebSocketTracker._generateOffers (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:381:5)
at WebSocketTracker.announce (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:70:10)
at Timeout._onTimeout (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/tracker.js:26:12)
at ontimeout (timers.js:386:14)
at Timer.unrefdHandle (timers.js:492:5)
[error] Cannot create RTCPeerConnection, the electron-webrtc daemon has been closed
[debug] Error: Cannot create RTCPeerConnection, the electron-webrtc daemon has been closed
at new RTCPeerConnection (/home/kyler/bronzeage-node/node_modules/electron-webrtc/src/RTCPeerConnection.js:17:15)
at new Peer (/home/kyler/bronzeage-node/node_modules/simple-peer/index.js:82:14)
at WebSocketTracker._createPeer (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:422:14)
at generateOffer (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:388:43)
at WebSocketTracker._generateOffers (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:381:5)
at WebSocketTracker.announce (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/websocket-tracker.js:70:10)
at Timeout._onTimeout (/home/kyler/bronzeage-node/node_modules/bittorrent-tracker/lib/client/tracker.js:26:12)
at ontimeout (timers.js:386:14)
at Timer.unrefdHandle (timers.js:492:5)
[error] Cannot create RTCPeerConnection, the electron-webrtc daemon has been closed
eordano commented 7 years ago

Hey @kylerschin! These issues might be related with too much RAM usage on electron, or the electron app not being able to open. What OS are you using?

kylerchin commented 7 years ago

I am using Ubuntu 16.04 with Budgie Desktop. What do most people use, Windows or Macintosh? Hahaha!!!!!

On Fri, Jun 9, 2017, 7:48 AM Esteban Ordano notifications@github.com wrote:

Hey @kylerschin https://github.com/kylerschin! These issues might be related with too much RAM usage on electron, or the electron app not being able to open. What OS are you using?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/decentraland/bronzeage-node/issues/42#issuecomment-307409357, or mute the thread https://github.com/notifications/unsubscribe-auth/AHMJ5igKcxoZ2QUGK5Nuaih8Wp2cNtkPks5sCVs2gaJpZM4No5Io .

-- From Kyler Chin

martriay commented 7 years ago

Not needed anymore as we moved to IPFS.