[sip-comm-dev] RSS behind proxy


#1

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


#2

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