Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Can't configure tracker integration #70

Open
vsanta opened this issue Jan 20, 2015 · 1 comment
Open

Can't configure tracker integration #70

vsanta opened this issue Jan 20, 2015 · 1 comment
Labels

Comments

@vsanta
Copy link

vsanta commented Jan 20, 2015

Maybe we're doing something wrong but we're getting 404 on the validation.

Note: I changed my API after this screenshot :)
screen shot 2015-01-20 at 4 16 42 pm

@vsanta vsanta added the bug label Jan 20, 2015
@alexdown
Copy link

Slightly different error here. On the browser console, I see all calls returns a 202, not a 404.
Those calls are not to a pivotal tracker address, but to the current app (the project monitor app itself).
Is that correct? I see that the route is defined in routes.rb:

  post 'projects/validate_tracker_project'

but -being not familiar with ruby at all- I can't see in the code where the call to the actual pivotal tracker url is made... if I make a POST to http://pulse.pivotallabs.com/projects/validate_tracker_project (the URL in your screenshot) I just get a login page... my pivotal tracker login doesn't work.

When I look at the project monitor application logs, I see:

2015-04-23T07:27:38.371609+00:00 heroku[router]: at=info method=POST path="/projects/validate_tracker_project" host=<APP_NAME_HERE>.herokuapp.com request_id=8bb12914-048a-4895-9205-08afbc8cf9e4 fwd="27.110.79.215" dyno=web.1 connect=2ms service=75ms status=404 bytes=967
2015-04-23T07:27:38.295931+00:00 app[web.1]: Started POST "/projects/validate_tracker_project" for 27.110.79.215 at 2015-04-23 07:27:38 +0000
2015-04-23T07:27:38.367793+00:00 app[web.1]: 
2015-04-23T07:27:38.367799+00:00 app[web.1]: ActiveRecord::RecordNotFound (Couldn't find Project without an ID):
2015-04-23T07:27:38.367801+00:00 app[web.1]:   app/controllers/projects_controller.rb:95:in `validate_tracker_project'
2015-04-23T07:27:38.367802+00:00 app[web.1]:   app/controllers/projects_controller.rb:121:in `scope_by_aggregate_project'
2015-04-23T07:27:38.367804+00:00 app[web.1]: 
2015-04-23T07:27:38.367805+00:00 app[web.1]:

Seems it can't find the project.. but the request contains the id, the pproject_id and the auth_token, and in can see a project with that id in the project monitor db...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants