Web server basic authentication

Related to the development libraries, released by Curt Binder

Posts: 12288
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sun Dec 28, 2014 3:46 pm
Actually he mentioned that he doesn't want to store auth passwords in his end.
We do have an issue open for read only anonymous access:
https://github.com/reefangel/Libraries/issues/197
Should be coming on the next release.
Roberto.
User avatar
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL
PostPosted: Sun Dec 28, 2014 4:50 pm
OK.
User avatar
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL
PostPosted: Sun Dec 28, 2014 4:50 pm
OK.

Posts: 12288
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Tue Dec 30, 2014 10:48 am
Can you try the latest dev branch?
I included the anonymous access for command /sa
Roberto.
User avatar
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL
PostPosted: Tue Dec 30, 2014 12:35 pm
Just tried it and the Portal is giving me an Unreachable Address and Reeftronics is "Due to communication error, real-time status information is unavailable".

The dev code I got from here https://github.com/reefangel/Libraries/tree/dev.

https://github.com/reefangel/Libraries/archive/dev.zip
User avatar
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL
PostPosted: Tue Dec 30, 2014 12:55 pm
Wait. Something else is going on. I switched back to the released code and the Portal is still showing Unreachable Address, but the Andriod App is working fine.

I need to look into this a bit more.
User avatar
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL
PostPosted: Tue Dec 30, 2014 2:13 pm
Using the released code the portal works fine if I comment out the authentication in my code and remove it from my profile.

If I add it back in it connects and reads ready.

If I switch to the dev code with my authentication info in the profile I get Unreachable Address on the portal.

Posts: 53
Joined: Tue Jul 23, 2013 5:56 pm
PostPosted: Tue Dec 30, 2014 7:44 pm
Trying to follow along as had to update my IP address and the IOS App is working fine after the address change but when I updated the Portal IP address I get "unreachable address". If I click on the IP address above the status a new tab opens up with "Reef Angel Controller Web Server". Not sure what is going on...

Posts: 12288
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Wed Dec 31, 2014 4:27 pm
I think it is fixed this time.
Can you try the updated dev branch?
If this works, we probably need to contact reeftronics to tell them the anonymous page is /sa and not /r99 anymore
Roberto.
User avatar
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL
PostPosted: Wed Dec 31, 2014 5:40 pm
I'll try it tomorrow.
I'm at a New Years Eve block party.

Happy New Years. :)
PreviousNext

Return to Development Libraries

Who is online

Users browsing this forum: No registered users and 1 guest