hello everyone
I cannot fetch intranet resource via sdc.

my localConfig.xml:
<entity>
  <sdcServerHost>apps-secure-data-connector.google.com</sdcServerHost>
  <sdcServerPort>443</sdcServerPort>
  <domain>mydomain.com</domain>
  <user>secure-data-connector-user</user>
  <password>mypwd</password>
  <agentId>agent_mydomain</agentId>
  <socksServerPort>1080</socksServerPort>
  <sshd>/etc/opt/google-secure-data-connector/openssh/start_sshd.sh</
sshd>
  <healthCheckGadgetUsers>admin13...@mydomain.com</
healthCheckGadgetUsers>
</entity>

my resourceRules.xml:
<resourceRules>
  <rule repeatable="true">
    <ruleNum>1</ruleNum>
    <agentId>agent_mydomain</agentId>
    <viewerEmail repeatable="true">admin13...@mydomain.com</
viewerEmail>
    <apps repeatable="true">
      <service>AppEngine</service>
      <allowAnyAppId>true</allowAnyAppId>
    </apps>
    <url>http://myintranetIP:8080/tomcat.gif</url>
    <urlMatch>HOSTPORT</urlMatch>
  </rule>
</resourceRules>

my  java soucecode:
URL dataURL = new URL("http://myintranetIP:8080/tomcat.gif?X-
secureDataConnectorDebug=text");
HTTPRequest fetchreq = new HTTPRequest(dataURL);
fetchreq.setHeader(new HTTPHeader("use_intranet","yes"));
HTTPResponse fetchresp = fetcher.fetch(fetchreq);
resp.setContentType("text/plain");
resp.getWriter().print(new String(fetchresp.getContent()));


and I have open ports(8080 , 1080) in the firewall between sdc server
and intranet webserver.


Actual results:
request_user : admin13...@mydomain.com
request_sdc_agent_domain : mydomain.com
request_url : 
http://myintranetIP:8080/tomcat.gif?X-secureDataConnectorDebug=text
request_service : AppEngine
request_appId : myappid
request_requestId : (Id = bf33d834f932802d)
sdc_routing : Internet
sdc_internet_routing : NO_MATCHING_RESOURCE
response_sdc_status : ok
response_content_size : 0


thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to