Quantcast
Channel: Application Request Routing (ARR)
Viewing all 739 articles
Browse latest View live

ARR Module Not Showing after initial install

$
0
0

I have just installed ARR 2.5 under IIS 7.5 by way of web platform installer, but when I select the Server Node in IIS Manager, the ARR icon does not appear on the right side under the IIS section.

I now see the Server Farms node, and added a couple of Web Farms.  But also when I add servers to the Web Farms, no icons show on the right side for each web farm (ie: Health Test, Load Balancing, etc).

Any ideas on what I am missing.


Hebrew letters in the address bar break the ARR gateway (Only With Explorer 8,9,10)

$
0
0

Hi,

The ARR is working great in all browsers except Internet Explorer 8,9,10.

When I paste Hebrew URL directly to the address bar it's working good, but when I surf (click on a simple href URL) from one Hebrew URL page to another Hebrew URL the ARR return me that error:

----------------
"502 - Web server received an invalid response while acting as a gateway or proxy server."
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
----------------

I checked it number of times including with HTTP analyzer and I saw that the "referer" is making all the problems and cause to that error.

For example when I enter to that page:
mydomain.com/somehebrewchars (mydomain.com/עמוד you will need Hebrew install)
And click in the page on a link to:
mydomain.com/somehebrewchars2 (mydomain.com/עמודנוסף you will need Hebrew install)

I will get the error above and when you look at the referrer you will see something like that:
mydomain.com/עמוד-× ×—×™×ª×”

We use other proxies application to others projects and we don't have the same issue like that.
For this example we used WIN 2008 and 2012 with ARR 2.5 and also 3 beta.

Any help is welcome :-)

Thanks,
Noam

Error: The configuration section 'system.webServer/rewrite/globalRules' cannot be read

$
0
0

Hi everyone, first time here.

so, i have a windows 2012 with a few sites published already.

one of my employers asked me to have suport of tomcat for java use, so i instaled ARR 3.0 beta, but when i tryed to click on "server proxy Settings", i received the error:

---------------------------
Application Request Routing
---------------------------
There was an error while performing this operation.

Details:

Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config

Error: The configuration section 'system.webServer/rewrite/globalRules' cannot be read because it is missing a section declaration

i checked the file to see if the session reference globalrules exist there, but nothing... its missing.

anyone know how to fix it ?

thanks all, and sorry for the bad english, not main language.

Application Request Routing use with WCF Restful web services

$
0
0

Anybody done with the Application Request Routing use with WCF Restful web services?

The requirement is, from the mobile application, invokes webservices URLs. But the reverse proxy needs to route the request to actual server. Can anybody suggest a soultion?

IIS7 with ARR as reverse proxy and non-ACSII querystring

$
0
0

I just installed Windows Server 2008 R2 with IIS, ARR 2.5 and URL Rewrite 2 as reverse proxy. Unfortunately proxy seems to modify non-ACSII querystrings.

I setup testing web page wp.imperium.cz/index.asp. This page just displays received querystring. And result fromthis request: http://wp.imperium.cz/?asd=Tomáš is

Query string is: asd=Tomáš

My rewrite rule in applicationHost:

<rule name="ARR_webfarm_loadbalance" enabled="true" patternSyntax="Wildcard" stopProcessing="true">
                    <match url="*" ignoreCase="true" />
                    <action type="Rewrite" url="http://webfarm/{R:0}" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{LOCAL_ADDR}" pattern="x.x.x.x" />
                    </conditions>
</rule>

 Is there any way how I can configure my proxy for non-ASCII querystring support?

Windows Authentication & Delegation in ARR

$
0
0

Hi,

We have configured Forefront TMG for authenticating and delegating the windows credential to the Internal Website (Reverse Proxy).

Since Forefront is not IPV6 complaint, We are looking in ARR for the same. Is it possible to configure ARR to authenticate and delegate Windows credential ? TMG servers are not in the same domain and currently we are using LDAP in TMG.

Regards,

Vinoth.

URL Rewrite or Application Request Routing use with WCF Restful web services

$
0
0

We are planning to have a proxy server kind of implementation in between our Mobile application and our legacy WCF Web service. The proxy server will work as a wrapper for our legacy web services. We are planning to be the proxy server will also be a WCF Web services and it provides APIs for our legacy web server. The proxy server will delegate the API calls to the legacy server and just return the value received from the server. From the mobile app we will invoke the restful apis of the proxy server. We have both GET and POST apis to implement. I know there are some cons for this implementation like performance. But as our client want to implement like this we are going this way.

Hope I have clearly explained my situation. I think this is not a difficult to implement. Can somebody suggest how to implement this?

Is there any open sources are available in the codeplex or code project? Can we use URL Rewrite or Application Request Routing

Server Redirectwith ARR

$
0
0

 I am using asp.net mvc and my login action are decorated by requiressl attribute.So going to these route they are redirected to. The error below:

<div id="errorSummary" jsselect="summary" jstcache="1">The webpage at http://############/account/login has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.</div> <div id="suggestions" jsdisplay="suggestionsHeading" jstcache="2">

Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.


Thank you

</div>

Overview question about ARR

$
0
0

Can I use ARR, without using web farm framework?

If not, can I use WFF with windows server 2012, IIS 8 and MSDeploy 3.0 or beyond?  ( I have heard it is not compatible.)

Thanks!

 

 

 

data filtering (pagination) in ARR

$
0
0

We are using ARR and URL Rewrite as a proxy (URL Routing) in between the Mobile and WCF Web services. Now we are looking to implement data filtering in the proxy side. The situation is as following,

WCF services are return huge amount of JSON data in a single call. So the mobile apps cannot afford this. So that we are planning to data filtering in the proxy. First thing we meant by data filtering is the pagination. And second thing is reduce some data elements from the JSON response of the WCF Service, so that the mobile app will get JSON with required elements only.

Hope I have explained my problem correctly. Have anybody come across the same situation? Any help will be appreciated.

IIS ARR Reverseproxy PreSendRequestContent JSON issue

$
0
0

We are implemented proxy for wcf restful web services using ISS, ARR and URL Rewrite. Now we are trying to implement data filtering in the ARR itself. For that we are writing a managed module and trying to filter the JSON data received from web services. We are implemented the PreSendRequestContent event and the source of the PreSendRequestContent  event is given below,

void context_PreSendRequestContent(object sender, EventArgs e)
    {
        if (_LogAlwaysResponse || _IsMatch)
        {
            CaptureStream filter = _context.Response.Filter as CaptureStream;
            if (filter != null)
            {
                string responseText = filter.StreamContent;
                //LOG responseText
            }
        }
    }

Our plan is to parse the JSON string in the responseText and return only few elements. But the issue is we are getting the JSON data in binary format only. Could somebody suggest a solution?

I have referred the link to get information to get JSON in the  PreSendRequestContent  eventhttp://stackoverflow.com/questions/6677935/log-request-json-data

Get Loggedin user name in class implementing IRewriteProvider interface

$
0
0

I am creating a URLRewrite provider class implementing the interface IRewriteProvider.  I would like to get the logged in userid  (IIS is setup for windows auth only) in the Rewrite() method so that I can do conditional rewrites based on whether the logged in user belongs to a AD security group or not.

but, I am unable to get the loggedin userid in the Rewrite() method so far..

I am setting up reverse proxy using ARR

any help would be greatly appreciated..

IIS ARR Reverseproxy PreSendRequestContent JSON issue

$
0
0

We are implemented proxy for wcf restful web services using ISS, ARR and URL Rewrite. Now we are trying to implement data filtering in the ARR itself. For that we are writing a managed module and trying to filter the JSON data received from web services. We are implemented the PreSendRequestContent event and the source of the PreSendRequestContent  event is given below,

void context_PreSendRequestContent(object sender, EventArgs e)
    {
        if (_LogAlwaysResponse || _IsMatch)
        {
            CaptureStream filter = _context.Response.Filter as CaptureStream;
            if (filter != null)
            {
                string responseText = filter.StreamContent;
                //LOG responseText
            }
        }
    }

Our plan is to parse the JSON string in the responseText and return only few elements. But the issue is we are getting the JSON data in binary format only. Could somebody suggest a solution?

I have referred the link to get information to get JSON in the  PreSendRequestContent  eventhttp://stackoverflow.com/questions/6677935/log-request-json-data

ARR Caching for WCF Web services

$
0
0

We have setup a reverse proxy mechanism using IIS, ARR and URL Rewrite for our WCF Web services. Is it possible to cache the WCF Webserives using ARR Caching mechanism? In the documentation of ARR it is said that ARR is able to cache on disk any HTTP traffic that passes through the server. Please advice.

Get Loggedin user name in class implementing IRewriteProvider interface

$
0
0

I am creating a URLRewrite provider class implementing the interface IRewriteProvider.  I would like to get the logged in userid  (IIS is setup for windows auth only) in the Rewrite() method so that I can do conditional rewrites based on whether the logged in user belongs to a AD security group or not.

but, I am unable to get the loggedin userid in the Rewrite() method so far..

I am setting up reverse proxy using ARR

any help would be greatly appreciated..


Two websites in two separate content web server but dont want load balancing on both websites

$
0
0

Hi,

   I have got 2 servers one is srv1 and the other is Serv2 and srv3 as ARR server. I have hosted two websites on each content webserver Srv1 and Srv2 and using round robin load balance with even distribution but what is does is it does load balancing is website1 and website2 as well but I only want to do load balancing on Website1 the reason is I only got 1 public IP to host both websites one with ssl and one without. My question is is there any way I can stop load balancing to occur in Website2 where both website ip address is same and pointed by static NAT.

Thanks,

IIS ARR Reverseproxy PreSendRequestContent JSON issue

$
0
0

We are implemented proxy for wcf restful web services using ISS, ARR and URL Rewrite. Now we are trying to implement data filtering in the ARR itself. For that we are writing a managed module and trying to filter the JSON data received from web services. We are implemented the PreSendRequestContent event and the source of the PreSendRequestContent  event is given below,

void context_PreSendRequestContent(object sender, EventArgs e)
    {
        if (_LogAlwaysResponse || _IsMatch)
        {
            CaptureStream filter = _context.Response.Filter as CaptureStream;
            if (filter != null)
            {
                string responseText = filter.StreamContent;
                //LOG responseText
            }
        }
    }

Our plan is to parse the JSON string in the responseText and return only few elements. But the issue is we are getting the JSON data in binary format only. Could somebody suggest a solution?

I have referred the link to get information to get JSON in the  PreSendRequestContent  eventhttp://stackoverflow.com/questions/6677935/log-request-json-data

ARR Caching for WCF Web services

$
0
0

We have setup a reverse proxy mechanism using IIS, ARR and URL Rewrite for our WCF Web services. Is it possible to cache the WCF Webserives using ARR Caching mechanism? In the documentation of ARR it is said that ARR is able to cache on disk any HTTP traffic that passes through the server. Please advice.

i have problem in the ARR v2 beta2

ARR URl Rewrite is not working for external servers

$
0
0

We are trying to setup a reverse proxy mechanism using ARR and URL Rewrite. The rewriting is working fine when the target url is a one which is hosted in the same server. But when we try to route it to an external server the routing is now working. We are getting the

HTTP Error 502.3 - Bad Gateway
	The operation timed out

	Module ApplicationRequestRouting
	Notification ExecuteRequestHandler
	Handler ApplicationRequestRoutingHandler
	Error Code 0x80072ee2
	Requested URL http://localhost:8882/ff
	Physical Path D:\pocwebsites\exposed\ff
	Logon Method Anonymous
	Logon User Anonymous


	•The CGI application did not return a valid set of HTTP errors.
	•A server acting as a proxy or gateway was unable to process the request due to an error in a parent gateway.

	•Use DebugDiag to troubleshoot the CGI application.
	•Determine if a proxy or gateway is responsible for this error.



Please find the web.config file given below,

<?xml version="1.0" encoding="UTF-8"?><configuration><system.webServer><rewrite><rules><rule name="or_rule_1" enabled="true"><match url=".*" /><action type="Rewrite" url="http://www.cnn.com" /></rule></rules></rewrite></system.webServer></configuration>



Viewing all 739 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>