loblab / noip-renew

Auto renew (confirm) noip.com free hosts
Apache License 2.0
435 stars 138 forks source link

ISSUE -- 'utf-8' codec can't decode byte 0xe9 in position 1 ISSUE #62

Open thangvc91 opened 3 years ago

thangvc91 commented 3 years ago

hello Bros, I got the issue after i ran as below ? Could you please assist the issue related 'utf-8' . Any assist will be very well appreciated.

./noip-renew.py xxxxxxxxx djfjkgsbsfb (xxxxx : my noip account ; djfjkgsbsfb : my password) [2021/03/06 16:32:18] - Debug level: 1 [2021/03/06 16:32:18] - Opening https://www.noip.com/login... [2021/03/06 16:32:24] - Logging in... [2021/03/06 16:32:25] - 'utf-8' codec can't decode byte 0xe9 in position 1: invalid continuation byte PS: Python version : 3.6 , I did it with my Raspberry Pi 3B.

dr-boss commented 3 years ago

I have the same error from yesterday but witch 0xaa. 'utf-8' codec can't decode byte 0xaa in position 1: invalid start byte

michaeleekk commented 3 years ago

@dr-boss @thangvc91 You need to encode the password in base64 first. You could update the crontab with crontab -e and replace your password with a base64 string of your password. You could get your base64 string with echo djfjkgsbsfb | base64

This is actually a duplicated of #61.

thangvc91 commented 3 years ago

@dr-boss @thangvc91 You need to encode the password in base64 first. You could update the crontab with crontab -e and replace your password with a base64 string of your password. You could get your base64 string with echo djfjkgsbsfb | base64

This is actually a duplicated of #61.

hi Michale, Thanks for your response, after I encrypt the password with base64 , the script could work well , but is show the statement as below , can you please help assist ?

image as you can see , I have had already 3 hosts owned by my account, but as far as the info said "no host, no record found in my account ". So wondering if it could update correctly ? or sth wrong with my config ?

image

michaeleekk commented 3 years ago

@thangvc91 I think the script produced 3 images, debug1.png, debug2.png and exception.png. Could you have a look of those files ? Sometimes if there are popped up boxes, you need to first login manually and try to solve the pop up box so it won't pop up again. And also, it's written in the todo list in the readme, sometimes there will be unsolvable popup box that, unfortunately, will require to manually renew the domain names instead of using the scripts. But I guess it just happen sometimes, so having the script running in crontab it's still nicer.

thangvc91 commented 3 years ago

thanks Bro :) have a nice weekend.