Hi!
I’m trying unsuccessfully to reconnect a state-channel. Both parties coordinates on beforehand which connection settings will they use. After first run, we save state leave return and channel id…
When trying to restablish connection right after creating the channel it CONNECT and inmediately DISCONNECT.
Parameters are:
{ responderId: ‘ak_2TccoDkdWZ28yBYZ7QsdqBMAH5DjsVnMnZHBRyUnxPD5z1whYb’,
pushAmount: 0,
responderAmount: 1,
channelReserve: 1,
host: ‘localhost’,
port: 3001,
lockPeriod: 1,
initiatorAmount: ‘1000000000000000’,
url: ‘ws://10.10.0.79:3001/channel’,
initiatorId: ‘ak_9k9FzYxNbwrXYLVB8EDjhjspZbKzG9zWDTydqHVkDRR8To5Hs’,
role: ‘initiator’,
offchainTx:
‘tx_+NILAfiEuEAW4JSPFGCeFwsHA6Xz2t+NfSxQvsry8RnqqWXdDOF68qH1t8/xfvoSTKZxqN6K49zI6RSB1eJEIsIjkcuxUlkBuEBAn4X2LUv2brMzP/vF9wE72EsE+VPOWx/a2PDYj9sNGzc9olZTEJ/b6KIySQkxEyvMpKzsOnGAtYgO3VC5Pw0IuEj4RjkCoQZcJXlIVDJvzCwX5Gwd+MToeIb3fhUNQG8rwlZ1zS9dYAWggxbjwKALeuZsAkDw0PuOe3KzG3W5gPUnftfPUBIdfsypGief’,
existingChannelId: ‘ch_hakq1fkYeKC9kZtWDiFw625K1xWTHPALp7XLWtP3Fo5iWU6yR’}
|opts:{
“responderId”:“ak_2TccoDkdWZ28yBYZ7QsdqBMAH5DjsVnMnZHBRyUnxPD5z1whYb”,
“pushAmount”:0,
“responderAmount”:1,
“channelReserve”:1,
“host”:“localhost”,
“port”:3001,
“lockPeriod”:1,
“initiatorAmount”:“1000000000000000”,
“url”:“ws://10.10.0.79:3001/channel”,
“role”:“responder”,“initiatorId”:“ak_9k9FzYxNbwrXYLVB8EDjhjspZbKzG9zWDTydqHVkDRR8To5Hs”,“offchainTx”:“tx_+NILAfiEuEAW4JSPFGCeFwsHA6Xz2t+NfSxQvsry8RnqqWXdDOF68qH1t8/xfvoSTKZxqN6K49zI6RSB1eJEIsIjkcuxUlkBuEBAn4X2LUv2brMzP/vF9wE72EsE+VPOWx/a2PDYj9sNGzc9olZTEJ/b6KIySQkxEyvMpKzsOnGAtYgO3VC5Pw0IuEj4RjkCoQZcJXlIVDJvzCwX5Gwd+MToeIb3fhUNQG8rwlZ1zS9dYAWggxbjwKALeuZsAkDw0PuOe3KzG3W5gPUnftfPUBIdfsypGief”,“existingChannelId”:“ch_hakq1fkYeKC9kZtWDiFw625K1xWTHPALp7XLWtP3Fo5iWU6yR”}
And node errors are here:
https://drive.google.com/file/d/11HAoG8cqqeh-ulHwmXkhMimk8tsD1fTn/view?usp=sharing
Thanks for any clue!