engineyard / core-client-rb

Engine Yard Core API Ruby client
MIT License
4 stars 22 forks source link

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

Open newfylox opened 9 months ago

newfylox commented 9 months ago

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 commented 8 months ago

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.