Coder Social home page Coder Social logo

Something wrong about dyndns-autologin HOT 14 CLOSED

kopf avatar kopf commented on August 30, 2024
Something wrong

from dyndns-autologin.

Comments (14)

kopf avatar kopf commented on August 30, 2024

This works for me. It's most likely a problem with your username and password credentials in settings.py.

I've updated the script in 1e58ec0 to notify the user in this case, since the error message is too ambiguous.

Can you git pull the latest version and try again?

from dyndns-autologin.

sanchomuzax avatar sanchomuzax commented on August 30, 2024

$ python autologin.py
Didn't find welcome message in response.
Something might be wrong. Log in manually.

(I checked my login/pwd manualy, it's okay, but the script doesn't work.)

from dyndns-autologin.

sanchomuzax avatar sanchomuzax commented on August 30, 2024
$ curl https://account.dyn.com/ | grep username
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0trimValues(frm, ['username']);
checkFieldNotempty(frm.elements['username'], 'Please enter your username.', errors);
<label for='login2_username'>Username</label>
<fieldset><input id='login2_username' name='username'/></fieldset>
100 12622    0 12622    0     0  18639      0 --:--:-- --:--:-- --:--:-- 23548

EDIT: Added preformatting backticks

from dyndns-autologin.

kopf avatar kopf commented on August 30, 2024

Do your username or password have any unicode characters?

If so, settings.py should look like this (notice the u before the '):

USERNAME = u'ünicøde_üßername'
PASSWORD = u'påsswør∂'

from dyndns-autologin.

sanchomuzax avatar sanchomuzax commented on August 30, 2024

I have not unicode characters in my log/pwd but tried with "u", and no changes.

from dyndns-autologin.

kopf avatar kopf commented on August 30, 2024

When you go to http://account.dyn.com yourself in a browser, and login, what language is the page in?

I'm guessing that the problem is that the script doesn't find Welcome <yourusername>, as the page text isn't in English.

from dyndns-autologin.

sanchomuzax avatar sanchomuzax commented on August 30, 2024

English, but hasn't "Welcome" content on the page.
See the curl https://account.dyn.com content:
http://notepad.cc/share/6kYCOKM1MF
...and after I logged in then I see English menus also, and no "Welcome" message, only "Hi {username}".

from dyndns-autologin.

kopf avatar kopf commented on August 30, 2024

There isn't any "Welcome" message in http://notepad.cc/share/6kYCOKM1MF as you haven't yet logged in. This is simply the first login page. Upon logging in, there should be a "Welcome" message.

Can you pastebin the page you are redirected to once you've logged in? Having tried it manually in my browser, I don't see a "Hi {username}" message, but a "Welcome {username}" message, as expected.

from dyndns-autologin.

sanchomuzax avatar sanchomuzax commented on August 30, 2024

There is the code of the logged page: http://notepad.cc/share/dhzL0OkhfM
(I replaced my username to "{my deleted username}".)

from dyndns-autologin.

kopf avatar kopf commented on August 30, 2024

Hm, very weird altogether. I found it very difficult to believe at first. They must be doing some sort of A/B testing, in which case you're getting a new version of the page.

I'll write a fix now. Once it's merged, please git pull and give it a try.

Thanks for reporting this!

from dyndns-autologin.

sanchomuzax avatar sanchomuzax commented on August 30, 2024

Logged in successfully. Thank you! :)

from dyndns-autologin.

krkeegan avatar krkeegan commented on August 30, 2024

This is really odd. The page is otherwise identical except for the change in salutation. I tried changing the Time Zone of my account to see if it was something like UK versus US english, but I can't reproduce it. I suppose A/B testing is possible, but it certainly seems odd.

from dyndns-autologin.

kopf avatar kopf commented on August 30, 2024

Hi sanchomuzax,

just writing here to let you know I've created a free DynDNS alternative, now that they've completely shut down their free service.

You can sign up at https://zzzz.io .

Enjoy.

from dyndns-autologin.

sanchomuzax avatar sanchomuzax commented on August 30, 2024

Tnx a lot! :) I shared it to my friends on Google+. But I have paid acc on DynDNS. :)

from dyndns-autologin.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.