"The redirect uri included is not valid."

Hello,

New Channels user here (trying to replace Plex).
Currently I have Channels installed on my seedbox using these commands:

cd; curl -fs https://getchannels.com/dvr/setup.sh | DOWNLOAD_ONLY=1 sh

mkdir -p $HOME/.config/systemd/user
cat > $HOME/.config/systemd/user/channels-dvr.service << EOF
[Unit]
Description=Channels DVR
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
WorkingDirectory=$HOME/channels-dvr
StandardOutput=append:$HOME/channels-dvr/data/channels-dvr.log
StandardError=inherit
ExecStart=$HOME/channels-dvr/latest/channels-dvr
Restart=always
RestartSec=10
LimitNOFILE=8192
OOMScoreAdjust=-500

[Install]
WantedBy=default.target
EOF
systemctl --user daemon-reload
systemctl --user enable --now channels-dvr

Upon install I can reach the initial setup screen using either of the below links:

IPADDRESS:8089/auth/logout

http://dvr-SERVER.com:8089/auth/logout

But when I click the button to "Set Up New DVR" and proceed to login, I only reach a white screen with an error "The redirect uri included is not valid."

Screenshot below:

It seems to be taking me to this URL (replaced IP for security)

https://community.getchannels.com/oauth/authorize?access_type=offline&client_id=5a1ee61b287980862dce7863438b1e1e22186342f6fc1f95c1e8daa8cec8d5f9&redirect_uri=http%3A%2F%2FIP.IP.IP.IP%3A8089%2Fauth%2Fconfirm&response_type=code

Is there anything I can get this running / authenticated to login?

Many thanks
osk3

1 Like

Use an SSH tunnel:

I tried but just getting this response:

ssh: Could not resolve hostname remote: Name or service not known

Im not an expert at this server stuff so probably doing something wrong - can you give me any further insight?

"user@remote" is just an example, you need to use your actual username and server name

1 Like

Okay makes sense. I ran this:
ssh -L8091:localhost:8089 [email protected]

and got this response:

Warning: Permanently added 'server.com,IP.IPP.IPP.IPP' (ECDSA) to the list of known hosts.

But when I try to visit
http://dvr-server.com:8091
or
46.232.210.220:8091
or
http://localhost:8091

It doesn't load at all!
Any idea what is going wrong?

1 Like

Realised I didn't submit but when I submit now I get:

bind [::1]:8091: Cannot assign requested address

Not sure why this isn't working :frowning:

1 Like

It could be that your seedbox provider is blocking this. If you do get it to work chances are TVE will not work as good if your seedbox is located outside of the US.

Is there not another way instead of SSH tunnel? It just looks like I need to login to authenticate the app but I cannot complete that process.. :frowning:

1 Like

Change 8091 to something else

Thanks, unfortunately the same result again:

bind [::1]:8420: Cannot assign requested address

I don't have sudo on the seedbox - is that why?

Is there another method to authenticate it so I can login?

Also tried restoring from backup but now get this screen.. any help appreciated

EDIT:
OK THINK I GOT IT!

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.