yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

Error after registration.

Open lucifer-ops opened this issue 4 years ago • 10 comments

I have created an internal application and used yowsup library. Created an instance in AWS and tried registering with the number, i could able to login but after that when i echo client it stays blank no response.

{"status":"ok","login":"5551985241XX","type":"existing","edge_routing_info":"CAUICA==","chat_dns_domain":"fb","security_code_set":false}

{ "version": 1, "cc": "1", "client_static_keypair": "2DRkPqunHNFErVD3LXBVsiQcFckbimobp9PfuJS10Gt1P13Gqp84odT5OpDHJiRdcy3dz1VpKI9j4CTCkJkceA==", "expid": "efkB5obiRFivomypgrgbiA==", "fdid": "w61709be-ebe7-497e-a98f-cf8426417064", "id": "JI+RHvFwsBtwvmPyT5y7TqxjnVU=", "login": "91880136****", "mcc": "404", "mnc": "49", "phone": "91880136****", "sim_mcc": "000", "sim_mnc": "000" }

status: ok

Please help.

lucifer-ops avatar Mar 11 '20 07:03 lucifer-ops

Yes it does stuck

GitUpLad avatar Mar 11 '20 08:03 GitUpLad

same here. when trying yowsup-cli, after login (Auth In), got this error: "ValueError: Invalid token 262"

bahtiarp avatar Mar 11 '20 12:03 bahtiarp

I marked yowsup/layers/coder/decoder.py line 35 &b36, works for me. def getTokenDouble(self, n, n2): pos = n2 + n * 256 token = self.tokenDictionary.getToken(pos, True) #if not token: # raise ValueError("Invalid token %s" % pos)

bahtiarp avatar Mar 11 '20 15:03 bahtiarp

I marked yowsup/layers/coder/decoder.py line 35 &b36, works for me. def getTokenDouble(self, n, n2): pos = n2 + n * 256 token = self.tokenDictionary.getToken(pos, True) #if not token:

raise ValueError("Invalid token %s" % pos)

Error at my end remains the same. It load's prekeys and displays nothing after that....

GitUpLad avatar Mar 11 '20 17:03 GitUpLad

It doesn't throw any error like yours, at my end it displays nothing.

GitUpLad avatar Mar 11 '20 17:03 GitUpLad

I ended up banning my number. I tried cron jobs to run periodically at a random time but still some how the number got banned.

lucifer-ops avatar Mar 11 '20 17:03 lucifer-ops

I ended up banning my number. I tried cron jobs to run periodically at a random time but still some how the number got banned.

But now after registration it stays blank no response.

lucifer-ops avatar Mar 11 '20 17:03 lucifer-ops

I ended up banning my number. I tried cron jobs to run periodically at a random time but still some how the number got banned.

But now after registration it stays blank no response.

can anyone help?

GitUpLad avatar Mar 11 '20 17:03 GitUpLad

same issue

channel-maker avatar Mar 11 '20 18:03 channel-maker

did you get the solution?

GitUpLad avatar Mar 30 '20 00:03 GitUpLad