-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Random error: error: [Errno 111] Connection refused #2992
Comments
same issue here |
I forced all WSP hosts to one IP 34.194.255.230 I don't understand why it happens with some servers |
I'm going to test your solution, I imagine that due to the volume of messages to a single server they could block us. Thank you. |
Few messages (40) are sent from a bash every 10 seconds. |
34.192.181.12 Traceback (most recent call last): |
Antonio, can you share a traceroute from your server to the IP 34.193.38.112 ? |
Connectivity problem Three ISP testing (two local and one international) Telnet :443 Connection refused 34.194.255.230 OK! Joel, estás en facebook? |
I will use the addresses updated in June 2019 I tried randomly and I have login https://developers.facebook.com/docs/whatsapp/guides/network-requirements/?locale=es_ES |
Almost 7 days ago there was an update on the routing information for segment 34.192.0.0/12 on Amazon. There the WhatsApp servers are. |
Soo. Sorry, kind of a noob. There's no fix yet, right? |
Select and test other IP addresses. In my case I made a custom list https://developers.facebook.com/docs/whatsapp/guides/network-requirements/?locale=es_ES |
Please help us. What should I do with this list of addresses? |
I share the selected IPs. Sending works pretty fast. Table hosts linux Or modify the hosts on file /yowsup/common/constants.py |
Getting this error on e12 general: Disconnected: Getting connection refused on other domains |
@myckhel you used fixed hosts? |
yes i commented all hosts except e12 from |
It is possible, they should have segmented accesses |
Ntopng Or wireshark sharing adhoc WiFi network |
Anyone can Provide Detailed Solution for this ? |
Should I install again, after changing this file |
enjoy somebody change in yowsup file |
You have to run the install again after changing the file. |
Thank You Sir |
Sir is this the right way to add IP's in Constants.py ? |
Getting this error does i am pasting IP's in the Wrong Way ? I 2020-06-18 05:15:35,310 yowsup.layers.network.layer - Connecting to 65 e10.whatsapp.net:108.168.254 Please help @fanishe and @antoniovalenzuela |
@Johnprogg look at my I just copy/paste this text
I didn't change my |
Hey @fanishe I am Running it in Ubuntu, Btwn does any one knows how to change IP’s in Constants.py correctly? |
Port: 108.168.254 (is 443) you modified the file constants.py? (I don't recommend changing that file, there are the hosts with port 443) If you have problems I can help you with a remote connection. |
Oh shit. I think that's why I wasn't connecting. I'm using the latest version of WhatsApp. Download it from the official site and updated the version and hash. |
for me i solved the connection refused issue by following @fanishe instruction i ran and the connections worked fine. |
There is fourth digit in version so cosonance library can not handle it, It was set 3 version code part. I fixed it with adding fourth part of Version Code on consonance. |
I think the number im using for the demo has been blocked Who else got same problem. |
Try to activate WhatsApp from a phone and send the debug when the block information appears. The debug is received by [email protected] (they respond and enable it) Justify the reasons (changing cell phones for example) |
class YowConstants:
DOMAIN = "s.whatsapp.net"
ENDPOINTS = (
("157.240.28.55", 443),
#("34.194.255.230", 443),
("31.13.66.51", 443),
("31.13.71.50", 443),
("31.13.72.48", 443),
("31.13.79.54", 443),
("31.13.85.49", 443),
("31.13.65.50", 443),
("31.13.87.48", 443),
("108.168.254.65", 443),
("31.13.66.51", 443),
("31.13.70.50", 443),
("31.13.83.51", 443),
("31.13.92.48", 443),
("157.240.28.55", 443),
#("34.194.255.230", 443),
)
WHATSAPP_SERVER = "s.whatsapp.net"
WHATSAPP_GROUP_SERVER = "g.us"
YOWSUP = "yowsup"
PREVIEW_WIDTH = 64
PREVIEW_HEIGHT = 64 I also have updated the env android to the latest version and the |
what about registration? I still have temporarily unavailable |
|
I'm facing the same problem, what file did you modified? |
@fevzican Hey, Which file have your modified to add 4 Digit Version Code? |
Okay guys, I will post an Pull Request for new versions. |
I did it 3 weeks ago: LuKks/consonance@5fa7381 |
Obviously you have to use that repo, replacing like this:
deps = ['consonance', 'argparse', 'python-axolotl==0.2.2', 'six==1.10', 'appdirs', 'protobuf>=3.6.0']
setup(
...,
dependency_links=[
'git+https://github.com/LuKks/consonance.git#egg=consonance-0.1.4'
],
...,
)
Also in the README but it's not strictly need it. If you really need it I can make a pull request. |
I am presenting this error frequently and randomly.
Yowsup Cli client
Type /help for available commands
I 2020-06-15 08:35:08,539 yowsup.layers.network.layer - Connecting to e2.whatsapp.net:443
E 2020-06-15 08:35:08,675 yowsup.layers.network.dispatcher.dispatcher_asyncore - Traceback (most recent call last):
File "/usr/lib/python2.7/asyncore.py", line 83, in read
obj.handle_read_event()
File "/usr/lib/python2.7/asyncore.py", line 446, in handle_read_event
self.handle_connect_event()
File "/usr/lib/python2.7/asyncore.py", line 454, in handle_connect_event
raise socket.error(err, _strerror(err))
error: [Errno 111] Connection refused
general: Disconnected:
offline:
it is happening randomly with all the whatsapp servers eX.whatsapp.net, registered at: /yowsup/common/constants.py
Please, does the same happen to someone?
The text was updated successfully, but these errors were encountered: