You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ran into an issue loading the web UI where it will report file not found and I've tried everything I can think of to fix the issue.
Did the standard install:
git checkout release/latest
phpize
./configure
make
make install
Install completes with:
Installing shared extensions: /root/.phpbrew/php/php-7.4.27/lib/php/extensions/no-debug-non-zts-20190902/
Installing SPX web UI to: /root/.phpbrew/php/php-7.4.27/share/misc/php-spx/assets/web-ui
Put this (and a few other variants) in my php.ini for php-fpm.
extension=spx.so
spx.debug=1
spx.http_ui_assets_dir=/root/.phpbrew/php/php-7.4.27/share/misc/php-spx/assets/web-ui/
spx.http_enabled=1
spx.http_key="<redacted>"
spx.http_ip_whitelist="10.8.0.2" // VPN IP
Restarting the php-fpm instance on each change. Then hit up this URL in my browser:
http://10.8.0.1/?SPX_KEY=<redacted>&SPX_UI_URI=/
Get this error:
File not found.
Here's my phpinfo();
Checked the PHP log, the only entry for spx is this (when I fat fingered my password while doing this testing):
[25-Nov-2023 18:09:14 UTC] PHP Notice: SPX: access not granted: server ("<redacted>") & client ("dev") key mismatch in Unknown on line 0
[25-Nov-2023 18:19:53 UTC] PHP Notice: SPX: access not granted: server ("<redacted>") & client ("dev") key mismatch in Unknown on line 0
Things I've tried:
Changing permissions/ownership of the /root/.phpbrew/php/php-7.4.27/share/misc/php-spx/assets/web-ui/ directory and it's parents.
Enabling debug.
Reinstalling everything including PHP.
If you guys could walk me through debugging what's going on here and get a good working profiler going for testing I'd be happy to toss some cash in the coffee fund. Honestly I'm lost at this point.
The text was updated successfully, but these errors were encountered:
The logs clearly point to an invalid key in the URL. Are you sure that the key in the URL is the same as the one specified in config via spx.http_key ?
Ran into an issue loading the web UI where it will report file not found and I've tried everything I can think of to fix the issue.
Install completes with:
Put this (and a few other variants) in my php.ini for php-fpm.
Restarting the php-fpm instance on each change. Then hit up this URL in my browser:
http://10.8.0.1/?SPX_KEY=<redacted>&SPX_UI_URI=/
Get this error:
File not found.
Here's my phpinfo();
Checked the PHP log, the only entry for spx is this (when I fat fingered my password while doing this testing):
Things I've tried:
If you guys could walk me through debugging what's going on here and get a good working profiler going for testing I'd be happy to toss some cash in the coffee fund. Honestly I'm lost at this point.
The text was updated successfully, but these errors were encountered: