Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recipes apply bug: Unknown cookie parameter 'samesite' #140

Open
newfylox opened this issue Dec 13, 2023 · 1 comment
Open

recipes apply bug: Unknown cookie parameter 'samesite' #140

newfylox opened this issue Dec 13, 2023 · 1 comment

Comments

@newfylox
Copy link

When using the command ey-core recipes apply -e my_environment, it prints this error

Started main chef run
Error:
  Unknown cookie parameter 'samesite'

By digging the code, I see it's a InvalidCookieError error from cookiejar gem. My guess is that their switch case when :samesite doesn't work for string 'samesite', it needs symbol :samesite

https://github.com/dwaite/cookiejar/blob/36f692bfb66808a40285f47ae536a81f29a502dc/lib/cookiejar/cookie_validation.rb#L324-L325

I can see the chef recipe is being applied by checking chef logs on EngineYard cloud dashboard but on my terminal it's over... I can't see if it's terminated or not.

@etlund
Copy link

etlund commented Jan 10, 2024

FWIW, I get the same error message when I deploy. But from the EY dashboard I can see that it is deploying and when it finishes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants