java.lang.IllegalArgumentException: Request url doesn't match rpc url configured When Authenticating Confluence in JIRA Activity Stream

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

When a user tries to authenticate with Confluence in JIRA's Activity Stream, a 500 Error page is thrown after clicking theAllow button.

(Auto-migrated image: description temporarily unavailable)

(Auto-migrated image: description temporarily unavailable)

This is the message in the Technical details:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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 of http://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 of http://localhost:8080/jira, this warning banner will be displayed:

    (Auto-migrated image: description temporarily unavailable)

    Amend the base URL based on the URL during Application Link creation.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.