[Plugin] ControlR


Recommended Posts

  • 1 month later...
On 4/2/2022 at 4:34 PM, jbrodriguez said:

the app does an mdns/avahi lookup in the discover tab, the ip you see there is what it gets back ?

 

can you add the server as http instead of https ?

Unfortunately, I'm still having this issue.

 

I saw that the ControlR plugin on the server has been updated recently, as has the app, so I decided to try connecting again. I'm still getting no response from the app when attempting to connect via either Discover or Manual.

 

I've realized that my always-on VPN (on the phone), which is supposed to pass connections to the local network unfiltered, has been sticking its nose into local connections, too. I've disabled my VPN connection, and I can pull up the WebGUI in my Firefox browser on the phone by connecting to nas.local.

 

The ControlR app can find the server in Discover mode. However, with the VPN still disconnected, attempting to actually connect (with the proper UID/PWD - copied from KeePass, just like I used to log into the browser GUI) just gives me a forever spinning circle. I don't get any error messages back now, it just spins.

 

Where do I go to get a QR code to attempt to connect via QR code in the app? I seem to recall having seen a QR code somewhere in the WebGUI, but can't find it now, is that the one I need?

Link to comment
1 hour ago, FreeMan said:

Where do I go to get a QR code to attempt to connect via QR code in the app? I seem to recall having seen a QR code somewhere in the WebGUI, but can't find it now, is that the one I need?

go to plugins, then click on the ControlR plugin, should open the plugin page with the qrcode

 

your server has ssl enabled ? 

 

when you connect manually, can you try http instead of https? ip address instead of hostname ?

Link to comment
7 hours ago, jbrodriguez said:

go to plugins, then click on the ControlR plugin, should open the plugin page with the qrcode

No QR code:

image.thumb.png.c71a86c73a0f3aef0730e959eee5dfb0.png

 

7 hours ago, jbrodriguez said:

your server has ssl enabled ? 

Oh. My. Gosh.

 

For the longest time, I did not have SSL enabled. I enabled it a while back and had completely forgotten I'd done so. When I tried to connect manually, I was using HTTP and port 80. I just used HTTPS and port 443 and it connected.

 

Wow...

  • Haha 1
Link to comment
20 minutes ago, jbrodriguez said:

you need to click on the `Open Web UI (v3.0.0) green link to get to the plugin page, since it's not a php plugin, the ui presentation is different

That link doesn’t work for me. I get “could not connect to server” error when trying to open the link from my local network.

Link to comment
50 minutes ago, jbrodriguez said:

you need to click on the `Open Web UI (v3.0.0) green link to get to the plugin page, since it's not a php plugin, the ui presentation is different

28 minutes ago, wgstarks said:

That link doesn’t work for me. I get “could not connect to server” error when trying to open the link from my local network.

Same here.

 

The settings defined port is 2378, but the green link takes me to 2379. Don't know if that's the issue...

Link to comment
8 minutes ago, FreeMan said:

Same here.

 

The settings defined port is 2378, but the green link takes me to 2379. Don't know if that's the issue...

 

After a quick test, yes, this is the issue.

 

By default, the link takes me to https://nas.local:2379

 

I edited that to https://nas.local:2378 and got:

Secure Connection Failed

An error occurred during a connection to nas.local:2378. SSL received a record that exceeded the maximum permissible length.

Error code: SSL_ERROR_RX_RECORD_TOO_LONG

 

I changed that to http://nas.local:2378 and got a Firefox warning about there not being an HTTPS site available. After telling it to continue to the "unsafe" HTTP site, I got a QR code that is so large, it barely fits on my 24" 1920x1080 monitor. Might be helpful to scale the QR code down a bit. ;)

Link to comment
1 hour ago, wgstarks said:

That link doesn’t work for me. I get “could not connect to server” error when trying to open the link from my local network.

 

Here is the full error that I get in Safari regardless wether I use port 2378 or 2379-

552800709_Screenshot2022-12-29at9_09_10AM.thumb.png.04eb97cf9f7cd4f962aaa7b0d12e9556.png

 

If I repeat the test that @FreeMan used I get the same results he did.

Using port 2379 in Firefox-

982376559_Screenshot2022-12-29at9_10_55AM.thumb.png.80f720f482907b8bab62c98315aa9642.png

 

Using port 2378 in Firefox-

1943177911_Screenshot2022-12-29at9_11_37AM.thumb.png.56fc294acebeb1e7ba65a33c8cf7cb6c.png

 

And when switching to http in Firefox-

1437199859_Screenshot2022-12-29at9_17_30AM.thumb.png.1f19874bf72afcf609f61e017d7e10bd.png

Link to comment
4 hours ago, jbrodriguez said:

@FreeMan @wgstarksthanks for pointing this out !

 

there must be some issue with how the plugin is handling ssl enabled servers

 

i think i eventually will just show an iframe on the Unraid page (not sure if possible), in any case, i'll try to replicate this issue

I'm just so happy to be able to use this again! It's been "broken" for quite a while, and I'm 99.9999999% sure it happened when I switched the server from HTTP to HTTPS without thinking through the consequences.

 

At this point, I'm not super concerned about the configuration bit again, but getting that sorted will be helpful in the long run for everyone.

Link to comment

ControlR Plugin v2022.12.30 (v4.0.0) is out !

- Show qrcode on plugin page

- Remove ui so we don't need to bundle it anymore

 

i decided to just show the qrcode on the plugin unraid page (refresh the page if the qrcode is cut off)

 

@FreeMan @wgstarks this should fix the issues you were having, thanks for reporting them !

Edited by jbrodriguez
Link to comment
20 hours ago, jbrodriguez said:

ControlR Plugin v2022.12.30 (v4.0.0) is out !

- Show qrcode on plugin page

- Remove ui so we don't need to bundle it anymore

 

i decided to just show the qrcode on the plugin unraid page (refresh the page if the qrcode is cut off)

 

@FreeMan @wgstarks this should fix the issues you were having, thanks for reporting them !

Very nice!

 

Thanks for the quick update.

Link to comment
  • 2 weeks later...
  • 1 month later...
On 3/3/2023 at 10:11 AM, gacpac said:

I keep having problems with the app using Pixel 6 Pro. Other phones work so I presume is only for Google on latest Android version?

it should generally work on earlier versions of android.

have you changed ssl config lately ?

some firewall/router config change ?

Link to comment
On 3/11/2023 at 2:13 PM, jbrodriguez said:

hi, can you try to add it manually ? please make sure to validate whether you have ssl setting on or off

Just bought the app - which looks nice :D

I am running into the exact same problem as shown here above. 

 

App Version : 5.2.1

ControlR v4.0.0

IOS 16.3.1


Tried to connect manually both via http on port 80 and via https on port 443 - neither works apparently. It just keeps trying forever in the app and nothing happens.

My understanding is that the app should work without the plugin as well?

I use a regular IPhone 13 pro, and connect just fine with both safari browser and google chrome ( which is my default browser).
 

 

Link to comment
35 minutes ago, Knuspar said:

Just bought the app - which looks nice :D

I am running into the exact same problem as shown here above. 

 

App Version : 5.2.1

ControlR v4.0.0

IOS 16.3.1


Tried to connect manually both via http on port 80 and via https on port 443 - neither works apparently. It just keeps trying forever in the app and nothing happens.

My understanding is that the app should work without the plugin as well?

I use a regular IPhone 13 pro, and connect just fine with both safari browser and google chrome ( which is my default browser).
 

 

mmm that's odd, i can connect to my main server (Unraid 6.11.5) and a test server (Unraid 6.12.x)

what Unraid version are you running ?

is the error the same as above "Unable to fetch /Main" ?

Link to comment
39 minutes ago, jbrodriguez said:

mmm that's odd, i can connect to my main server (Unraid 6.11.5) and a test server (Unraid 6.12.x)

what Unraid version are you running ?

is the error the same as above "Unable to fetch /Main" ?

Never got the "Unable to fetch" when trying manually.
I uninstalled the plugin, and tried on my Ipad - and that worked with manual add on https.
Then i just tried on my IPhone with the same settings and now that works ... 

going to install the plugin again and see what happens.. im wonderting a bit what happend, perhaps the VPN from my phone was messed up ( itried both via wifi from LAN and via 5G thrugh VPN to my LAN (Teleport on a Ubiquity Pro). Ill keep you posted if anything is odd - otherwise assume it works ;)

  • Thanks 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.