-
Notifications
You must be signed in to change notification settings - Fork 156
Support Request: "not a valid experiment spec" - "ModPagespeedExperimentSpec id=1;percent=50;default" #2070
Comments
Hi |
Yes, and I've tried adding more lines, the issue appears to actually be at the The ==> <== is always one line above: If I remove the empty lines, the error becomes:
if I add more empty lines it becomes:
etc. |
Hi The message
|
I am not adding those, they do not appear in the config file, they only appear in the error message I posted originally. |
This is my config file:
|
Hi
I find in this file: https://github.com/apache/incubator-pagespeed-mod/blob/master/install/debug.conf.template |
No dice: [2021-06-23 10:18:13 -0600] info [xml-api] Initial configuration generation failed with the following message: |
Thanks for trying though. I've done some more poking around, and while I have not yet been successful in identifying the issue, I am beginning to suspect that an error message is being thrown when it's still working under the hood. However, I am far from confident, and attemping to start a new experiment to test. On a different server, one running litespeed, I see this in the logs:
For this config:
|
Maybe there is spected a options= or even a slot= ? |
Well, another 6 months has come and gone and I am revisiting this. However, swapping to analytics.js and using the newer content experiments stuff still results in the same error (invalid experiment spec) Seems like this is simply an unmaintained feature which isn't working any more, in some cases. (Though it works on other servers I manage...) |
You are right that no one is actively working on the feature, but if there's some usage issues you might want to refer to the test code which can clarify with precision what valid syntax is. The test for the experiment-matcher is here: and there are other related tests here: These tests may help give clues as to what's valid syntax. Of course there's also the implementation files: and Sorry I don't have more specific advice for you -- I had high level knowledge of this filter and why we built it but didn't actively work on it myself. |
oh and there's also system-tests for experiments, including this one: https://github.com/apache/incubator-pagespeed-mod/blob/master/install/apache_experiment_ga_test.sh and there may be others like it in the same directory. |
cpanel on cloudlinux
yum list installed | grep pagespeed
ea-apache24-mod_pagespeed.x86_64 latest-stable @System
Hello, I am having some troubles understanding why the config shown in the documentation is failing here:
The text was updated successfully, but these errors were encountered: