Better analyze grab CSRF token error
_grab_csrf_token
does self._requests_session.get(self._base_url, allow_redirects=False)
to hope to have self._requests_session.cookies.get("csrf_token")
. The result of self._requests_session.get
is not checked. There may be no cookie because the request failed and not because the cookie was not set due to a too old CubicWeb instance. If the request has failed, we should have a clear message about this and could retry.