Return to Jive Software

Skip navigation
6,541 Views 25 Replies Last post: Sep 11, 2009 1:02 AM by Ramirezan RSS
Ramirezan Novice 37 posts since
Jun 12, 2009
Currently Being Moderated

Aug 11, 2009 8:06 AM

Error in Accessing RSS Feeds

Hi my offsite developer Kishore Is getting the below Unauthorized error while accessing the RSS Feeds by using his username and password through MyICON sample project (internal ICON Intranet). He is testing exposing some Jive contents using the desired RSS Feeds available out of the box.  The error message is. 

 

"The remote server returned an error: (401) Unauthorized."

Is there any other way that he can get the authorized permission to access this RSS Feed through our sample MyICON project?

Thanks, Anthony

Attachments:
sean.moran Jive Employee 7,757 posts since
Dec 10, 2007
Currently Being Moderated
Aug 11, 2009 10:00 AM in response to: Ramirezan Ramirez
Re: Error in Accessing RSS Feeds

Hi Anthony,

 

How is he passing his username and password with his request? Does this occur for all rss feeds?

Kishorekumar Novice 7 posts since
Jul 2, 2009
Currently Being Moderated
Aug 11, 2009 11:00 PM in response to: Sean Moran
Re: Error in Accessing RSS Feeds

Hi Sean Moran,

 

When I was trying to access the RSS Feed for My Internal Application(MYICON sample project) by means of following methodology, I couldn't able to fetch the details from the RSS Feed and getting the UnAuthorized error.

 

https://<domain>/community/feeds/documents?username=<username>&password=<password> (http://10.11.1.143/community/feeds/threads?community=2001&username=sridharagopalk&password=... )

 

Is there any other way that he can get the authorized permission to access our Discussion group RSS Feed through our sample MyICON project?

 

Thanks,

Kishore.

sean.moran Jive Employee 7,757 posts since
Dec 10, 2007
Currently Being Moderated
Aug 12, 2009 8:16 AM in response to: Kishorekumar
Re: Error in Accessing RSS Feeds

Hi Kishore,

 

RSS feeds use BasicAuthentication. In order to provide your credentials in with your URL you'll need to do something likt http://username:password@mysite.com/community/feeds/allcontent?community=1password@mysite.com/community/feeds/allcontent?community=1

Kishorekumar Novice 7 posts since
Jul 2, 2009
Currently Being Moderated
Aug 13, 2009 2:29 AM in response to: Sean Moran
Re: Error in Accessing RSS Feeds

Hi Sean Moran,

 

Thanks for your response, I have tried similarly but still I am getting the same error. Please correct me if there is any wrong in my calling syntax.

 

http://sridharagopalk:MyPassword@10.11.1.143/community/feeds/allcontent?community=1

 

Thanks,

Kishore.

sean.moran Jive Employee 7,757 posts since
Dec 10, 2007
Currently Being Moderated
Aug 17, 2009 4:09 PM in response to: Ramirezan Ramirez
Re: Error in Accessing RSS Feeds
Is this still an issue? Can we close its case?
sean.moran Jive Employee 7,757 posts since
Dec 10, 2007
Currently Being Moderated
Aug 13, 2009 8:28 AM in response to: Kishorekumar
Re: Error in Accessing RSS Feeds

Hi Kishore,

 

Do you have an SSO in place? Or a proxy, firewall, or VPN ? When viewing the link with a browser, are you promted for your credentials? If you enter them, are you able to view the feed?

Kishorekumar Novice 7 posts since
Jul 2, 2009
Currently Being Moderated
Aug 18, 2009 1:44 AM in response to: Sean Moran
Re: Error in Accessing RSS Feeds

Hi Sean Moran,

 

Actually we are using window Authentication for all our application.(similar to SSO)

When viewing the link in the browser system is prompted me to give my credential after giving that credential it showing the feeds details.

But the same url when I trying through my application(as mentiond above) it is not working and displaying the same error message.

 

Regards,

Kishore

sean.moran Jive Employee 7,757 posts since
Dec 10, 2007
Currently Being Moderated
Aug 18, 2009 7:57 AM in response to: Kishorekumar
Re: Error in Accessing RSS Feeds

Hi Kishore,

 

Do you have any information on how the SSO was implemented? In order for RSS to be able to authenticate as intended, the spring-securityContext.xml has to have a valid basicAuthProcessingFilter in place that is able to authenticate against your SSO.

Kishorekumar Novice 7 posts since
Jul 2, 2009
Currently Being Moderated
Aug 20, 2009 6:25 AM in response to: Sean Moran
Re: Error in Accessing RSS Feeds

Hi Sean,

 

We are using only windows authentication of IIS.We are not passing any authentication ticket from SSO . Can you help us with the basicAuthProcessingFilter setting for our Application?

 

Regards,

Kishore.

sean.moran Jive Employee 7,757 posts since
Dec 10, 2007
Currently Being Moderated
Aug 20, 2009 8:02 AM in response to: Kishorekumar
Re: Error in Accessing RSS Feeds

Hi Kishore,

 

To confirm, you haven't made any code level changes to your SBS environment, correct?

sean.moran Jive Employee 7,757 posts since
Dec 10, 2007
Currently Being Moderated
Aug 20, 2009 9:08 AM in response to: Ramirezan Ramirez
Re: Error in Accessing RSS Feeds

Hi Anthony,

 

Can you confirm your Feed settings ( 'Admin Console' -> 'System' -> 'Settings' -> 'Feeds' ) look similar to those shown below? We're mainly after 'Enabled Feeds' and 'Basic Authentication'

feeds.png

sean.moran Jive Employee 7,757 posts since
Dec 10, 2007
Currently Being Moderated
Aug 20, 2009 9:23 AM in response to: Ramirezan Ramirez
Re: Error in Accessing RSS Feeds

Hi Anthony,

 

Since these settings appear correct, you don't have an SSO in place, and the RSS feeds work in a browser, it sounds like this issue is isolated to the RSS Reader that Kishore is using. It seems as though his RSS reader does not support basic authentication, which is a requirement to view these secure feeds.

Kishorekumar Novice 7 posts since
Jul 2, 2009
Currently Being Moderated
Aug 21, 2009 5:28 AM in response to: Sean Moran
Re: Error in Accessing RSS Feeds

Hi Sean,

 

Actually we are not using RSS Reader to accessing the RSS Feeds, we are using xml reader to read the RSS feeds(we implemented the same logic for our stock application and got succeed).

Can you suggest a RSS Reader API which reads Jive(MyConnect) RSS Feeds in .net environment?

 

Thanks,

Kishore.

sean.moran Jive Employee 7,757 posts since
Dec 10, 2007
Currently Being Moderated
Aug 21, 2009 8:49 AM in response to: Kishorekumar
Re: Error in Accessing RSS Feeds

Hi Kishore,

 

I'm not familiar with .NET so I'm afraid I cannot recommend any RSS libraries. I can tell you, however, that the library you select should support the RSS v2 spec, and be able to authenticate using BasicAuthentication.

ajohnson1200 Jive Employee 1,229 posts since
Jan 7, 2004
Currently Being Moderated
Aug 25, 2009 11:20 AM in response to: Kishorekumar
Re: Error in Accessing RSS Feeds

Also, if you're looking for information on parsing / consuming RSS feeds using .NET, you should check out the Windows Feeds API documentation:

 

http://msdn.microsoft.com/en-us/library/ms686418(VS.85).aspx

 

hth,

 

AJ

ajohnson1200 Jive Employee 1,229 posts since
Jan 7, 2004
Currently Being Moderated
Aug 25, 2009 11:17 AM in response to: Kishorekumar
Re: Error in Accessing RSS Feeds

hi Kishore,

 

Can you explain how you're using IIS with Jive SBS? We don't support deployment behind IIS, are you somehow using Windows authentication (assuming you're talking about NTLM here) with the bundled Apache web server?

 

Cheers,

 

AJ

Kishorekumar Novice 7 posts since
Jul 2, 2009
Currently Being Moderated
Aug 26, 2009 7:13 AM in response to: Aaron Johnson
Re: Error in Accessing RSS Feeds

Hi Aaron,

 

The JiveSSB (MYConnect) which I believe is being hosted on Apache server in a Linux environment. We are connecting the Jive(MyConnect) through my current .net application(MYICON) hosted on IIS with Windows Authentication. My Windows Authentication ticket is not passed to that Apache server and I am not getting permission to access the RSS Feeds. Is there any other way that we can access the RSS Feed from my application.

 

Thanks,

Kishore.

 

sean.moran Jive Employee 7,757 posts since
Dec 10, 2007
Currently Being Moderated
Aug 26, 2009 8:14 AM in response to: Kishorekumar
Re: Error in Accessing RSS Feeds

Hi Kishore,

 

Authentication for RSS is done strictly on BasicAuthentication. By default, SBS does not handle Windows Authentication. In order for your application to access the RSS feeds, it will need to supply BasicAuthentication credentials.

Kishorekumar Novice 7 posts since
Jul 2, 2009
Currently Being Moderated
Sep 3, 2009 1:53 AM in response to: Sean Moran
Re: Error in Accessing RSS Feeds

Hi Sean,

 

Thanks, we succeed to read the RSS feeds from MyConnect through my application by sending user credential to the Jive installed server.

Now we are able to display the RSS feeds link and title in our application(MYICON Wall) but once we try to open that link it navigates to the MyConnect url and then it redirecting to login page(asking user authentication). Is it possible for us to show the feeds url page directly with out login authentication?

eg: http://10.11.1.143/groups/myconnect-advocat

Thanks,

Kishore.

sean.moran Jive Employee 7,757 posts since
Dec 10, 2007
Currently Being Moderated
Sep 3, 2009 8:08 AM in response to: Kishorekumar
Re: Error in Accessing RSS Feeds

Hi Kishore,

 

While your application is authenticated to view the feed, your user's browsers are not. As soon as someone clicks the link, their browser will attempt to navigate to that site. If they've already logged in using that browser, they'll be able to see the content. If not, they'll be redirected to the login page to authenticate.

More Like This

  • Retrieving data ...

Bookmarked By (0)

To better serve our customers we have included functionality to automatically follow up on a case after it has been idle for more than 5 days, and then auto close after an additional 3 days of inactivity. Choose No to acknowledge that this case will remain idle for longer than 5 days.
Making cases public allows other customers to learn from the solution of the case. It can also be used to gain feedback from others in the community. Ask our Support Engineers for more info, but we encourage you to make your cases public.