Are these http sites or HTTPS? If HTTPS you'll likely need an SSLContextService configured.
> On Jun 9, 2016, at 4:34 PM, saikrishnat <[email protected]> wrote: > > i am running on my laptop. yaa thats what confuses me. i could able to > download files when i used GetFTP process from a public site. > its only GetHTTP or InvokeHTTP is giving me problems. its acting like it > cant go out of the network when i try thru NiFi. if firewall blocks it , it > should block it when i try directly. > > On Thu, Jun 9, 2016 at 3:13 PM, Matt Burgess [via Apache NiFi Developer > List] <[email protected]> wrote: > >> Do you have NiFi running locally or are you connecting over the browser to >> an instance on a different node? If you're on the same node then I don't >> know why it won't connect, if it's on a different node or VM there might be >> a connectivity problem between that node and the Internet. >> >> Regards, >> Matt >> >>>> On Jun 9, 2016, at 4:06 PM, saikrishnat <[hidden email] >>> <http:///user/SendEmail.jtp?type=node&node=11303&i=0>> wrote: >>> >>> Hi Matt, >>> i tried with google.com and cnn to get rss feed as shown in one of the >>> examples online by someone.. >>> thing is i can go to the site when i use the browser directly with the >> same >>> URL..but not thru NiFi.. >>> >>> do i have to change any settings.?? >>> >>> Regards,Sai >>> >>> On Thu, Jun 9, 2016 at 3:02 PM, Matt Burgess [via Apache NiFi Developer >>> List] <[hidden email] >> <http:///user/SendEmail.jtp?type=node&node=11303&i=1>> wrote: >>> >>>> Which other sites did you try? I've noticed that the randomuser.me API >>>> is often unavailable and gives those SocketTimeout messages. Also >>>> perhaps try the InvokeHttp processor. I would imagine any site should >>>> work in both GetHttp and InvokeHttp, but I'm curious to see if there >>>> is a difference. >>>> >>>> What version of NiFi are you using? >>>> >>>> Thanks, >>>> Matt >>>> >>>> On Wed, Jun 8, 2016 at 4:42 PM, saikrishnat <[hidden email] >>>> <http:///user/SendEmail.jtp?type=node&node=11300&i=0>> wrote: >>>> >>>>> Hi Matt, >>>>> Thank you for the reply , when i tried to use the example >>>>> "Working_With_CSV.xml" i am getting >>>>> >>>>> InvokeHTTP[id=a3aab33d-76dd-4169-9a29-fd0aeae219f3] Yielding processor >>>> due >>>>> to exception encountered as a source processor: >>>>> java.net.SocketTimeoutException: >>>>> connect timed out >>>>> >>>>> i could go to the URL when i try from my browser directly. but not >> thru >>>>> NiFi. >>>>> i tried other sites thru GetHTTP process , getting same error.. >>>>> >>>>> any idea.?? >>>>> >>>>> On Tue, Jun 7, 2016 at 4:55 PM, Matt Burgess [via Apache NiFi >> Developer >>>>> List] <[hidden email] >>>> <http:///user/SendEmail.jtp?type=node&node=11300&i=1>> wrote: >>>>> >>>>>> saikrishnat, >>>>>> >>>>>> There are multiple processors that can get data from public web >>>>>> services, such as InvokeHttp [1]. There are sample templates at [2], >>>>>> including "Working_With_CSV.xml" which consumes a RESTful web service >>>>>> at http://randomuser.me. If you are looking to discover/invoke >>>>>> WSDL/SOAP services, then there is no general processor to do so, >>>>>> although you can certainly speak SOAP using InvokeHttp. Discovering >>>>>> methods via WSDL then invoking them via SOAP is a more involved >>>>>> process, but I believe NiFi has the processors in place >>>>>> (EvaluateXPath, ReplaceText, etc.) to enable this. >>>>>> >>>>>> Also, besides the official docs [3], there is a great repository of >>>>>> helpful NiFi-related items [4]. >>>>>> >>>>>> Regards, >>>>>> Matt >>>>>> >>>>>> [1] >> https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.InvokeHTTP/index.html >>>>>> [2] >> https://cwiki.apache.org/confluence/display/NIFI/Example+Dataflow+Templates >>>>>> [3] https://nifi.apache.org/docs.html >>>>>> [4] https://github.com/jfrazee/awesome-nifi >>>>>> >>>>>> On Tue, Jun 7, 2016 at 3:28 PM, saikrishnat <[hidden email] >>>>>> <http:///user/SendEmail.jtp?type=node&node=11201&i=0>> wrote: >>>>>> >>>>>>> Hi , >>>>>>> I am very new to NiFi. So far i can just move files between >>>> directories >>>>>> :). >>>>>>> I was trying access public web services like weather service by >>>> calling >>>>>> its >>>>>>> methods like getWeather,getCitiesByCountry etc..can i do that using >>>> NiFi >>>>>> and >>>>>>> how..? any help is much appreciated. >>>>>>> >>>>>>> also any good resources for help on NiFi.?? >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> View this message in context: >> http://apache-nifi-developer-list.39713.n7.nabble.com/Consuming-web-services-through-NiFi-tp11190.html >>>>>>> Sent from the Apache NiFi Developer List mailing list archive at >>>>>> Nabble.com. >>>>>> >>>>>> >>>>>> ------------------------------ >>>>>> If you reply to this email, your message will be added to the >>>> discussion >>>>>> below: >> http://apache-nifi-developer-list.39713.n7.nabble.com/Consuming-web-services-through-NiFi-tp11190p11201.html >>>>>> To unsubscribe from Consuming web services through NiFi, click here >>>>>> < >>>>>> . >>>>>> NAML >>>>>> < >> http://apache-nifi-developer-list.39713.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> >>>> >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> View this message in context: >> http://apache-nifi-developer-list.39713.n7.nabble.com/Consuming-web-services-through-NiFi-tp11190p11251.html >>>>> Sent from the Apache NiFi Developer List mailing list archive at >>>> Nabble.com. >>>> >>>> >>>> ------------------------------ >>>> If you reply to this email, your message will be added to the >> discussion >>>> below: >> http://apache-nifi-developer-list.39713.n7.nabble.com/Consuming-web-services-through-NiFi-tp11190p11300.html >>>> To unsubscribe from Consuming web services through NiFi, click here >>>> < >>>> . >>>> NAML >>>> < >> http://apache-nifi-developer-list.39713.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> >>> >>> >>> >>> >>> -- >>> View this message in context: >> http://apache-nifi-developer-list.39713.n7.nabble.com/Consuming-web-services-through-NiFi-tp11190p11301.html >>> Sent from the Apache NiFi Developer List mailing list archive at >> Nabble.com. >> >> >> ------------------------------ >> If you reply to this email, your message will be added to the discussion >> below: >> >> http://apache-nifi-developer-list.39713.n7.nabble.com/Consuming-web-services-through-NiFi-tp11190p11303.html >> To unsubscribe from Consuming web services through NiFi, click here >> <http://apache-nifi-developer-list.39713.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=11190&code=c2Fpa3Jpc2huYXRAZ21haWwuY29tfDExMTkwfC0xNTE1NTMyNDQy> >> . >> NAML >> <http://apache-nifi-developer-list.39713.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > > > > -- > View this message in context: > http://apache-nifi-developer-list.39713.n7.nabble.com/Consuming-web-services-through-NiFi-tp11190p11304.html > Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.
