Please use constructUrl to create the url and add the pattern to the CommunityConstants. Also what happens if no proxy is being used?