Hamed
Hamed

Reputation: 1213

Vaadin "Cookies Disabled" Message in Chrome

I created a Vaadin (8.2.0) web app in Netbeans and uploaded it on a Glassfish (4.1) server. I can access the app's home page in Edge and Firefox, however in Chrome I get this message:

Cookies disabled

This application requires cookies to function. Please enable cookies in your browser and click here or press ESC to try again.

I double checked my chrome settings and know that cookies are allowed. I even added the server specifically in the allowed list.

What do think is missing?

Upvotes: 4

Views: 4194

Answers (2)

Jose Martinez
Jose Martinez

Reputation: 12022

I was having the same problem. I noticed that switching to HTTPS lead to these errors not occurring. The same site would throw this error when I accessed it via HTTP, but if I went to the site via HTTPS, then the problem did not occur.

Upvotes: 0

Hamed
Hamed

Reputation: 1213

As Artur Signell mentioned in the comments, the solution was to simply clear all the cached cookies in the Chrome web browser. After that, the app just worked fine and I didn't get that error.

Upvotes: 1

Related Questions