Page 1 of 2

Firmware still fails to connect to plugout.net

PostPosted: Tue Jul 06, 2021 2:13 pm
by akjepi
Thank you for the patch. I discovered another problem with the firmware connecting to plugout.net, which was due to my password containg special characters (like '%'). After changing my password here on the site, it worked perfectly.

BTW, I have now made a donation and hope to be able to access the addons ;-)

Re: Connection problem: firmware fails to connect to plugout

PostPosted: Tue Jul 06, 2021 4:36 pm
by Jocko
Hi

Thank you about your feedback.
However you should be able to use now the char '%' as patch03 includes a fix about it and only the char " ' " is forbidden (and you can not use it in your password on our board).
More detail, here: https://plugout.net/viewtopic.php?f=7&t=3149#p35355

For example if I use a password like this 'xxxx%%xx' I can get a session
Code: Select all
+ /usr/bin/curl -s -c /tmp/cookie.txt -b /tmp/cookie.txt -A 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:49.0)' -X POST -d username='Jocko' -d password='xxxx%%xx' -d login=login -d redirect= http://plugout.net/ucp.php?mode=login
+ [ ! -f /tmp/cookie.txt ]
+ awk /_u/ {id=$7};/_sid/ {sid=$7} END {print "UID="id" SID="sid}
+ cat /tmp/cookie.txt
+ export UID=56 SID=ff59a566e3b9796a96663b301223b25e
+ [ -z ff59a566e3b9796a96663b301223b25e ]
+ [ 56 -eq 1 ]
+ exit 0
So the firmware detects my uid on the board: 56 and the session id

Re: Connection problem: firmware fails to connect to plugout

PostPosted: Tue Jul 06, 2021 9:05 pm
by akjepi
Ok, thanks a lot for checking. I just assumed it was the password since changing it seemed to solve my problem, but maybe that was a coincidence. Anyway it works perfectly now, and I enjoy discovering the various features of your firmware.

All the best

Re: Connection problem: firmware fails to connect to plugout

PostPosted: Mon Aug 02, 2021 3:21 pm
by BigCucaracha
Hello, I applyed this patch but after change my password in plugout.net I received " Fail: Bad plugout account (could not login)" error in NAS firmware when configure new password. I need upgrade SAMBA to SAMBA 4.

Re: Firmware still fails to connect to plugout.net

PostPosted: Mon Aug 02, 2021 3:47 pm
by Jocko
Hi

Did you also update your password on nas side ?
see: https://plugout.net/viewtopic.php?f=7&t=3224#p31789

Re: Firmware still fails to connect to plugout.net

PostPosted: Wed Aug 04, 2021 12:34 am
by BigCucaracha
Jocko wrote:Hi

Did you also update your password on nas side ?
see: https://plugout.net/viewtopic.php?f=7&t=3224#p31789


Yes, there is where I received the error. I changed my password in plugout.net again and still having same issue.

Re: Firmware still fails to connect to plugout.net

PostPosted: Wed Aug 04, 2021 12:48 am
by BigCucaracha
BigCucaracha wrote:
Jocko wrote:Hi

Did you also update your password on nas side ?
see: https://plugout.net/viewtopic.php?f=7&t=3224#p31789


Yes, there is where I received the error. I changed my password in plugout.net again and still having same issue.


Now I reinstalled the patch with spanish modification so, now I get the same error but in spanish ... :snicker

Re: Firmware still fails to connect to plugout.net

PostPosted: Wed Aug 04, 2021 10:09 am
by Jocko
Hi

I made some more additional checks and maybe your issue is the password contains the char "$".

However you may set your plugout account from a shell window with this commandline
Code: Select all
plugout set-login 'yourlogin:yourpwd'
and check if it is ok
Code: Select all
plugout check && echo $?
(should return '0')

But are you sure your nas has an internet access ? because currently I notice no login attempt from it when I check the apache log (no request when you set the new account from the firmware interface which tries to login after entering a new one to valid it)

Re: Firmware still fails to connect to plugout.net

PostPosted: Wed Aug 04, 2021 2:30 pm
by BigCucaracha
Jocko wrote:Hi

I made some more additional checks and maybe your issue is the password contains the char "$".

However you may set your plugout account from a shell window with this commandline
Code: Select all
plugout set-login 'yourlogin:yourpwd'
and check if it is ok
Code: Select all
plugout check && echo $?
(should return '0')

But are you sure your nas has an internet access ? because currently I notice no login attempt from it when I check the apache log (no request when you set the new account from the firmware interface which tries to login after entering a new one to valid it)


Ok It seems to be an internet access issue, I changed my DNS configuration in NAS LAN configuration, I used google DNS adresses (8.8.8.8 and 8.8.4.4) instead of my local router address as DNS and now I can connect to plugout account from NAS !!!

I was finally able to upgrade SAMBA to SAMBA 4 !!!!

I don't know why I still having firmware version in screen upper left corner in "RED", I have last firmware version with last patch.

Re: Firmware still fails to connect to plugout.net

PostPosted: Wed Aug 04, 2021 2:54 pm
by Jocko
Nice it is solved !
BigCucaracha wrote:Ok It seems to be an internet access issue, I changed my DNS configuration in NAS LAN configuration, I used google DNS adresses (8.8.8.8 and 8.8.4.4) instead of my local router address as DNS and now I can connect to plugout account from NAS !!!
if your router allows it maybe there are some rules which block the dns requests from your nas (restrictions based on hostname or IP). For example, some cisco routers have this feature. The firmware uses only standard GET/POST requests on the ports 80/443.
BigCucaracha wrote:I don't know why I still having firmware version in screen upper left corner in "RED", I have last firmware version with last patch.
It is the expected behaviour and is a cosmetic information. It is a quick way to know if you use or not a patched firmware version. So as soon as you installed a patch, firmware version text becomes red in this area