Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PTF cannot connect to Binance #137

Closed
BigAl013 opened this issue Feb 9, 2018 · 40 comments
Closed

PTF cannot connect to Binance #137

BigAl013 opened this issue Feb 9, 2018 · 40 comments

Comments

@BigAl013
Copy link

BigAl013 commented Feb 9, 2018

www.binance.com does not work anymore, it is now either us.binance.com or kr.binance.com. Does this affect the bot feeder?

@chrisviss3000
Copy link

I can't connect either. I've tried a few different versions of Feeder, they all have the same problem. Profit Trailer on the other hand connects just fine.

@ghost
Copy link

ghost commented Feb 9, 2018

I have the same issue to. Including the ip addresses of us.binance.com or kr.binance.com under binance.com in the hosts file has no effect.

@Sizzles09
Copy link

Having a similar problem with Binance. There are no references to binance.com vs. us.binance.com within our PTF config files, so I doubt thats the issue. Someone mentioned Binance is having DNS issues, might be something on their end...?

I am receiving a
"System.AggregateException: One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (Could not connect to Binance. Has your firewall not got an exception for PT Feeder? Is binance down? Error: A task was canceled.))) --->"

@BigAl013
Copy link
Author

BigAl013 commented Feb 9, 2018

i also tried the hosts file trick with no luck

@tes724
Copy link

tes724 commented Feb 9, 2018

any fix?

@brucewonder
Copy link

im having the same problem as everyone else on here. Using a Macbook if that helps

@stealsomefish
Copy link

https://us.binance.com/

this site is up

@tes724
Copy link

tes724 commented Feb 9, 2018

Got it!
Added this to my hoste file "13.32.145.40 www.binance.com"

Now its connecting

@muratssu
Copy link

muratssu commented Feb 9, 2018

tes724:

Where did you add it in hostfile? Difficult to understand your answer

@ghost
Copy link

ghost commented Feb 9, 2018

In Linux OS the hosts file is in "/etc".
In Windows its in "C:\windows\system32\drivers\etc\hosts".

@tes724
Copy link

tes724 commented Feb 9, 2018

# This is the path:

C:\Windows\System32\drivers\etc

Like this - added the last line:

Copyright (c) 1993-2009 Microsoft Corp.

This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

This file contains the mappings of IP addresses to host names. Each
entry should be kept on an individual line. The IP address should
be placed in the first column followed by the corresponding host name.
The IP address and the host name should be separated by at least one
space.

Additionally, comments (such as these) may be inserted on individual
lines or following the machine name denoted by a '#' symbol.

For example:

  102.54.94.97     rhino.acme.com          # source server
   38.25.63.10     x.acme.com              # x client host

localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
::1 localhost
13.32.145.40 www.binance.com

@ghost
Copy link

ghost commented Feb 9, 2018

tes724, how did you find out the ip address?

@tes724
Copy link

tes724 commented Feb 9, 2018

got it from Discord "PT Feeder Official"

@muratssu
Copy link

muratssu commented Feb 9, 2018

You are really great !
Thanks for the info ..

@ghost
Copy link

ghost commented Feb 9, 2018

Also thanks for the information....

@mkfan
Copy link

mkfan commented Feb 9, 2018

13.32.145.40 www.binance.com added and still nothing
Anybody?

@smoochy
Copy link

smoochy commented Feb 9, 2018

Try

54.192.27.29 www.binance.com

@mkfan
Copy link

mkfan commented Feb 9, 2018

doesn't work :/

@Sizzles09
Copy link

Sizzles09 commented Feb 9, 2018

Thank you @tes724 @Michael3001

Beginner Guide to editing hosts file: https://support.rackspace.com/how-to/modify-your-hosts-file/

@mkfan , try opening with notepad++, ensure there is no "#" at the beg of your new line.

image

edit: Also restart your computer after you save as administator.

@edgelive77
Copy link

Hey I had a question about this too. I have no idea where to put this info. Sorry I’m literally brand new and not good at all of this....

@mkfan
Copy link

mkfan commented Feb 9, 2018

did I miss something?
hosts

@edgelive77
Copy link

I’ve tried using that guide link but I still can’t find the file to modify 🙈

@edgelive77
Copy link

@mkfan I can’t even get to that screen...

@brucewonder
Copy link

Mm lost on this also, Im using a macbook. any info how and where to input is greatly appreciated.

@Sizzles09
Copy link

@mkfan looks identical to my host file. Mine didn't work on the first time either. Took a computer restart and re-edit of the host file before PTF opened correctly.

@edgelive77 @brucewonder
https://support.rackspace.com/how-to/modify-your-hosts-file/

@edgelive77
Copy link

My question is how to get there

@edgelive77
Copy link

I went into notepad and notepad++ as an admin and then do I type that info in and hit enter or search or what I’m sorry I’m a noob

@Sizzles09
Copy link

Sizzles09 commented Feb 9, 2018

image

then navigate to : C:\Windows**\System32\Drivers\etc\hosts**

@edgelive77
Copy link

Ok it finally worked so then just restart??

@BigAl013
Copy link
Author

BigAl013 commented Feb 9, 2018

It is working after editing the hosts file. Although the feeder does give me a WRN saying it cannot calculate long term price trend for each of the pairs. I believe this is because my long term trend is set to 1440 minutes (24 hours) and Binance has not been back up for 24 hours yet.

@Yoda2019
Copy link

Yoda2019 commented Feb 9, 2018

In Windows, use tabs to separate the IP address and the host name and it will work. (line up the columns) Use tabs, not spaces.

Tom

@brucewonder
Copy link

anyone have any info how to do this on a Mac???

@DrewskyJ
Copy link

Does anyone know how to do this with a MAC?

@hesr66
Copy link

hesr66 commented Feb 10, 2018

Thank you @tes724 @Michael3001...follow his instructions.
go to for Windows...C:\windows\system32\drivers\etc\hosts

Go to "OS(C:)"...then "windows"...then "system32"...then "drivers" ...then "etc" ...then "host" open with Notepad++

then...add 13.32.145.40 www.binance.com as the pic below.

![image](https://user-images.githubusercontent.com/36319546/36058171-ebd46460-0de7-11e8-8a16-
cb7d4ce68aef.png)

If it still doesn't work for you send me a message...I'll do everything I can to help you. @hesr66

@mkfan
Copy link

mkfan commented Feb 10, 2018

@hesr66
Instruction is simple but it still doesn't work for me - "Could not connect to Binance..."

@mkfan
Copy link

mkfan commented Feb 10, 2018

www.binance.com is up so no problem any more.

@mashuble
Copy link

Still have the issue

@runner989
Copy link

I added the following to my /etc/hosts yesterday when the problems started and haven't had any issues what-so-ever:
54.192.232.180 www.binance.com
54.192.232.228 www.binance.com
54.192.232.31 www.binance.com
54.192.232.138 www.binance.com
54.192.232.254 www.binance.com
54.192.232.237 www.binance.com
54.192.232.62 www.binance.com
54.192.232.198 www.binance.com
54.192.27.29 www.binance.com

@brucewonder
Copy link

looks like binance is up and running. it works now, just like before without any modifications tot he old files

@mehtadone
Copy link
Owner

Closing this. Watch this issue for an improvement to preventing this again

#134

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

No branches or pull requests