Denied access on 2021.1.0

Discuss the Indigo Reflector service here. Indigo Reflectors allow Indigo Touch and other clients to securely connect back to your Indigo server from anywhere on the net, all without any router configuration. They are included in your Up-to-Date subscription.
davinci

Denied access on 2021.1.0

Post by davinci »

I get this message:

Code: Select all

   Web Server                      access denied "http://indigodomo.net:PORT/variables/UpdateIndigo.json" from username @ 127.0.0.1
This is requested by a WebApp from me. Worked before.

Edit: Using M1.
Last edited by davinci on Sat Jun 19, 2021 3:01 am, edited 1 time in total.
howartp
Posts: 4559
Joined: Thu Jan 09, 2014 4:43 pm
Location: West Yorkshire, UK

Re: Denied access on 2021.1.0

Post by howartp »

Have you removed your reflector name from that URL? Otherwise it’s wrong?


Sent from my iPhone using Tapatalk Pro
davinci

Re: Denied access on 2021.1.0

Post by davinci »

No, I just replaced the port and username.

In the settings it shows as active with the correct url.
User avatar
jay (support)
Site Admin
Posts: 18351
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Denied access on 2021.1.0

Post by jay (support) »

davinci wrote:This is requested by a WebApp from me.
Can you explain more what this means? Can you hit your reflector directly in a web browser?
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
User avatar
matt (support)
Site Admin
Posts: 21453
Joined: Mon Jan 27, 2003 1:17 pm
Location: Texas
Contact:

Re: Denied access on 2021.1.0

Post by matt (support) »

Also, what type of authentication does your WebApp expect: HTTP Digest or Basic? If the latter, did you enable the option in the Start Local Server dialog for HTTP Basic authentication? If it uses Digest then try turning off Basic authentication in the settings if it is enabled.
Image
davinci

Re: Denied access on 2021.1.0

Post by davinci »

I am using Apache Cordova - not a native WebApp, sorry.

Code: Select all

var header = cordova.plugin.http.getBasicAuthHeader(user, password);
I enabled the option for now (which is less secure). What is the recommended way though?
What are the risks of BasicAuth?
User avatar
jay (support)
Site Admin
Posts: 18351
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Denied access on 2021.1.0

Post by jay (support) »

HTTP Basic auth sends the username/password in the clear. If you're using HTTPS then it's somewhat secure. HTTP Digest doesn't send the username/password, so it's more secure.

If you can set headers before sending the request, I'd highly recommend using an API Key in the Authorization header instead. That way you can revoke the key if it becomes compromised as opposed to changing the password in all the places where you might use them.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
Post Reply

Return to “Indigo Reflectors (remote access)”