Why am I getting a "The proxy is not configured to allow the request" when trying to add an association to my custom OSLC provider?
![]() I've created an OSLC provider to allow RTC to integrate to another tool we use. I'm able to create the "Friend" to the provider in RTC, but when I try to add the association for the project area, I get the following error:
I've taken the link in that error, and hit it in the browser to reveal:
In this test, I have RTC running on the same host running the OSLC provider, if that matters... |
Comments
I think the two errors are unrelated. The CCM web ui makes a request to your OSLC provider via its own proxy (/ccm/proxy) and includes particular security headers which are interpreted only by the proxy. If you copy/paste that URL into your browser, your browser won't send those headers so you'll get this CSRF problem.
Rather than manually hitting that URL, I suggest using Firebug to debug the real request that's coming from the CCM web ui.
On the original problem... does your OSLC provider support OAuth?
I am using the OAuth server provided in the OSLC tutorial.
When originally creating the "friend" it originally failed until I got the OAuth server up and running. So I'm assuming it's working.
Jared,
Can you provide any guidance on where to start with Firebug? I have the script debugger on, but don't know where to start...
So running with debug=true while adding an association, I get the following response information:
HTTP Status 403 - The proxy is not configured to allow the request to http://somehost/oslc/rootservices. There may be a missing friend entry for this server.
type Status report
message The proxy is not configured to allow the request to http://somehost/oslc/rootservices. There may be a missing friend entry for this server.
description Access to the specified resource (The proxy is not configured to allow the request to http://somehost/oslc/rootservices. There may be a missing friend entry for this server.) has been forbidden.
Any other helpful insight into solving this? I'm trying to evaluate eclipse Lyo by consuming a service I made from RTC...