|
List Info
Thread: Re: RSS behind proxy
|
|
| Re: RSS behind proxy |

|
2007-07-19 11:36:22 |
OK, now that I got home, here's more info
At home I am not forced to use proxy, but I'm behind an NAT
or... firewall - I'm not sure. Anyway, there's another
computer with a real IP that's sitting between me and the
Internet and it's sharing its network connection with me, so
you say what it is
Here's the error I get this time trying to connect to yahoo.com>
To: dev sip-communicator.dev.java.net
Sent: Thursday, July 19, 2007 5:37:25 PM
Subject: Re: [sip-comm-dev] RSS behind proxy
Unfortunately, still no luck. Even with the patch you sent
me I get the same exception. I tried adding the RSS ht
tp://news.google.com/nwshp?tab=wn&output=rss on a
machine with direct connection to Internet and it succeeded.
Thanks,
Pavel Tankov
----- Original Message ----
From: Vincent Lucas <lucas clarinet.u-strasbg.fr>
To: dev sip-communicator.dev.java.net
Sent: Thursday, July 19, 2007 4:41:44 PM
Subject: Re: [sip-comm-dev] RSS behind proxy
RE-Hi Pavel
Maybe a little change in your "build.xml" can do
it. Just try to add to
your "build.xml" the following (with the correct
proxyhost address and
port) properties (joined in the patch too):
<sysproperty key="http.proxyhost"
value="myproxyserver.com"/>
<sysproperty key="http.proxyport"
value="80"/>
Vincent
Pavel Tankov wrote:
> Hello Vincent,
>
> I will answer in order:
> 2) This doesn't work either. I get the following error:
>
------------------------------------------------------------
-------------------
>
net.java.sip.communicator.service.contactlist.MetaContactLis
tException: failed to create contactht
tp://news.google.com/nwshp?tab=wn&output=rss
> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:409)
> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.createMetaContact(MetaContactListServiceImpl.java:
680)
> at
net.java.sip.communicator.impl.gui.main.contactlist.addconta
ct.AddContactWizard$CreateContact.run(AddContactWizard.java:
88)
> Caused by:
net.java.sip.communicator.service.protocol.OperationFailedEx
ception: Failed to create and XmlReader for url: ht
tp://news.google.com/nwshp?tab=wn&output=rss
> at
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:93)
> at
net.java.sip.communicator.impl.protocol.rss.OperationSetPers
istentPresenceRssImpl.subscribe(OperationSetPersistentPresen
ceRssImpl.java:860)
> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:393)
> ... 2 more
> Caused by: java.net.ConnectException: Connection
refused
> at java.net.PlainSocketImpl.socketConnect(Native
Method)
> at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
> at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.ja
va:195)
> at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
> at java.net.Socket.connect(Socket.java:519)
> at java.net.Socket.connect(Socket.java:469)
> at
sun.net.NetworkClient.doConnect(NetworkClient.java:157)
> at
sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
> at
sun.net.www.http.HttpClient.openServer(HttpClient.java:500)
> at
sun.net.www.http.HttpClient.(HttpClient.java:233)
> at
sun.net.www.http.HttpClient.New(HttpClient.java:306)
> at
sun.net.www.http.HttpClient.New(HttpClient.java:318)
> at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(HttpURLConnection.java:792)
> at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Htt
pURLConnection.java:733)
> at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLC
onnection.java:658)
> at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(H
ttpURLConnection.java:981)
> at
com.sun.syndication.io.XmlReader.<init>(XmlReader.java
:174)
> at
com.sun.syndication.io.XmlReader.<init>(XmlReader.java
:151)
> at
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:89)
> ... 4 more
>
------------------------------------------------------------
-------------------
> The proxy I use is the company proxy and it is a simple
HTTP proxy. I don't have another way to access Internet.
>
> The wget ... thing works fine, but my wget also
accesses the Internet via a proxy (I have the environment
variables http_proxy and ftp_proxy set up correctly).
>
> Thanks,
> Pavel Tankov
>
> ----- Original Message ----
> From: Vincent Lucas <lucas clarinet.u-strasbg.fr>
> To: dev sip-communicator.dev.java.net
> Sent: Thursday, July 19, 2007 3:42:48 PM
> Subject: Re: [sip-comm-dev] RSS behind proxy
>
> Hi Pavel,
>
> Two things about the "http://w
ww.segabg.com/rss/rss20.xml";;; RSS feed:
>
> 1) I have tried it and get the following error, which
correspond to the
> case we don't understand the date format (well known
issue:
> https://sip-communicator.dev.java.
net/servlets/ReadMsg?list=dev&msgNo=1766):
> [java] 13:19:32.567 SEVERE:
>
impl.gui.main.contactlist.addcontact.AddContactWizard.run().
93
>
net.java.sip.communicator.service.contactlist.MetaContactLis
tException:
> failed to create contacthttp://www.segabg
.com/rss/rss20.xml
> [java]
>
net.java.sip.communicator.service.contactlist.MetaContactLis
tException:
> failed to create contacthttp://www.segabg
.com/rss/rss20.xml
> [java] at
>
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:409)
> [java] at
>
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.createMetaContact(MetaContactListServiceImpl.java:
680)
> [java] at
>
net.java.sip.communicator.impl.gui.main.contactlist.addconta
ct.AddContactWizard$CreateContact.run(AddContactWizard.java:
88)
> [java] Caused by:
>
net.java.sip.communicator.service.protocol.OperationFailedEx
ception: We
> can't retrieve dates for RSS flow "Вестник
"Сега" - електронно издание"
> (http://www.segabg
.com/rss/rss20.xml)
> [java] at
>
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:114)
> [java] at
>
net.java.sip.communicator.impl.protocol.rss.OperationSetPers
istentPresenceRssImpl.subscribe(OperationSetPersistentPresen
ceRssImpl.java:860)
> [java] at
>
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:393)
> [java] ... 2 more
>
> 2) For the proxy problem:
> -- Does any other RSS feed works for you with SC (i.e.
> ht
tp://news.google.com/nwshp?tab=wn&output=rss)?
> -- Can you give us more details on your local
network/proxy, that will
> be helpful to reproduce/understand the error?
> -- Can you confirm that a you can access the flow with
a simple: "wget
> http://
www.segabg.com/rss/rss20.xml";;;?
>
> Cheers,
> Vincent
>
> Pavel Tankov wrote:
>> Hello People,
>>
>>
>>
>> Is RSS reader supposed to work behind proxy? I was
trying to add this RSS: http://www.segabg
.com/rss/rss20.xml but got the following error:
>>
>>
>>
>> ---------------------------------
>>
>>
net.java.sip.communicator.service.contactlist.MetaContactLis
tException: failed to create contacthttp://www.segabg
.com/rss/rss20.xml
>>
>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:409)
>>
>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.createMetaContact(MetaContactListServiceImpl.java:
680)
>>
>> at
net.java.sip.communicator.impl.gui.main.contactlist.addconta
ct.AddContactWizard$CreateContact.run(AddContactWizard.java:
88)
>>
>> Caused by:
net.java.sip.communicator.service.protocol.OperationFailedEx
ception: Failed to create and XmlReader for url: http://www.segabg
.com/rss/rss20.xml
>>
>> at
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:93)
>>
>> at
net.java.sip.communicator.impl.protocol.rss.OperationSetPers
istentPresenceRssImpl.subscribe(OperationSetPersistentPresen
ceRssImpl.java:860)
>>
>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:393)
>>
>> ... 2 more
>>
>> Caused by: java.net.ConnectException: Connection
refused
>>
>> at
java.net.PlainSocketImpl.socketConnect(Native Method)
>>
>> at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>>
>> at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.ja
va:195)
>>
>> at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>>
>> at java.net.Socket.connect(Socket.java:519)
>>
>> at java.net.Socket.connect(Socket.java:469)
>>
>> at
sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>>
>> at
sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
>>
>> at
sun.net.www.http.HttpClient.openServer(HttpClient.java:500)
>>
>> at
sun.net.www.http.HttpClient.<init>(HttpClient.java:233
)
>>
>> at
sun.net.www.http.HttpClient.New(HttpClient.java:306)
>>
>> at
sun.net.www.http.HttpClient.New(HttpClient.java:318)
>>
>> at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(HttpURLConnection.java:792)
>>
>> at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Htt
pURLConnection.java:733)
>>
>> at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLC
onnection.java:658)
>>
>> at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(H
ttpURLConnection.java:981)
>>
>> at
com.sun.syndication.io.XmlReader.<init>(XmlReader.java
:174)
>>
>> at
com.sun.syndication.io.XmlReader.<init>(XmlReader.java
:151)
>>
>> at
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:89)
>>
>> ... 4 more
>>
>> ---------------------------------
>>
>>
>>
>> Thanks,
>>
>> Pavel Tankov
>>
>>
>>
>>
>>
>>
>>
>>
>>
____________________________________________________________
________________________
>> Got a little couch potato?
>> Check out fun summer activities for kids.
>> http://search.yahoo.com/
search?fr=oni_on_mail&p=summer+activities+for+kids&c
s=bz
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
>> For additional commands, e-mail: dev-help sip-communicator.dev.java.net
>>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
> For additional commands, e-mail: dev-help sip-communicator.dev.java.net
>
>
>
>
>
>
>
>
____________________________________________________________
________________________
> Pinpoint customers who are looking for what you sell.
> http://searchmarket
ing.yahoo.com/
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
> For additional commands, e-mail: dev-help sip-communicator.dev.java.net
>
____________________________________________________________
________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
For additional commands, e-mail: dev-help sip-communicator.dev.java.net
____________________________________________________________
________________________
Be a better Heartthrob. Get better relationship answers from
someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=3965454
33
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
For additional commands, e-mail: dev-help sip-communicator.dev.java.net
|
|
| Re: RSS behind proxy |

|
2007-07-19 13:44:22 |
Hi Pavel,
As Vincent mentioned, you are indeed experiencing two
different
problems. One is that fact that we don't support proxies
right now. This
could be easily fixed by adding an Advanced panel inside the
RSS wizard
that would allow the user to set the proxy. (Mihai, Vincent,
what do you
think?)
The other problem comes from dates and the fact that we are
currently
using them as item identifiers. We therefore refuse to load
flows that
don't contain a date we could parse. I know that Mihai was
looking into
this but I don't know whether he has already come up with a
specific
solution that would allow us to use something else as an
identifier.
Cheers
Emil
Pavel Tankov wrote:
> OK, now that I got home, here's more info
>
> At home I am not forced to use proxy, but I'm behind an
NAT or... firewall - I'm not sure. Anyway, there's another
computer with a real IP that's sitting between me and the
Internet and it's sharing its network connection with me, so
you say what it is
>
> Here's the error I get this time trying to connect to
yahoo.com>
> To: dev sip-communicator.dev.java.net
> Sent: Thursday, July 19, 2007 5:37:25 PM
> Subject: Re: [sip-comm-dev] RSS behind proxy
>
> Unfortunately, still no luck. Even with the patch you
sent me I get the same exception. I tried adding the RSS ht
tp://news.google.com/nwshp?tab=wn&output=rss on a
machine with direct connection to Internet and it
succeeded.
>
> Thanks,
> Pavel Tankov
>
> ----- Original Message ----
> From: Vincent Lucas <lucas clarinet.u-strasbg.fr>
> To: dev sip-communicator.dev.java.net
> Sent: Thursday, July 19, 2007 4:41:44 PM
> Subject: Re: [sip-comm-dev] RSS behind proxy
>
> RE-Hi Pavel
>
> Maybe a little change in your "build.xml" can
do it. Just try to add to
> your "build.xml" the following (with the
correct proxyhost address and
> port) properties (joined in the patch too):
> <sysproperty
key="http.proxyhost"
>
value="myproxyserver.com"/>
>
> <sysproperty
key="http.proxyport"
> value="80"/>
>
> Vincent
>
> Pavel Tankov wrote:
>> Hello Vincent,
>>
>> I will answer in order:
>> 2) This doesn't work either. I get the following
error:
>>
------------------------------------------------------------
-------------------
>>
net.java.sip.communicator.service.contactlist.MetaContactLis
tException: failed to create contactht
tp://news.google.com/nwshp?tab=wn&output=rss
>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:409)
>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.createMetaContact(MetaContactListServiceImpl.java:
680)
>> at
net.java.sip.communicator.impl.gui.main.contactlist.addconta
ct.AddContactWizard$CreateContact.run(AddContactWizard.java:
88)
>> Caused by:
net.java.sip.communicator.service.protocol.OperationFailedEx
ception: Failed to create and XmlReader for url: ht
tp://news.google.com/nwshp?tab=wn&output=rss
>> at
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:93)
>> at
net.java.sip.communicator.impl.protocol.rss.OperationSetPers
istentPresenceRssImpl.subscribe(OperationSetPersistentPresen
ceRssImpl.java:860)
>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:393)
>> ... 2 more
>> Caused by: java.net.ConnectException: Connection
refused
>> at
java.net.PlainSocketImpl.socketConnect(Native Method)
>> at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>> at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.ja
va:195)
>> at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>> at java.net.Socket.connect(Socket.java:519)
>> at java.net.Socket.connect(Socket.java:469)
>> at
sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>> at
sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
>> at
sun.net.www.http.HttpClient.openServer(HttpClient.java:500)
>> at
sun.net.www.http.HttpClient.(HttpClient.java:233)
>> at
sun.net.www.http.HttpClient.New(HttpClient.java:306)
>> at
sun.net.www.http.HttpClient.New(HttpClient.java:318)
>> at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(HttpURLConnection.java:792)
>> at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Htt
pURLConnection.java:733)
>> at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLC
onnection.java:658)
>> at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(H
ttpURLConnection.java:981)
>> at
com.sun.syndication.io.XmlReader.<init>(XmlReader.java
:174)
>> at
com.sun.syndication.io.XmlReader.<init>(XmlReader.java
:151)
>> at
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:89)
>> ... 4 more
>>
------------------------------------------------------------
-------------------
>> The proxy I use is the company proxy and it is a
simple HTTP proxy. I don't have another way to access
Internet.
>>
>> The wget ... thing works fine, but my wget also
accesses the Internet via a proxy (I have the environment
variables http_proxy and ftp_proxy set up correctly).
>>
>> Thanks,
>> Pavel Tankov
>>
>> ----- Original Message ----
>> From: Vincent Lucas <lucas clarinet.u-strasbg.fr>
>> To: dev sip-communicator.dev.java.net
>> Sent: Thursday, July 19, 2007 3:42:48 PM
>> Subject: Re: [sip-comm-dev] RSS behind proxy
>>
>> Hi Pavel,
>>
>> Two things about the "http://w
ww.segabg.com/rss/rss20.xml";;; RSS feed:
>>
>> 1) I have tried it and get the following error,
which correspond to the
>> case we don't understand the date format (well
known issue:
>> https://sip-communicator.dev.java.
net/servlets/ReadMsg?list=dev&msgNo=1766):
>> [java] 13:19:32.567 SEVERE:
>>
impl.gui.main.contactlist.addcontact.AddContactWizard.run().
93
>>
net.java.sip.communicator.service.contactlist.MetaContactLis
tException:
>> failed to create contacthttp://www.segabg
.com/rss/rss20.xml
>> [java]
>>
net.java.sip.communicator.service.contactlist.MetaContactLis
tException:
>> failed to create contacthttp://www.segabg
.com/rss/rss20.xml
>> [java] at
>>
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:409)
>> [java] at
>>
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.createMetaContact(MetaContactListServiceImpl.java:
680)
>> [java] at
>>
net.java.sip.communicator.impl.gui.main.contactlist.addconta
ct.AddContactWizard$CreateContact.run(AddContactWizard.java:
88)
>> [java] Caused by:
>>
net.java.sip.communicator.service.protocol.OperationFailedEx
ception: We
>> can't retrieve dates for RSS flow "Вестник
"Сега" - електронно издание"
>> (http://www.segabg
.com/rss/rss20.xml)
>> [java] at
>>
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:114)
>> [java] at
>>
net.java.sip.communicator.impl.protocol.rss.OperationSetPers
istentPresenceRssImpl.subscribe(OperationSetPersistentPresen
ceRssImpl.java:860)
>> [java] at
>>
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:393)
>> [java] ... 2 more
>>
>> 2) For the proxy problem:
>> -- Does any other RSS feed works for you with SC
(i.e.
>> ht
tp://news.google.com/nwshp?tab=wn&output=rss)?
>> -- Can you give us more details on your local
network/proxy, that will
>> be helpful to reproduce/understand the error?
>> -- Can you confirm that a you can access the flow
with a simple: "wget
>> http://
www.segabg.com/rss/rss20.xml";;;?
>>
>> Cheers,
>> Vincent
>>
>> Pavel Tankov wrote:
>>> Hello People,
>>>
>>>
>>>
>>> Is RSS reader supposed to work behind proxy? I
was trying to add this RSS: http://www.segabg
.com/rss/rss20.xml but got the following error:
>>>
>>>
>>>
>>> ---------------------------------
>>>
>>>
net.java.sip.communicator.service.contactlist.MetaContactLis
tException: failed to create contacthttp://www.segabg
.com/rss/rss20.xml
>>>
>>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:409)
>>>
>>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.createMetaContact(MetaContactListServiceImpl.java:
680)
>>>
>>> at
net.java.sip.communicator.impl.gui.main.contactlist.addconta
ct.AddContactWizard$CreateContact.run(AddContactWizard.java:
88)
>>>
>>> Caused by:
net.java.sip.communicator.service.protocol.OperationFailedEx
ception: Failed to create and XmlReader for url: http://www.segabg
.com/rss/rss20.xml
>>>
>>> at
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:93)
>>>
>>> at
net.java.sip.communicator.impl.protocol.rss.OperationSetPers
istentPresenceRssImpl.subscribe(OperationSetPersistentPresen
ceRssImpl.java:860)
>>>
>>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:393)
>>>
>>> ... 2 more
>>>
>>> Caused by: java.net.ConnectException:
Connection refused
>>>
>>> at
java.net.PlainSocketImpl.socketConnect(Native Method)
>>>
>>> at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>>>
>>> at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.ja
va:195)
>>>
>>> at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>>>
>>> at
java.net.Socket.connect(Socket.java:519)
>>>
>>> at
java.net.Socket.connect(Socket.java:469)
>>>
>>> at
sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>>>
>>> at
sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
>>>
>>> at
sun.net.www.http.HttpClient.openServer(HttpClient.java:500)
>>>
>>> at
sun.net.www.http.HttpClient.<init>(HttpClient.java:233
)
>>>
>>> at
sun.net.www.http.HttpClient.New(HttpClient.java:306)
>>>
>>> at
sun.net.www.http.HttpClient.New(HttpClient.java:318)
>>>
>>> at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(HttpURLConnection.java:792)
>>>
>>> at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Htt
pURLConnection.java:733)
>>>
>>> at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLC
onnection.java:658)
>>>
>>> at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(H
ttpURLConnection.java:981)
>>>
>>> at
com.sun.syndication.io.XmlReader.<init>(XmlReader.java
:174)
>>>
>>> at
com.sun.syndication.io.XmlReader.<init>(XmlReader.java
:151)
>>>
>>> at
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:89)
>>>
>>> ... 4 more
>>>
>>> ---------------------------------
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Pavel Tankov
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
____________________________________________________________
________________________
>>> Got a little couch potato?
>>> Check out fun summer activities for kids.
>>> http://search.yahoo.com/
search?fr=oni_on_mail&p=summer+activities+for+kids&c
s=bz
>>>
>>>
------------------------------------------------------------
---------
>>> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
>>> For additional commands, e-mail: dev-help sip-communicator.dev.java.net
>>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
>> For additional commands, e-mail: dev-help sip-communicator.dev.java.net
>>
>>
>>
>>
>>
>>
>>
>>
____________________________________________________________
________________________
>> Pinpoint customers who are looking for what you
sell.
>> http://searchmarket
ing.yahoo.com/
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
>> For additional commands, e-mail: dev-help sip-communicator.dev.java.net
>>
>
>
>
>
>
>
>
>
____________________________________________________________
________________________
> Yahoo! oneSearch: Finally, mobile search
> that gives answers, not web links.
> http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
> For additional commands, e-mail: dev-help sip-communicator.dev.java.net
>
>
>
>
>
>
>
>
____________________________________________________________
________________________
> Be a better Heartthrob. Get better relationship answers
from someone who knows. Yahoo! Answers - Check it out.
> http://answers.yahoo.com/dir/?link=list&sid=3965454
33
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
> For additional commands, e-mail: dev-help sip-communicator.dev.java.net
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
For additional commands, e-mail: dev-help sip-communicator.dev.java.net
|
|
| Re: RSS behind proxy |

|
2007-07-20 08:43:05 |
Hi Emil,
I approve the solution of the Advanced panel inside the RSS
wizard. The
same panel is used for ICQ and may be easily reused for the
RSS wizard.
Vincent
Emil Ivov wrote:
> Hi Pavel,
>
> As Vincent mentioned, you are indeed experiencing two
different
> problems. One is that fact that we don't support
proxies right now. This
> could be easily fixed by adding an Advanced panel
inside the RSS wizard
> that would allow the user to set the proxy. (Mihai,
Vincent, what do you
> think?)
>
> The other problem comes from dates and the fact that we
are currently
> using them as item identifiers. We therefore refuse to
load flows that
> don't contain a date we could parse. I know that Mihai
was looking into
> this but I don't know whether he has already come up
with a specific
> solution that would allow us to use something else as
an identifier.
>
> Cheers
> Emil
>
> Pavel Tankov wrote:
>> OK, now that I got home, here's more info
>>
>> At home I am not forced to use proxy, but I'm
behind an NAT or... firewall - I'm not sure. Anyway, there's
another computer with a real IP that's sitting between me
and the Internet and it's sharing its network connection
with me, so you say what it is
>>
>> Here's the error I get this time trying to connect
to yahoo.com>
>> To: dev sip-communicator.dev.java.net
>> Sent: Thursday, July 19, 2007 5:37:25 PM
>> Subject: Re: [sip-comm-dev] RSS behind proxy
>>
>> Unfortunately, still no luck. Even with the patch
you sent me I get the same exception. I tried adding the RSS
ht
tp://news.google.com/nwshp?tab=wn&output=rss on a
machine with direct connection to Internet and it
succeeded.
>>
>> Thanks,
>> Pavel Tankov
>>
>> ----- Original Message ----
>> From: Vincent Lucas <lucas clarinet.u-strasbg.fr>
>> To: dev sip-communicator.dev.java.net
>> Sent: Thursday, July 19, 2007 4:41:44 PM
>> Subject: Re: [sip-comm-dev] RSS behind proxy
>>
>> RE-Hi Pavel
>>
>> Maybe a little change in your "build.xml"
can do it. Just try to add to
>> your "build.xml" the following (with the
correct proxyhost address and
>> port) properties (joined in the patch too):
>> <sysproperty
key="http.proxyhost"
>>
value="myproxyserver.com"/>
>>
>> <sysproperty
key="http.proxyport"
>> value="80"/>
>>
>> Vincent
>>
>> Pavel Tankov wrote:
>>> Hello Vincent,
>>>
>>> I will answer in order:
>>> 2) This doesn't work either. I get the
following error:
>>>
------------------------------------------------------------
-------------------
>>>
net.java.sip.communicator.service.contactlist.MetaContactLis
tException: failed to create contactht
tp://news.google.com/nwshp?tab=wn&output=rss
>>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:409)
>>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.createMetaContact(MetaContactListServiceImpl.java:
680)
>>> at
net.java.sip.communicator.impl.gui.main.contactlist.addconta
ct.AddContactWizard$CreateContact.run(AddContactWizard.java:
88)
>>> Caused by:
net.java.sip.communicator.service.protocol.OperationFailedEx
ception: Failed to create and XmlReader for url: ht
tp://news.google.com/nwshp?tab=wn&output=rss
>>> at
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:93)
>>> at
net.java.sip.communicator.impl.protocol.rss.OperationSetPers
istentPresenceRssImpl.subscribe(OperationSetPersistentPresen
ceRssImpl.java:860)
>>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:393)
>>> ... 2 more
>>> Caused by: java.net.ConnectException:
Connection refused
>>> at
java.net.PlainSocketImpl.socketConnect(Native Method)
>>> at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>>> at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.ja
va:195)
>>> at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>>> at
java.net.Socket.connect(Socket.java:519)
>>> at
java.net.Socket.connect(Socket.java:469)
>>> at
sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>>> at
sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
>>> at
sun.net.www.http.HttpClient.openServer(HttpClient.java:500)
>>> at
sun.net.www.http.HttpClient.(HttpClient.java:233)
>>> at
sun.net.www.http.HttpClient.New(HttpClient.java:306)
>>> at
sun.net.www.http.HttpClient.New(HttpClient.java:318)
>>> at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(HttpURLConnection.java:792)
>>> at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Htt
pURLConnection.java:733)
>>> at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLC
onnection.java:658)
>>> at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(H
ttpURLConnection.java:981)
>>> at
com.sun.syndication.io.XmlReader.<init>(XmlReader.java
:174)
>>> at
com.sun.syndication.io.XmlReader.<init>(XmlReader.java
:151)
>>> at
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:89)
>>> ... 4 more
>>>
------------------------------------------------------------
-------------------
>>> The proxy I use is the company proxy and it is
a simple HTTP proxy. I don't have another way to access
Internet.
>>>
>>> The wget ... thing works fine, but my wget also
accesses the Internet via a proxy (I have the environment
variables http_proxy and ftp_proxy set up correctly).
>>>
>>> Thanks,
>>> Pavel Tankov
>>>
>>> ----- Original Message ----
>>> From: Vincent Lucas <lucas clarinet.u-strasbg.fr>
>>> To: dev sip-communicator.dev.java.net
>>> Sent: Thursday, July 19, 2007 3:42:48 PM
>>> Subject: Re: [sip-comm-dev] RSS behind proxy
>>>
>>> Hi Pavel,
>>>
>>> Two things about the "http://w
ww.segabg.com/rss/rss20.xml";;; RSS feed:
>>>
>>> 1) I have tried it and get the following error,
which correspond to the
>>> case we don't understand the date format (well
known issue:
>>> https://sip-communicator.dev.java.
net/servlets/ReadMsg?list=dev&msgNo=1766):
>>> [java] 13:19:32.567 SEVERE:
>>>
impl.gui.main.contactlist.addcontact.AddContactWizard.run().
93
>>>
net.java.sip.communicator.service.contactlist.MetaContactLis
tException:
>>> failed to create contacthttp://www.segabg
.com/rss/rss20.xml
>>> [java]
>>>
net.java.sip.communicator.service.contactlist.MetaContactLis
tException:
>>> failed to create contacthttp://www.segabg
.com/rss/rss20.xml
>>> [java] at
>>>
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:409)
>>> [java] at
>>>
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.createMetaContact(MetaContactListServiceImpl.java:
680)
>>> [java] at
>>>
net.java.sip.communicator.impl.gui.main.contactlist.addconta
ct.AddContactWizard$CreateContact.run(AddContactWizard.java:
88)
>>> [java] Caused by:
>>>
net.java.sip.communicator.service.protocol.OperationFailedEx
ception: We
>>> can't retrieve dates for RSS flow "Вестник
"Сега" - електронно издание"
>>> (http://www.segabg
.com/rss/rss20.xml)
>>> [java] at
>>>
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:114)
>>> [java] at
>>>
net.java.sip.communicator.impl.protocol.rss.OperationSetPers
istentPresenceRssImpl.subscribe(OperationSetPersistentPresen
ceRssImpl.java:860)
>>> [java] at
>>>
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:393)
>>> [java] ... 2 more
>>>
>>> 2) For the proxy problem:
>>> -- Does any other RSS feed works for you with
SC (i.e.
>>> ht
tp://news.google.com/nwshp?tab=wn&output=rss)?
>>> -- Can you give us more details on your local
network/proxy, that will
>>> be helpful to reproduce/understand the error?
>>> -- Can you confirm that a you can access the
flow with a simple: "wget
>>> http://
www.segabg.com/rss/rss20.xml";;;?
>>>
>>> Cheers,
>>> Vincent
>>>
>>> Pavel Tankov wrote:
>>>> Hello People,
>>>>
>>>>
>>>>
>>>> Is RSS reader supposed to work behind
proxy? I was trying to add this RSS: http://www.segabg
.com/rss/rss20.xml but got the following error:
>>>>
>>>>
>>>>
>>>> ---------------------------------
>>>>
>>>>
net.java.sip.communicator.service.contactlist.MetaContactLis
tException: failed to create contacthttp://www.segabg
.com/rss/rss20.xml
>>>>
>>>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:409)
>>>>
>>>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.createMetaContact(MetaContactListServiceImpl.java:
680)
>>>>
>>>> at
net.java.sip.communicator.impl.gui.main.contactlist.addconta
ct.AddContactWizard$CreateContact.run(AddContactWizard.java:
88)
>>>>
>>>> Caused by:
net.java.sip.communicator.service.protocol.OperationFailedEx
ception: Failed to create and XmlReader for url: http://www.segabg
.com/rss/rss20.xml
>>>>
>>>> at
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:93)
>>>>
>>>> at
net.java.sip.communicator.impl.protocol.rss.OperationSetPers
istentPresenceRssImpl.subscribe(OperationSetPersistentPresen
ceRssImpl.java:860)
>>>>
>>>> at
net.java.sip.communicator.impl.contactlist.MetaContactListSe
rviceImpl.addNewContactToMetaContact(MetaContactListServiceI
mpl.java:393)
>>>>
>>>> ... 2 more
>>>>
>>>> Caused by: java.net.ConnectException:
Connection refused
>>>>
>>>> at
java.net.PlainSocketImpl.socketConnect(Native Method)
>>>>
>>>> at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>>>>
>>>> at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.ja
va:195)
>>>>
>>>> at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>>>>
>>>> at
java.net.Socket.connect(Socket.java:519)
>>>>
>>>> at
java.net.Socket.connect(Socket.java:469)
>>>>
>>>> at
sun.net.NetworkClient.doConnect(NetworkClient.java:157)
>>>>
>>>> at
sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
>>>>
>>>> at
sun.net.www.http.HttpClient.openServer(HttpClient.java:500)
>>>>
>>>> at
sun.net.www.http.HttpClient.<init>(HttpClient.java:233
)
>>>>
>>>> at
sun.net.www.http.HttpClient.New(HttpClient.java:306)
>>>>
>>>> at
sun.net.www.http.HttpClient.New(HttpClient.java:318)
>>>>
>>>> at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient
(HttpURLConnection.java:792)
>>>>
>>>> at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Htt
pURLConnection.java:733)
>>>>
>>>> at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLC
onnection.java:658)
>>>>
>>>> at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(H
ttpURLConnection.java:981)
>>>>
>>>> at
com.sun.syndication.io.XmlReader.<init>(XmlReader.java
:174)
>>>>
>>>> at
com.sun.syndication.io.XmlReader.<init>(XmlReader.java
:151)
>>>>
>>>> at
net.java.sip.communicator.impl.protocol.rss.RssFeedReader.re
trieveFlow(RssFeedReader.java:89)
>>>>
>>>> ... 4 more
>>>>
>>>> ---------------------------------
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Pavel Tankov
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
____________________________________________________________
________________________
>>>> Got a little couch potato?
>>>> Check out fun summer activities for kids.
>>>> http://search.yahoo.com/
search?fr=oni_on_mail&p=summer+activities+for+kids&c
s=bz
>>>>
>>>>
------------------------------------------------------------
---------
>>>> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
>>>> For additional commands, e-mail:
dev-help sip-communicator.dev.java.net
>>>>
>>>
------------------------------------------------------------
---------
>>> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
>>> For additional commands, e-mail: dev-help sip-communicator.dev.java.net
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
____________________________________________________________
________________________
>>> Pinpoint customers who are looking for what you
sell.
>>> http://searchmarket
ing.yahoo.com/
>>>
>>>
------------------------------------------------------------
---------
>>> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
>>> For additional commands, e-mail: dev-help sip-communicator.dev.java.net
>>>
>>
>>
>>
>>
>>
>>
>>
____________________________________________________________
________________________
>> Yahoo! oneSearch: Finally, mobile search
>> that gives answers, not web links.
>> http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
>> For additional commands, e-mail: dev-help sip-communicator.dev.java.net
>>
>>
>>
>>
>>
>>
>>
>>
____________________________________________________________
________________________
>> Be a better Heartthrob. Get better relationship
answers from someone who knows. Yahoo! Answers - Check it
out.
>> http://answers.yahoo.com/dir/?link=list&sid=3965454
33
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
>> For additional commands, e-mail: dev-help sip-communicator.dev.java.net
>>
>>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
> For additional commands, e-mail: dev-help sip-communicator.dev.java.net
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe sip-communicator.dev.java.net
For additional commands, e-mail: dev-help sip-communicator.dev.java.net
|
|
[1-3]
|
|