The mysql-broker is giving an error "ERR_TOO_MANY_REDIRECTS"
Closed this issue · 3 comments
Hi.
We have use following cf and mysql version.
cf-mysql version 32.
cf release version: 281.
The everything is working fine but when we are accessing the mysql-broker url which is integrating with UAA for authentication and authorization.
its redirect to the cf login page for login and after that its redirect back to mysql-broker page with following error on browser.
This page isn’t working
mysql.sys.xxxx.xxxx.xxxx-cloud.com redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
I have checked the logs of mysql-broker. its giving following warning.
"Warning! Rack::Session::Cookie data size exceeds 4K.
Warning! Rack::Session::Cookie failed to save session. Content dropped."
I think because of above warning, the UAA token is not storing into the session of mysql-broker and thats reason its again redirect to cf login page for authenticate and authorization again and again and thats the reason of this error i think so.
Any suggestion?
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/156161945
The labels on this github issue will be updated when the story is started.
Hey @lordcf, we encourage you to update your cf-mysql
version. The latest version is v36.12.0
, and there are changes made to how the broker deals with cookies in 36.7.0
, so bumping to the latest version could fix these issues. Also, cf-release
is deprecated in favor of cf-deployment, so you should be using that to deploy cf
.
Closing due to inactivity, feel free to reopen if you see this issue after upgrading!