Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Problems with MIST connecting to Parity in testnet #1260

Closed
johnwhitton opened this issue Jun 12, 2016 · 5 comments
Closed

Problems with MIST connecting to Parity in testnet #1260

johnwhitton opened this issue Jun 12, 2016 · 5 comments

Comments

@johnwhitton
Copy link

johnwhitton commented Jun 12, 2016

Hi,

This is basically the same as https://github.com/ethcore/parity/issues/1161 which was closed and assumed fixed. Although I'm not sure what testing was done there. Please let me know if I can help in further testing You can find me on gitter

Today I did a fresh clone and build of parity and downloaded mist 0.7.4 again.
When trying to send transactions in testnet I get see attached
MistParityConnectionIssues.txt

ipcProviderBackend - IPCSOCKET 8 TIMEOUT ERROR
ipcProviderBackend - IPCSOCKET 8 ERROR { [Error: write EPIPE]

Note I am running parity using
a) parity --testnet --ipcpath ~/Library/Ethereum/geth.ipc
which places geth.ipc under /Users/johnwhitton/Library/Ethereum/
this is because if I run parity using
b) parity --testnet --geth
it places the geth.ipc file under
/Users/johnwhitton/Library/Ethereum/testnet
MIST always looks under /Users/johnwhitton/Library/Ethereum/ and so if run using a) it tries to open a second node.
MIST_Trying_To_Open_A_Second_Node.txt

This is a known issue documented here in geth ethereum/go-ethereum#2629

Johns-MacBook-Pro:testnet_keys johnwhitton$ parity -v
Parity
version Parity/v1.2.0-unstable-7064624-20160612/x86_64-macos/rustc1.9.0
Copyright 2015, 2016 Ethcore (UK) Limited
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

By Wood/Paronyan/Kotewicz/Drwięga/Volf.
Johns-MacBook-Pro:testnet_keys johnwhitton$

@johnwhitton
Copy link
Author

johnwhitton commented Jun 14, 2016

New Logs

Adding logs from todays run using -l ipc=trace
parity_ipc.txt
electron.txt

Steps to reproduce

  1. Run Parity `parity --testnet --jsonrpc --jsonrpc-cors "http://localhost:5000" --ipcpath /Users/johnwhitton/Library/Ethereum/geth.ipc -l ipc=trace'
  2. Run electron ./electron
  3. Transfer funds from one account to another
  4. Enter Password for confirmation
  5. Receive wrong password message
  6. Stop election
  7. Stop Parity
    8 Capture logs

Version information

Johns-MacBook-Pro:testnet_keys johnwhitton$ parity -v
Parity
version Parity/v1.2.0-unstable-7b89d6a-20160614/x86_64-macos/rustc1.9.0
Copyright 2015, 2016 Ethcore (UK) Limited
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

By Wood/Paronyan/Kotewicz/Drwięga/Volf.
Johns-MacBook-Pro:testnet_keys johnwhitton$

@johnwhitton
Copy link
Author

Here is the log from the new version with ipc chunking
Transactions are not being confirmed
screen shot 2016-06-14 at 10 23 12 am
ipc.txt

@gavofyork
Copy link
Contributor

gavofyork commented Jun 14, 2016

what transaction fees are being paid? don't forget with the ether price being high, parity will default to a fairly low gasPrice, probably lower than the Geth miners are configured to accept. in any case, this is a separate bug - closing.

maybe related: #1265

@johnwhitton
Copy link
Author

Bumping the GAS price, to fastest got the transaction picked up and processed. Thanks.

@johnwhitton
Copy link
Author

Ok to summarize it looks like there were three issues

  1. Problem when reading contact code was the initial issue which is fixed under https://github.com/ethcore/parity/pull/1285/
  2. Problem sending transactions which you can workaround by increasing the gas fee to faster and relates to https://github.com/ethcore/parity/issues/1265
  3. There is an issue where I get an invalid json-rpc message when trying to send from the parity-ui. (I've created https://github.com/ethcore/parity/issues/1288 for this)

Thanks @NikVolf and @gavofyork for your work on this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants