djtech42 / YikYakTerminal

Python implementation of Yik Yak using the pyak API by joseph346. Read, post, upvote, and downvote yaks.
GNU General Public License v2.0
73 stars 37 forks source link

Error: Not connected to the Internet #15

Open NsValleyMan opened 9 years ago

NsValleyMan commented 9 years ago

Have I overlooked some instructions some where? I am receiving the following error message...

User ID: 2EE66332E241C627A2FA64C7E986A3C0

Connecting to Yik Yak server...

Error: Not connected to the Internet

Is this an issue related to the user_id issues? I have tried manually trying some of the ones listed around but still receive this error.

Any Ideas?

Cheers

ghost commented 9 years ago

I had this issue too, I incremented the last version number in the useragent variable in API.py (line 190) to read: "Yik Yak/2.1.0.23 CFNetwork/711.1.12 Darwin/14.0.1" and it worked for me.
I've submitted a pull request: https://github.com/djtech42/YikYakTerminal/pull/16

NsValleyMan commented 9 years ago

Brilliant!!! Simply brilliant. thank you. This worked instantly.

NsValleyMan commented 9 years ago

Looks like I have some posting issue now, reading through the issues about that now. But the fix from unsover definitely fixed my connection issue

djtech42 commented 9 years ago

It's still not connecting with the new user agent for me.

NsValleyMan commented 9 years ago

I can connect, and receive Yaks now after the user agent fix and the modification I made to encode to uff and strip. Program was crashing on a uff-8 char.

I cannot however Post. Everything else seems to work. Great project I must say.

djtech42 commented 9 years ago

The posting isn't working because the user ID generation needs to be updated to their new format. Have you tried using one of the user IDs in the validIDs text file included with the project?

I'm still unable to connect with both the user agent fix and the utf-fix. I wonder if Yik Yak banned me specifically? I've tried using different user IDs, but it won't connect with any of them.

calebsevern commented 9 years ago

Working fine last night;, can't connect regardless of what I do now though.

djtech42 commented 9 years ago

They changed the key today at noon. I just changed the user agent and the key to the new Android key, so try connecting again. It fixed it for me. Some of the functions aren't working for me now and are saying to update the app (which means the authorization is incorrect), but I am able to connect again.

chadius-maximus commented 9 years ago

Still doesn't work for me, even after changes in API.py

djtech42 commented 9 years ago

Try reverting to the commit right before the last one and connecting. That one doesn't work for me, but it might work for you since it worked for a couple other people.

chadius-maximus commented 9 years ago

If you are talking about the fix another user made with adding 0.0.1, then it doesn't work either. I guess I will just play with it some more and report if I figure out a fix

ghost commented 9 years ago

Odd, I'm still able to connect, although my IP is rotating pretty consistently (Natt'd network). I am indeed experiencing the same problems as @NsValleyMan, unable to post.

lay295 commented 9 years ago

Whoops... I was messing around a lot with the old ID's and guess I got them all banned. Here's some more ID's that are not banned and I won't touch them this time (I was mass upvoting with the old ID's, yeah I know not the best idea)

http://pastebin.com/qGqsBqZw

Edit: Nevermind, still can't post with those ID's either, not sure

deveyNull commented 9 years ago

So I have been using that list for a while for upvoting and not had any problems, do an implementation like I have here to hide that you're using a tool. Pretty much just randomize time between votes, makes it impossible for server to catch on.

for name in listOfNames: while upcounter < numberUps: upcounter += 1

time.sleep(random.uniform(5, 60)) remoteyakker.id = name upvoted = remoteyakker.upvote_yak(currentlist[voteYakNum-1].message_id)

On Sat, Feb 21, 2015 at 8:35 PM, lay295 notifications@github.com wrote:

Whoops... I was messing around a lot with the old ID's and guess I got them all banned. Here's some more ID's that are not banned and I won't touch them this time (I was mass upvoting with the old ID's, yeah I know not the best idea)

http://pastebin.com/qGqsBqZw

— Reply to this email directly or view it on GitHub https://github.com/djtech42/YikYakTerminal/issues/15#issuecomment-75419316 .

Very Respectfully, Dennis M. Devey MIDN USN