geth attach Fatal Unable to attach to remote geth no known transport for URL scheme c

–1 vote

I have installed geth successfully but when I try to use get attach command, I am facing this error:

geth attach
Fatal: Unable to attach to remote geth: no known transport for URL scheme "c"

Jan 16, 2019 in Blockchain by digger
• 26,720 points
945 views

1 answer to this question.

0 votes

Seems like geth.ipc path is not set. When you installed geth, it is necessary to add the IPC path. 

If you have initialized the genesis block correctly then you should have the file in ./data directory. Anyways you can find it like this:

locate geth.ipc

It will show the location and then use that location

geth attach ipc:/<path to file>/geth.ipc console

 

answered Jan 16, 2019 by Omkar
• 69,150 points

Related Questions In Blockchain

+1 vote
1 answer

geth: Fatal: Failed to read genesis file: open “/home/edureka/privatechain/”: no such file or directory

Use this: geth --datadir ./data init ./custom_genesis.json READ MORE

answered Dec 5, 2018 in Blockchain by Omkar
• 69,150 points
1,587 views
0 votes
1 answer

geth: Fatal: invalid genesis file: invalid character 'â' looking for beginning of object key string

Looks like your editor is adding characters ...READ MORE

answered Dec 5, 2018 in Blockchain by Omkar
• 69,150 points
3,361 views
+1 vote
2 answers

Not able to create new account in geth for private ethereum network

Looks like the account you are trying ...READ MORE

answered Dec 6, 2018 in Blockchain by Omkar
• 69,150 points
1,365 views
–1 vote
1 answer

Unable to create account in geth

Well, that's not how you create a ...READ MORE

answered Dec 28, 2018 in Blockchain by Omkar
• 69,150 points
188 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,830 points
633 views
0 votes
1 answer
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

I have been working with Interacting a ...READ MORE

Mar 6, 2019 in Blockchain by saeedi
• 120 points

edited Mar 6, 2019 by Omkar 1,336 views
0 votes
1 answer

Not able to attach geth.ipc: Fatal: Unable to attach to remote geth: connect: connection refused

You should not mention double quotes for ...READ MORE

answered Dec 6, 2018 in Blockchain by Omkar
• 69,150 points
1,569 views
0 votes
2 answers

“geth attach” command shows error: Fatal: Unable to attach to remote geth

please check from root, sudo -i geth attach READ MORE

answered Nov 7, 2020 in Blockchain by balachandar
• 140 points
2,410 views