OpenSprinkler › Forums › OpenSprinkler Unified Firmware › https login
- This topic has 59 replies, 3 voices, and was last updated 9 years, 4 months ago by Samer.
-
AuthorPosts
-
March 28, 2015 at 12:09 pm #36347
SamerKeymasterThe white screen was caused by an incorrect URL. The correct beta UI URL is: https://betaui.opensprinkler.com/js.
Furthermore, this issue was resolved without the need for using the beta. The underlying issue was FireFox complaining of a weak self-signed certificate. The secondary issue was the Javascript URL used by OpenSprinkler was non-secure by default and caused an issue when the primary site being accessed is using SSL.
Thanks
March 29, 2015 at 8:51 am #36360
aruzsiParticipantCan you help me again?
I changed the ssl.pem file (I want different cert for different name based virtual servers) in my lighttpd and I can’t “login” as yesterday. Browser: Firefox.
The Script URL went back to: https://ui.openspinkler.com/js. I don’t know why.
March 29, 2015 at 10:09 am #36363
aruzsiParticipantI changed the Script URL to https://betaui.openspinkler.com/js and after login and Loading I got: 500 Internal server error.
I created a new cert with RSA 2048 bit and SHA-256. Is that the problem?
March 29, 2015 at 10:32 am #36364
aruzsiParticipantI think the problem is the Firefox. Chrome is working. Opera is like Firefox. 🙁
March 29, 2015 at 11:13 am #36366
SamerKeymasterRight, those are the same symptoms as yesterday. Like we discussed, it is your SSL certificate that is using a weaker SHA-1 algorithm causing FireFox and Opera to reject the certificate. If you say your using SHA-256 now, then you should post any error messages you are getting from FireFox console here.
Also, you don’t need to use betaui as the issue is unrelated. Therefore, you can continue using: https://ui.opensprinkler.com/js.
Thanks
March 29, 2015 at 11:16 am #36367
aruzsiParticipantAs I mentioned I recreate my certs with RAS:2408 bit and SHA-256.
March 29, 2015 at 11:17 am #36368
SamerKeymasterAs I said in my previous message, paste your error here please.
Please do try to provide as much information otherwise this thread can grow to 100 pages without any resolution.
March 29, 2015 at 11:21 am #36369
aruzsiParticipantSomething happened with the hardware because I got 500 Internal server error in Chrome, too and no ping answer. 🙁
March 29, 2015 at 11:23 am #36370
SamerKeymasterInternal error 500 means your Proxy is failing because OpenSprinkler will not return a 500 error code.
March 29, 2015 at 11:27 am #36371
aruzsiParticipantl can’t reach the spinkler from internal address.
Ű
ŰMarch 29, 2015 at 11:28 am #36372
SamerKeymasterAgain, can you please provide details? What is the error? etc.
March 29, 2015 at 11:53 am #36377
RayKeymasterWhat does this mean:
Ű
Ű
is this what your browser returns, or what’s displayed on the LCD screen, or something else? Can you go to OpenSprinkler, click a button, like B1, and see if the LCD responds with the IP address?March 29, 2015 at 12:19 pm #36378
aruzsiParticipantI don’t know what was the problem.
On the LCD above the field strength simbol there was an X signal.
I power down and up the spinkler and the X disappeared.
Something happened with the network because the lost packets are high.
March 29, 2015 at 12:41 pm #36379
aruzsiParticipantI can see the IP address if I push the B1 button.
I don’t know what does it mean an arrow in the last character in the 2nd line. Sometime it appears for some seconds.
March 29, 2015 at 1:10 pm #36380
aruzsiParticipantHere it is the output from the Firefox console:
A vegyes aktív „http://locsolo.info.tm/jp?pw=*REMOVED*” tartalom betöltése blokkolva[További információ] app.jgz:8:0
It was repeated 5 times.
March 29, 2015 at 1:19 pm #36382
SamerKeymasterThis error means you didn’t mark SSL on the site manager page for the device.
March 29, 2015 at 1:21 pm #36383
aruzsiParticipantThe /su?
March 29, 2015 at 1:25 pm #36384
aruzsiParticipantI changed to https://betaui.openspinkler.com/js and it is working.
April 23, 2015 at 1:08 pm #37041
aruzsiParticipantHi,
Can you help me again as some weeks ago?
Little bit different behaviour between Firefox and Chrome.
My HTTPS front-end doesn’t work correctly.
I don’t know the correct setup for internal (it is clear), external with port forwarding (not secure!) and external with SSL front-end.
WEB vs. app.
I don’t want to connect my sprinkler system from the Net without SSL. So I don’t understand many things.
Can you help me?
TIA,
April 23, 2015 at 1:10 pm #37042
SamerKeymasterOpenSprinkler does not support SSL out of the box however the app supports SSL and Basic Auth if you use a reverse proxy. We don’t have an official guide as the setup can be quite variable based on the setup at home.
Basically, if you want to securely open access to OpenSprinkler: you need to have a web server installed such as Apache and proxy pass the path to the OpenSprinkler from there.
April 23, 2015 at 1:14 pm #37043
aruzsiParticipantOK.
What do I have to config if I want to use the SSL option in app?
I have got a router with lighttpd as proxy. Doesn’t work perfectly. I don’t know why. For example the weather diagnostic always complains about time out.
There are many Network failure but from the internal connection everything is working. So I don’t understand.
TIA,
April 23, 2015 at 1:16 pm #37044
aruzsiParticipantIf you give me an e-mail I can send you my setup (lighttpd.conf, etc.)
TIA,
April 23, 2015 at 1:17 pm #37045
SamerKeymasterThe Weather Diagnostic popup does not talk to OpenSprinkler but rather polls Weather Underground. Therefore, this is an unrelated issue and suggests something else entirely.
Which app are you using?
This is considered an advanced topic and not something we have a guide for and is left for the user who is capable of performing such a task. Don’t get me wrong, I don’t think this is ideal and we are working on a solution to avoid port forwarding and having to use SSL proxies to ensure security.
Also, I have never used lighthttp so sending me the config really won’t help much.
April 23, 2015 at 1:33 pm #37046
aruzsiParticipantOK.
Android app. No info what the app do if my “sprinkler page” (SSL frontend) is want HTTPS and different port.
I use name based virtual hosts for proxy.
I thought the secured connection is a must. I tried to help you test it. I don’t know your js or app how works. Of course I can watch it as a black box and I can use tcpdump to check the protocols both of the two side of the router.
I know you don’t have too much time.
Anyway, do you interested in this type of setup (SSL frontend with proxy)?
TIA,
April 23, 2015 at 1:35 pm #37047
SamerKeymasterSorry I don’t quite understand however I will say I use this every single day. My personal setup uses Apache proxy and it works even better than directly accessing the controller remotely since Apache is a much more capable web server than the Arduino based server.
So yes, this works fine on my setup. I recommended making a new site instead of changing a current one to use SSL, if you are using the app.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › OpenSprinkler Unified Firmware › https login