Fork me on GitHub

Hi! I upped ring from 1.4.0 to 1.6.1 in my project to make use of the new SameSite cookie attribute. When running the application by itself it works perfectly fine, but when using my ring-handler in figwheel I get a Assert failed: (every? valid-attr? attrs)in ring.middleware.cookies where it validates the cookie attributes. It looks as if it runs the old ring version. Does anyone have an idea what could cause this?


Could be that there is an old version of ring.middleware.cookies from another dependencies which is being used


What do you see when you run lein deps :tree?


The usual fix for this is to add an explicit dependency on the version of ring.middleware.cookies that you want to use