java.lang.IllegalArgumentException: Request url doesn't match rpc url configured When Authenticating Confluence in JIRA Activity Stream
Symptoms
When a user tries to authenticate with Confluence in JIRA's Activity Stream, a 500 Error page is thrown after clicking the Allow button.
This is the message in the Technical details:
Technical details
Log's referral number: 9939f901-9f2f-4796-a514-cbe09ff3aa68
Cause
Referer URL: http://localhost:10544/conf544/plugins/servlet/oauth/authorize?oauth_callback=http%3A%2F%2Flevi%3A8620%2Fjira62%2Fplugins%2Fservlet%2Fapplinks%2Foauth%2Flogin-dance%2Faccess%3FapplicationLinkID%3Db5710e6f-12e6-307a-8884-8709ccd98c7c%26redirectUrl%3Dhttp%253A%252F%252Flevi%253A8620%252Fjira62%252Fplugins%252Fservlet%252Fstreams%252Fapplinks%252Foauth%252Fcompletion%253FapplinkId%253Db5710e6f-12e6-307a-8884-8709ccd98c7c&oauth_token=ToR4geF7TXjIe7djNZD6l59dl9s5GkRm
java.lang.IllegalArgumentException: Request url doesn't match rpc url configured
java.lang.IllegalArgumentException: Request url doesn't match rpc url configured
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
at com.atlassian.applinks.core.auth.ApplicationLinkRequestFactoryFactoryImpl$AbsoluteURLRequestFactory.createRequest(ApplicationLinkRequestFactoryFactoryImpl.java:199)
at com.atlassian.streams.internal.applinks.ApplicationLinkServiceExtensionsImpl.isAuthorised(ApplicationLinkServiceExtensionsImpl.java:44)
at com.atlassian.streams.internal.applinks.OAuthCompletionServlet.doGet(OAuthCompletionServlet.java:79)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at com.atlassian.plugin.servlet.DelegatingPluginServlet.service(DelegatingPluginServlet.java:42)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at com.atlassian.plugin.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:52)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
Resolution
The message 'Request url doesn't match rpc url configured' means that there is some inconsistency in the base URL. Try to check for any capitalization on the base URL.
- In a case where Confluence's Server Base URL has capital letter such as:
http://Localhost:8090/conf
instead ofhttp://localhost:8090/conf
, the above error message will occur. User just need to amend the base URL according to the URL during Application Link creation. - In a case where JIRA's Base URL has capital letter such as
http://Localhost:8080/jira
instead ofhttp://localhost:8080/jira
, this warning banner will be displayed:
Amend the base URL based on the URL during Application Link creation.
Last modified on Nov 2, 2018
Powered by Confluence and Scroll Viewport.