Error while checking bitcoin connection

Содержание
  1. ‘ERROR: Error reading proxy response’ when using TOR on bitcoind #9430
  2. Comments
  3. ghost commented Dec 26, 2016
  4. Describe the issue
  5. Expected behaviour
  6. What version of bitcoin-core are you using?
  7. Machine specs:
  8. unsystemizer commented Dec 27, 2016
  9. ghost commented Dec 27, 2016
  10. unsystemizer commented Dec 28, 2016 •
  11. laanwj commented Jan 2, 2017 •
  12. ghost commented Jan 2, 2017
  13. P2Pool twisted error
  14. 2 Answers 2
  15. Not the answer you’re looking for? Browse other questions tagged p2pool or ask your own question.
  16. Related
  17. Hot Network Questions
  18. Subscribe to RSS
  19. 1.1.1 Ubuntu: Not Synced #2408
  20. Comments
  21. salamanders commented Apr 22, 2021 •
  22. Questions
  23. dorkmo commented Apr 22, 2021
  24. salamanders commented Apr 22, 2021
  25. nowickj commented Apr 22, 2021 •
  26. megablue commented Apr 22, 2021
  27. salamanders commented Apr 22, 2021 •
  28. salamanders commented Apr 22, 2021
  29. hoffmang9 commented Apr 22, 2021
  30. salamanders commented Apr 22, 2021
  31. hoffmang9 commented Apr 22, 2021
  32. salamanders commented Apr 22, 2021
  33. salamanders commented Apr 22, 2021
  34. salamanders commented Apr 22, 2021 •
  35. salamanders commented Apr 22, 2021 •
  36. dorkmo commented Apr 23, 2021
  37. salamanders commented Apr 23, 2021
  38. dorkmo commented Apr 23, 2021
  39. hoffmang9 commented Apr 24, 2021
  40. Dravenex commented Apr 27, 2021
  41. Bitcoin кошелек не запускается или закрывается без уведомления? Решение
  42. Проверьте дату и время вашего компьютера
  43. Bitcoin core кошелек не запускается (исправление)
  44. Вывод
  45. Подпишись на наш Telegram-канал и не пропускай важные новости из мира криптовалют и блокчейна*

‘ERROR: Error reading proxy response’ when using TOR on bitcoind #9430

Comments

ghost commented Dec 26, 2016

Describe the issue

The problem is, the error message: ‘ERROR: Error reading proxy response’ in the debug.log file.
I wanted to simply run bitcoin over TOR. So in the bitcoin.conf file i had the following lines:
bind=127.0.0.1
port=8333
upnp=0
proxy=127.0.0.1:9050

Then i started bitcoind in terminal, i monitored the debug.log file and i saw that error message described above every minute or so while i was getting a new ‘update tip’ block.

To test if TOR was really working, i stopped the TOR service and i immediately got countless errors:
connect() to 127.0.0.1:9050 failed after select(): Connection refused (111)
connect() to 127.0.0.1:9050 failed after select(): Connection refused (111)
connect() to 127.0.0.1:9050 failed after select(): Connection refused (111)

So i realized that TOR was working, yet the original unknown error of:
‘ERROR: Error reading proxy response’ occurred.

Please note: my intention was not to use a hidden tor service.
My intention was to simply torify outgoing connections as described in the first step here:
https://github.com/bitcoin/bitcoin/blob/master/doc/tor.md#1-run-bitcoin-behind-a-tor-proxy
and here:
https://bitcointalk.org/index.php?topic=623868.0

Expected behaviour

The expected behaviour should have been that bitcoin would run over tor without a proxy error while tor is actually working.

What version of bitcoin-core are you using?

sudo apt-add-repository ppa:bitcoin/bitcoin (https://launchpad.net/

Machine specs:

  • OS: Ubuntu 16.04
  • Disk Type (HD/SDD): SSD

If there should be some other type of config that i am missing in bitcoin.conf please let me know.

The text was updated successfully, but these errors were encountered:

unsystemizer commented Dec 27, 2016

You need to fix your proxy. Unless you can show other apps work with that proxy and Bitcoin does not, it’s not a Bitcoin issue. Similar eample:
bitcoin-dot-org/Bitcoin.org#1334
Perhaps you should fix Tor first and make sure that it works as SOCKS5 proxy. At the moment you only demonstrate that the proxy is refusing connections, and not that Bitcoin is not functioning properly

ghost commented Dec 27, 2016

Well the thing is, i do use the TOR daemon for other apps and it works perfectly in Ubuntu. Thats why I am reporting this issue. Can you please try and reproduce the issue?

I can try reproduce the issue on a newly installed Ubuntu 16.04 with TOR installed and report back.

unsystemizer commented Dec 28, 2016 •

Are those other apps using Tor SOCKS5 proxy?
I had Bitcoin 0.12.1 running with Tor on Ubuntu 16.04 before and I had to fix my proxy settings on Tor to get it to work.

Provide your Tor version and complete configuration files for Bitcoin and Tor — or better yet, get help on Tor forums.

Читайте также:  Работа с брокером втб инвестиции

laanwj commented Jan 2, 2017 •

If you get a message about connection refused, you have set the wrong port for your proxy. What port is tor really listening on?
Never mind, you get that after quitting tor, which makes sense.

ghost commented Jan 2, 2017

@unsystemizer as far i know, the default TOR daemon installation does not require any configuration for simple outgoing connections to applications that support TOR.

I have tested this on a fresh installation of Ubuntu 16.04. installed tor and bitcoind.
as soon as i created the bitcoin.conf file and started bitcoind, initially i get exactly 2 error messages:
2017-01-02 ERROR: Error reading proxy response
2017-01-02 ERROR: Error reading proxy response

then all the update tips started downloading perfectly.
But again i mention, if i stop the tor service, and start bitcoind — it will flood the log with
connect() to 127.0.0.1:9050 failed after select(): Connection refused (111)

so my daemon IS working. because i can still use it with other apps such as torbirdy for example and there are no issues.

the fact that bitcoind works while TOR is running while receiving 2 random errors ‘Error reading proxy response’ and then continuing normally doesnt mean there is something wrong with tor. dont you think? but if the service is stopped i can understand the flood of error messages.

If you had to run a fresh VM of ubuntu and installed TOR and bitcoind, you will see for yourself. because i just reproduced the issue.
Id really appreciate it if you could reproduce the issue so you can see my exact problem.

the bitcoin.conf file that i create like i said, has the following lines:

bind=127.0.0.1
port=8333
upnp=0
proxy=127.0.0.1:9050

Источник

P2Pool twisted error

I need some help to install and configure p2pool. I run a Debian 7 installed bitcoin and litecoin (getinfo ok) firewall with open port 3332 3333 8332 8333 9332 9327 9333 9338 installed p2pool and run it with

I just keep having this error, googled for it but can’t seem to find any correct answers for this.

Any help would be greatly appreciated

2 Answers 2

The default RPC port for bitcoind is 8332. Unless you’ve changed it with the -rpcport option, you should be connecting to that port instead.

Eventually you confused the P2Pool stratum port with the wallet node RPC port.

If you’ve set the wallet node RPC port to 3333, which by default is stratum port on the P2Pool as im aware, its very likely wrong set RPC credentials in the config of your wallet node.

Not the answer you’re looking for? Browse other questions tagged p2pool or ask your own question.

Hot Network Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev 2021.6.10.39473

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник

1.1.1 Ubuntu: Not Synced #2408

Comments

salamanders commented Apr 22, 2021 •

  1. Woke up to the «this will stop working at height xxx» message. Ok, no worries.
  2. Noticed that I wasn’t synced since last night. Stopped around height 166101
  3. Killed my plotting.
  4. Updated to latest 1.1.1 via git.
  5. installed latest using .sh
  6. Rebooted machine
  7. Saw it go from «Not Synced» to «Synchronizing. » then back to «Not Synced»
  8. While UI was running, tried a few commands in the same . /activate terminal:
  • chia show -a node.chia.net:8444 (failed to connect)
  • chia show -a 35.80.8.179:8444 (failed to connect)
  • chia show -a 18.168.101.107:8444 (failed to connect)

I am connected to 2 nodes (1 farmer, 1 wallet)

Questions

  1. Is this broken or just «dude, wait at least 6 hours before worrying.»
  2. Is trying to connect via command line when the GUI is running a «bad thing»?
  3. If 1=Broken, Anything I should be doing to help debug?

The text was updated successfully, but these errors were encountered:

dorkmo commented Apr 22, 2021

make sure your port 8444 is forwarded to your node on your network router

salamanders commented Apr 22, 2021

make sure your port 8444 is forwarded to your node on your network router

Just confirmed, is forwarded in wifi app config.

  • Yet, https://www.yougetsignal.com/tools/open-ports/ is saying it is closed. Interesting.
  • https://www.grc.com/shieldsup says it is «stealth open» — so that is good!
Читайте также:  Рейтинги доходности пифов 2020 года

nowickj commented Apr 22, 2021 •

I had a similar problem. I have installed a new Ubuntu 20.04 LTS, configured everything. Status was Not Synced. After few minutes it has changed for Syncing 1120/169461, and again it has changing to Not Synced.
I have another server on Ubuntu too, but it has older version and it is Synced.
Port 8444 is open on My router.
after making
chia show -a node.chia.net:8444
chia show -a 35.80.8.179:8444

syncing moovs forward.

megablue commented Apr 22, 2021

After updating to v1.1.1 none of my windows machines are able to sync as well.

salamanders commented Apr 22, 2021 •

chia show -a node.chia.net:8444 — no error
chia show -a 35.80.8.179:8444 — error

«Status: Syncing 166101/169762»
Then a while later goes back to «Not Synced»

salamanders commented Apr 22, 2021

Oh freaky, chia version says 1.1.2.dev0

hoffmang9 commented Apr 22, 2021

The 1.1.2.dev0 is a common git related issue you can ignore.

salamanders commented Apr 22, 2021

common git related issue you can ignore — Cool, ignoring! 🙂

Any thoughts on how to debug?

hoffmang9 commented Apr 22, 2021

You need to get your router routing 8444 to your node.

salamanders commented Apr 22, 2021

Hopefully red herring:

salamanders commented Apr 22, 2021

You need to get your router routing 8444 to your node.

Is there anything that might have increased the chances of more rare issues (like this) in the last 2 days? Over in /r/chia it seems like lots of ppl are suddenly having connection or sync issues. Or did we reach some threshold where not having 8444 routed properly suddenly has more chances of causing a glitch?

salamanders commented Apr 22, 2021 •

Upped the logs to INFO:

salamanders commented Apr 22, 2021 •

Ok so I HAVE FIXED IT FOR JUST ME. (using @hoffmang9 ‘s advice because of course they were right)

  1. I had previously set up forwarding in my mesh Wifi. This was working fine.
  2. I had also checked that the firewall was behaving. This was ALSO working fine.
  3. I had hoped that UPnP in my cable modem was working. this was NOT FINE.
  4. So I tried to do port forwarding from the modem to my mesh. xfinity’s port forwarding is (AFAIK) very broken. I couldn’t forward from the modem to my Mesh Wifi. They are trying to figure out why it is so broken.
  5. In the meantime, I moved my mesh network’s router into the xFinity DMZ. This instantly fixed the issue.

I am still curious why this didn’t previously hurt me, it feels like something around the same time as the 1.x release made it MUCH more important to have that port set up right.

dorkmo commented Apr 23, 2021

i believe they said it might have to do with the huge increase in new nodes coming online. if your ports were not set up correctly before, the nodes with ports open could support a good number of others, but it became too overwhelming.

salamanders commented Apr 23, 2021

Huh. If the port needs to be routed right, then the app should check for that and give you big blinky errors if it isn’t. right?

dorkmo commented Apr 23, 2021

that would be nice! but unfortunately it doesnt 🙁 node communication seemed to be pretty stable a week or two ago, but there are thousands of nodes coming online everyday now. i think they were depending on upnp to keep most people connected to the network but it seems to not be reliable enough for the current reality.

hoffmang9 commented Apr 24, 2021

The largest blockchain in the world has 85,000 nodes. We passed that a few days ago and are adding about 10,000 nodes a day. That is. ahead of expectations.

Dravenex commented Apr 27, 2021

To the moooooooon

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Читайте также:  Вентилятор для майнинга промышленный

Источник

Bitcoin кошелек не запускается или закрывается без уведомления? Решение

Ваш Bitcoin-кошелек стал закрываться без предупреждения или уведомления? Эта проблема встречаются часто, и в большинстве случаев она возникает при принудительном отключении кошелька (к примеру, внезапное отключение света во время работы кошелька).

Если это так, то, возможно, вы испортили файл блокчейна. Вам нужно будет удалить файлы blk.dat из папки блоков и начать синхронизацию с нуля.

Случайные блокировки блокчейна распространены среди любых криптовалютных кошельков, поэтому старайтесь не закрывать свой кошелек принудительно.

Но что, если Вы всегда самостоятельно выходите из своего кошелька, и принудительно он не был закрыт ни разу, но Вы все равно не можете его запустить?

Не волнуйтесь, в этом кратком руководстве, мы расскажем Вам, что делать, если Ваш Bitcoin-кошелек не запускается. Также не беспокойтесь о своем балансе, который не будет отображаться, пока Ваш кошелек не будет исправлен и полностью синхронизирован он не сможет показать корректно баланс.

Если вы хотите убедиться, что с монетами все ОК и они в целостности и сохранности, то вы всегда можете проверить их через .

Проверьте дату и время вашего компьютера

Недавно один из наших пользователей столкнулся с подобной проблемой. Он упомянул, что его кошелек продолжает падать (не запускается), и не знал, что является причиной проблемы. Все, что он сообщили, было то, что его клиент bitcoin-qt открывается, начинает синхронизацию и затем внезапно закрывается.

Обычно, когда Ваш кошелек выходит из строя, после закрытия вы получите сообщение: «проверьте ваш debug.log» («check your debug.log»). В его случае такого сообщения не было.

Первое, что мы предложили — это сделать резервную копию кошелька и проверить файл debug.log на наличие ошибок.

Вот сообщение об ошибке:

2020-06-21T19:31:50 « Warning: Please check that your computer’s date and time are correct! If your clock is wrong, Bitcoin Core will not work properly.»

Перевод ошибки: Предупреждение. Проверьте правильность даты и времени на компьютере! Если ваше время указано неверно, Bitcoin Core не будет работать должным образом.

Мы думаем, что Вы уже догадались. Проблема заключалась в дате и времени их компьютера. Установив правильную дату и время, пользователь смог исправить ошибку в своем кошельке.

Хорошо! Теперь посмотрим, как починить кошелек.

Bitcoin core кошелек не запускается (исправление)

Мы предполагаем, что ваш кошелек полностью закрыт и не работает в фоновом режиме. Также обязательно сделайте , прежде чем продолжить вносить какие-либо изменения.

После того, как вы скопировали файл wallet.dat; откройте файл debug.log, который вы найдете в том же каталоге. Прокрутите вниз файл debug.log до последних журналов и проверьте сообщение об ошибке.

Это связано с поврежденным блокчейном? Затем попробуйте переиндексировать ваш кошелек, чтобы начать восстановление блокчейна.

Прочитайте наше руководство о том, .

Если это не помогло, удалите все файлы из каталога Bitcoin, кроме wallet.dat (всегда имейте резервную копию этого файла), и начните заново.

Чтобы ускорить синхронизацию, попробуйте использовать Bootstrap. и как его использовать. Что бы синхронизировать блокчейн в несколько раз быстрее!

Все еще не работает? Возможно, у вас неисправное оборудование, чаще всего жесткий диск.

Сделайте резервную копию файла wallet.dat, а затем удалите Core Wallet. Теперь попробуйте переустановить кошелек на другой диск, который имеет больше места. Если вам не хватает места, вы можете попробовать запустить ядро Биткойн в режиме .

В этом случае Bitcoin кошелек будет занимать всего 2 Гб места на диске! НО кошелек все равно будет полностью синхронизировать блокчейн (не занимая больше 2 Гб места). Эта функция очень полезна для экономии места, но к сожалению она ни как не влияет на скорость синхронизации.

Посмотрите видео, как сделать блочную обрезку:

Если проблема в оборудовании, а вы не хотите хранить средства на этом ПК, даже если вы исправили все ошибки кошелька, то Вам необходимо прочитать следующие статьи для безопасного переноса кошелька с одного компьютера на другой.

Вывод

Неисправное оборудование более подвержено риску. Также помните, что не нужно выполнять никаких ресурсоемких процессов, пока сообщение «don’t shutdown your computer until. » не исчезнет и кошелек не будет полностью закрыт.

Если вам надоело использовать Core Wallet, то попробуйте лайт версию Bitcoin кошелька, такую как Electrum.

Подпишись на наш Telegram-канал и не пропускай важные новости из мира криптовалют и блокчейна*

*Ссылка открывается даже, если телеграм заблокирован в вашем регионе

Источник

Оцените статью