Sharefile upload fails when responder policy created by wizard in NetScaler

Sharefile upload fails when responder policy created by wizard in NetScaler

book

Article ID: CTX239063

calendar_today

Updated On:

Description

NS version 12.0.58.15 Callouts and responders are build according to edocs but it did not work, upload to share file fails. When responder is unbound upload works

Followed the below article 
https://docs.citrix.com/en-us/storagezones-controller/5-0/install/sf-deploy-cfg-netscaler.html

Resolution

Matching the Http callout connecting port and the scheme type will fix the issue

Problem Cause

Http Callout connecting port and the scheme type should be matched. 

Here its not matched:
add policy httpCallout sf_callout -IPAddress 1.1.1.1 -port 443 -returnType BOOL -hostExpr 10.174.8.227 -urlStemExpr "\"/validate.ashx?RequestURI=\" + HTTP.REQ.URL.BEFORE_STR(\"&h\").HTTP_URL_SAFE.B64ENCODE + \"&h=\"+ HTTP.REQ.URL.QUERY.VALUE(\"h\")" -scheme http -resultExpr "HTTP.RES.STATUS.EQ(200).NOT"

add policy httpCallout sf_callout_y -IPAddress 1.1.1.1 -port 443 -returnType BOOL -hostExpr 10.174.8.227 -urlStemExpr "\"/validate.ashx?RequestURI=\" + HTTP.REQ.URL.HTTP_URL_SAFE.B64ENCODE + \"&h=\"" -scheme http -resultExpr "HTTP.RES.STATUS.EQ(200).NOT"