Firmware still fails to connect to plugout.net

Firmware still fails to connect to plugout.net

Postby akjepi » Tue Jul 06, 2021 2:13 pm

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 ;-)
akjepi
Donator VIP
Donator VIP
 
Posts: 2
Joined: Sun May 23, 2021 8:02 pm

Re: Connection problem: firmware fails to connect to plugout

Postby Jocko » Tue Jul 06, 2021 4:36 pm

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
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Connection problem: firmware fails to connect to plugout

Postby akjepi » Tue Jul 06, 2021 9:05 pm

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
akjepi
Donator VIP
Donator VIP
 
Posts: 2
Joined: Sun May 23, 2021 8:02 pm

Re: Connection problem: firmware fails to connect to plugout

Postby BigCucaracha » Mon Aug 02, 2021 3:21 pm

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.
BigCucaracha
Donator VIP
Donator VIP
 
Posts: 8
Joined: Tue Jul 09, 2013 10:45 pm

Re: Firmware still fails to connect to plugout.net

Postby Jocko » Mon Aug 02, 2021 3:47 pm

Hi

Did you also update your password on nas side ?
see: https://plugout.net/viewtopic.php?f=7&t=3224#p31789
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Firmware still fails to connect to plugout.net

Postby BigCucaracha » Wed Aug 04, 2021 12:34 am

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.
You do not have the required permissions to view the files attached to this post.
BigCucaracha
Donator VIP
Donator VIP
 
Posts: 8
Joined: Tue Jul 09, 2013 10:45 pm

Re: Firmware still fails to connect to plugout.net

Postby BigCucaracha » Wed Aug 04, 2021 12:48 am

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
You do not have the required permissions to view the files attached to this post.
BigCucaracha
Donator VIP
Donator VIP
 
Posts: 8
Joined: Tue Jul 09, 2013 10:45 pm

Re: Firmware still fails to connect to plugout.net

Postby Jocko » Wed Aug 04, 2021 10:09 am

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)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Firmware still fails to connect to plugout.net

Postby BigCucaracha » Wed Aug 04, 2021 2:30 pm

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.
You do not have the required permissions to view the files attached to this post.
BigCucaracha
Donator VIP
Donator VIP
 
Posts: 8
Joined: Tue Jul 09, 2013 10:45 pm

Re: Firmware still fails to connect to plugout.net

Postby Jocko » Wed Aug 04, 2021 2:54 pm

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
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Next

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 6 guests