News:

LATEST RELEASE:  FPP 8.0 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/8.0

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16528
Latest: fugley
New This Month: 16
New This Week: 1
New Today: 1
Stats
Total Posts: 133168
Total Topics: 16554
Most Online Today: 87
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 5
Guests: 33
Total: 38

Can't proxy connect through xlights to Alpha Pix 4, getting 404 error after pw

Started by paddy2123, December 22, 2023, 07:19:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

paddy2123

I am getting a 404 error when opening Alpha Pix 4 from FPP through proxy. I can ping the Alpha pix from FPP. I can get to the login screen of the Alpha Pix controller through the proxy. When I login I get a 404 and the proxy url is missing. Seems like FPP is not passing the right URL back to the browser?

Steps to get 404 error:
From xlights: Open Alpha Pix 4
Browser opens and shows login screen URL: http://192.168.1.29/proxy/192.168.2.125/
enter default password, click login


URL: http://192.168.1.29/UserLogin
browser:
Not Found
The requested URL was not found on this server.

Apache/2.4.56 (Raspbian) Server at 192.168.1.29 Port 80

FPP: V7.4

JonD

Guessing FPP is IP 192.168.1.29 and Alpha Pix is 192.168.2.125

http://192.168.1.29/proxy/192.168.2.125/  (Missing "/UserLogin" redirect)

http://192.168.1.29/UserLogin (Missing proxy information and does not appear to be creating the link correctly)

I have seen this with other controller models.  I suspect it will need to be fixed by a developer as the proxy link does not appear to be correct.  As a workaround you might be able to try the below link and see if it works. 

http://192.168.1.29/proxy/192.168.2.125/UserLogin

Make sure the URL starts with the FPP Proxy http://192.168.1.29/proxy/ in the front, and ends with the controllers ip and link at the end. 192.168.2.125/UserLogin

CaptainMurdoch

Some controllers don't handle working through this type of proxy correctly due to their use of absolute instead of relative URLs.  If the controller redirects to "/UserLogin" instead of just "UserLogin" then the proxy/IP_ADDRESS gets stripped from the URL and things break.  In FPP, we went through and tried to make sure that all FPP URLs are proxy-friendly, but some controllers still aren't.
-
Chris

JonD

Quote from: CaptainMurdoch on December 22, 2023, 01:13:35 PMSome controllers don't handle working through this type of proxy correctly due to their use of absolute instead of relative URLs.
The Falcon v4 series had similar issues with the new monitor and visualizer tabs, and it seems like it required some changes to both the Falcon firmware and FPP software to resolve.  However in that case, if you manually entered a custom made URL it would still open the page.  You could not click on the Falcon tab, but you could manually make your own link to get there.  It still might be worth a shot to try it manually, but Chris is absolutely correct, that not every controller supports proxy.

jnealand

My very old F16v2b also does not like the proxy for the "Open Proxy" but it seems to work fine on setting up the configs.  Clicking it will take you to the controller but then you can not get thru and menu item line "string ports"
Jim Nealand
Kennesaw, GA all Falcon controllers, all 12v Master Remote Multisync with Pi and BBB P10 and P5

Support FPP

+- Recent Topics

K2-Pi0 Unable to Start FPPD by ironsniof
Today at 07:26:40 PM

Control lights directly from the GPIO of a PI by Poporacer
Today at 12:25:42 PM

New K16s by dkulp
Today at 08:23:40 AM

FPP After Hours Music Plugin has been updated by jcross
September 14, 2024, 08:49:51 PM

Intermittent Test Pattern failure on Channel Outputs > LED Panel by k6ccc
September 14, 2024, 08:11:30 PM

P5 Matrix on FPP 8.0 help by darylc
September 14, 2024, 07:09:50 PM

Does the Falcon f16v4 support TM1814 RGBW LEDs? by JonD
September 14, 2024, 03:12:11 PM

Does the Falcon f16v3 support TM1814 RGBW LEDs? by ric878
September 14, 2024, 01:53:57 PM

USB Monitor (AIDA64 Style) by jnealand
September 14, 2024, 08:39:50 AM

What am I missing - FPP 8 artnet input configuration by jnealand
September 14, 2024, 08:32:21 AM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod