[sip-comm-dev] RSS behind proxy


#1

OK, now that I got home, here's more info :slight_smile:

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 :slight_smile:

Here's the error I get this time trying to connect to http://news.google.com/nwshp?tab=wn&output=rss:

···

--------------------------------------------------------
null
     at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:427)
     at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.createMetaContact(MetaContactListServiceImpl.java:674)
     at net.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizard$CreateContact.run(AddContactWizard.java:88)
--------------------------------------------------------

Thanks,
Pavel Tankov

----- Original Message ----
From: Pavel Tankov <tankov_pavel@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 http://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 :slight_smile:

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.MetaContactListException: failed to create contacthttp://news.google.com/nwshp?tab=wn&output=rss
    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:409)
    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.createMetaContact(MetaContactListServiceImpl.java:680)
    at net.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizard$CreateContact.run(AddContactWizard.java:88)
Caused by: net.java.sip.communicator.service.protocol.OperationFailedException: Failed to create and XmlReader for url: http://news.google.com/nwshp?tab=wn&output=rss
    at net.java.sip.communicator.impl.protocol.rss.RssFeedReader.retrieveFlow(RssFeedReader.java:93)
    at net.java.sip.communicator.impl.protocol.rss.OperationSetPersistentPresenceRssImpl.subscribe(OperationSetPersistentPresenceRssImpl.java:860)
    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.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.java: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(HttpURLConnection.java:733)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.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.retrieveFlow(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://www.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.MetaContactListException:
failed to create contacthttp://www.segabg.com/rss/rss20.xml
      [java]
net.java.sip.communicator.service.contactlist.MetaContactListException:
failed to create contacthttp://www.segabg.com/rss/rss20.xml
      [java] at
net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:409)
      [java] at
net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.createMetaContact(MetaContactListServiceImpl.java:680)
      [java] at
net.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizard$CreateContact.run(AddContactWizard.java:88)
      [java] Caused by:
net.java.sip.communicator.service.protocol.OperationFailedException: 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.retrieveFlow(RssFeedReader.java:114)
      [java] at
net.java.sip.communicator.impl.protocol.rss.OperationSetPersistentPresenceRssImpl.subscribe(OperationSetPersistentPresenceRssImpl.java:860)
      [java] at
net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:393)
      [java] ... 2 more

2) For the proxy problem:
-- Does any other RSS feed works for you with SC (i.e.
http://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.MetaContactListException: failed to create contacthttp://www.segabg.com/rss/rss20.xml

    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:409)

    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.createMetaContact(MetaContactListServiceImpl.java:680)

    at net.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizard$CreateContact.run(AddContactWizard.java:88)

Caused by: net.java.sip.communicator.service.protocol.OperationFailedException: Failed to create and XmlReader for url: http://www.segabg.com/rss/rss20.xml

    at net.java.sip.communicator.impl.protocol.rss.RssFeedReader.retrieveFlow(RssFeedReader.java:93)

    at net.java.sip.communicator.impl.protocol.rss.OperationSetPersistentPresenceRssImpl.subscribe(OperationSetPersistentPresenceRssImpl.java:860)

    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.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.java: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(HttpURLConnection.java:733)

    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658)

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.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.retrieveFlow(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&cs=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://searchmarketing.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=396545433

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

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 :slight_smile:

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 :slight_smile:

Here's the error I get this time trying to connect to http://news.google.com/nwshp?tab=wn&output=rss:

--------------------------------------------------------
null
     at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:427)
     at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.createMetaContact(MetaContactListServiceImpl.java:674)
     at net.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizard$CreateContact.run(AddContactWizard.java:88)
--------------------------------------------------------

Thanks,
Pavel Tankov

----- Original Message ----
From: Pavel Tankov <tankov_pavel@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 http://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 :slight_smile:

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.MetaContactListException: failed to create contacthttp://news.google.com/nwshp?tab=wn&output=rss
    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:409)
    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.createMetaContact(MetaContactListServiceImpl.java:680)
    at net.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizard$CreateContact.run(AddContactWizard.java:88)
Caused by: net.java.sip.communicator.service.protocol.OperationFailedException: Failed to create and XmlReader for url: http://news.google.com/nwshp?tab=wn&output=rss
    at net.java.sip.communicator.impl.protocol.rss.RssFeedReader.retrieveFlow(RssFeedReader.java:93)
    at net.java.sip.communicator.impl.protocol.rss.OperationSetPersistentPresenceRssImpl.subscribe(OperationSetPersistentPresenceRssImpl.java:860)
    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.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.java: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(HttpURLConnection.java:733)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.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.retrieveFlow(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://www.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.MetaContactListException:
failed to create contacthttp://www.segabg.com/rss/rss20.xml
      [java]
net.java.sip.communicator.service.contactlist.MetaContactListException:
failed to create contacthttp://www.segabg.com/rss/rss20.xml
      [java] at
net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:409)
      [java] at
net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.createMetaContact(MetaContactListServiceImpl.java:680)
      [java] at
net.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizard$CreateContact.run(AddContactWizard.java:88)
      [java] Caused by:
net.java.sip.communicator.service.protocol.OperationFailedException: 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.retrieveFlow(RssFeedReader.java:114)
      [java] at
net.java.sip.communicator.impl.protocol.rss.OperationSetPersistentPresenceRssImpl.subscribe(OperationSetPersistentPresenceRssImpl.java:860)
      [java] at
net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:393)
      [java] ... 2 more

2) For the proxy problem:
-- Does any other RSS feed works for you with SC (i.e.
http://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.MetaContactListException: failed to create contacthttp://www.segabg.com/rss/rss20.xml

    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:409)

    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.createMetaContact(MetaContactListServiceImpl.java:680)

    at net.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizard$CreateContact.run(AddContactWizard.java:88)

Caused by: net.java.sip.communicator.service.protocol.OperationFailedException: Failed to create and XmlReader for url: http://www.segabg.com/rss/rss20.xml

    at net.java.sip.communicator.impl.protocol.rss.RssFeedReader.retrieveFlow(RssFeedReader.java:93)

    at net.java.sip.communicator.impl.protocol.rss.OperationSetPersistentPresenceRssImpl.subscribe(OperationSetPersistentPresenceRssImpl.java:860)

    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.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.java: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(HttpURLConnection.java:733)

    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658)

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.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.retrieveFlow(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&cs=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://searchmarketing.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=396545433

---------------------------------------------------------------------
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


#3

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 :slight_smile:

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 :slight_smile:

Here's the error I get this time trying to connect to http://news.google.com/nwshp?tab=wn&output=rss:

--------------------------------------------------------
null
     at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:427)
     at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.createMetaContact(MetaContactListServiceImpl.java:674)
     at net.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizard$CreateContact.run(AddContactWizard.java:88)
--------------------------------------------------------

Thanks,
Pavel Tankov

----- Original Message ----
From: Pavel Tankov <tankov_pavel@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 http://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 :slight_smile:

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.MetaContactListException: failed to create contacthttp://news.google.com/nwshp?tab=wn&output=rss
    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:409)
    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.createMetaContact(MetaContactListServiceImpl.java:680)
    at net.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizard$CreateContact.run(AddContactWizard.java:88)
Caused by: net.java.sip.communicator.service.protocol.OperationFailedException: Failed to create and XmlReader for url: http://news.google.com/nwshp?tab=wn&output=rss
    at net.java.sip.communicator.impl.protocol.rss.RssFeedReader.retrieveFlow(RssFeedReader.java:93)
    at net.java.sip.communicator.impl.protocol.rss.OperationSetPersistentPresenceRssImpl.subscribe(OperationSetPersistentPresenceRssImpl.java:860)
    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.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.java: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(HttpURLConnection.java:733)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.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.retrieveFlow(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://www.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.MetaContactListException: failed to create contacthttp://www.segabg.com/rss/rss20.xml
      [java] net.java.sip.communicator.service.contactlist.MetaContactListException: failed to create contacthttp://www.segabg.com/rss/rss20.xml
      [java] at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:409)
      [java] at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.createMetaContact(MetaContactListServiceImpl.java:680)
      [java] at net.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizard$CreateContact.run(AddContactWizard.java:88)
      [java] Caused by: net.java.sip.communicator.service.protocol.OperationFailedException: 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.retrieveFlow(RssFeedReader.java:114)
      [java] at net.java.sip.communicator.impl.protocol.rss.OperationSetPersistentPresenceRssImpl.subscribe(OperationSetPersistentPresenceRssImpl.java:860)
      [java] at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:393)
      [java] ... 2 more

2) For the proxy problem:
-- Does any other RSS feed works for you with SC (i.e. http://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.MetaContactListException: failed to create contacthttp://www.segabg.com/rss/rss20.xml

    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.java:409)

    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.createMetaContact(MetaContactListServiceImpl.java:680)

    at net.java.sip.communicator.impl.gui.main.contactlist.addcontact.AddContactWizard$CreateContact.run(AddContactWizard.java:88)

Caused by: net.java.sip.communicator.service.protocol.OperationFailedException: Failed to create and XmlReader for url: http://www.segabg.com/rss/rss20.xml

    at net.java.sip.communicator.impl.protocol.rss.RssFeedReader.retrieveFlow(RssFeedReader.java:93)

    at net.java.sip.communicator.impl.protocol.rss.OperationSetPersistentPresenceRssImpl.subscribe(OperationSetPersistentPresenceRssImpl.java:860)

    at net.java.sip.communicator.impl.contactlist.MetaContactListServiceImpl.addNewContactToMetaContact(MetaContactListServiceImpl.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.java: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(HttpURLConnection.java:733)

    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:658)

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.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.retrieveFlow(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&cs=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://searchmarketing.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=396545433

---------------------------------------------------------------------
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