Open robertstarmer opened 10 years ago
What is happening when you see this error? It looks like Curvature is sending Donabe a request for a Deployed Container without supplying an ID. Try re-initializing the Curvature DB with:
rake db:drop rake db:create rake db:migrate
If that doesn't work try it for Donabe as well.
Had to really wipe out cookies for the instance to get it to recover. (after resetting the db for both apps, and restarting both services).
R
On Oct 17, 2013, at 10:33 AM, johndavidge notifications@github.com<mailto:notifications@github.com> wrote:
rake db:drop rake db:create rake db:migrate
Further investigation lead me to discover that if Curvature sends Donabe a request for the list of Deployed Containers but didn't send a valid X-Auth-Token in the message header Donabe would attempt to fall back onto a deprecated cookie-based authentication system. This has now been removed and replaced with an HTTP 401 response. This does not however explain why Curvature is sending bad tokens in the first place.
Bad tokens may be delivered from expired sessions, as from a browser that recovers after having been asleep for a period of time.
R
Sent from a device
On Oct 18, 2013, at 9:06 AM, "johndavidge" notifications@github.com<mailto:notifications@github.com> wrote:
Further investigation lead me to discovered that if Curvature sends Donabe a request for the list of Deployed Containers but didn't send a valid X-Auth-Token in the message header Donabe would attempt to fall back onto a deprecated cookie-based authentication system. This has now been removed and replaced with an HTTP 401 response. This does not however explain why Curvature is sending bad tokens in the first place.
— Reply to this email directly or view it on GitHubhttps://github.com/CiscoSystems/curvature/issues/3#issuecomment-26598122.
I know we've seen something like this before:
<!DOCTYPE html>
ActiveRecord::RecordNotFound in DeployedContainersController#index
Rails.root: /opt/donabe
Request
Parameters:
Show session dump
Show env dump
Response
Headers: