Chef analytics not redirected to chef server

Hey guys,

Just did a fresh install of chef analytics and its not re-directing back to the chef server to authorise log in, comes up with “The redirect uri included is not valid.”. Has anyone else had this issue before?

On the chef server /etc/opscode/oc-id-applications/analytics.json has this as the redirect entry:
“redirect_uri”: “

On the Analytics server /etc/opscode/actions-source.json has this is the redirect entry:
“redirect_uri”: “

The UID and secret are exactly the same on both side, The preflight runs fine but the test comes back with 0 examples, 0 failures - Failed to read the private key /etc/opscode/pivotal.pem

Any tips or help would be great thanks!