AMP signed exchange showing error : Not packaging because computed max-age 666 places expiry in the past
Closed this issue · 3 comments
My amppkg is not able to signed my pages when I debugged the same I am getting one error in the error log "Not packaging because computed max-age 86400 places expiry in the past"
Please suggest .
After Reading Issue #395
and doc: https://amp.dev/documentation/examples/components/amp-script/?format=websites
I have tried and different combination with other values but the error is same just number is changing in the error message.
Like :
2022/03/09 20:37:04 Not packaging because computed max-age 666 places expiry in the past
2022/03/09 20:37:04 Not packaging because computed max-age 84600 places expiry in the past
etc.
Hi @virendra-rastogi , I wonder if you tried changing the inline <amp-script>
on the page to load a JavaScript from external src by using src
attribute instead of script
attribute. As mentioned in README, it seems that currently -1 day limitation exists for inlined amp-script.
@sisidovski Thanks a lot for the Help It worked for me .
I got the resolution and It worked for me after changes in <amp-script max-age it worked