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
Hi Anthony,
How is he passing his username and password with his request? Does this occur for all 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.
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
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.
Thanks Kishore - just continue the inquiries with Sean and hoping for a quick resolution. Cheers
Hi Sean will wait for kishore to confirm thanks
Regards,
Anthony
On 18 Aug 2009, at 00:09, "Sean Moran" <communities@jivesoftware.com
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?
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
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.
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.
Hi Kishore,
To confirm, you haven't made any code level changes to your SBS environment, correct?
Hi Sean,
As far as I know we havent done any code level changes to our SBS environment.
Thanks,
Anthony
Hi Sean its exactly how it looks in our Admin Console thanks!
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.
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.
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.
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
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
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.
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.
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.
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.
Hi Kishore,
Do we close this item for now? your last question mentioned that we need to log in to JiveSBS one time after the redirect from our intranet exposing the rss feeds. lets wee what our working group will respond to in our demo today if this is a satisfactory behavior.
Thanks,
Anthony
Jive combines the most powerful features of collaboration software, community software,
social networking software & social media monitoring into the leading SBS solution.
© Copyright 2000–2010 Jive Software. All rights reserved.
915 SW Stark St., Suite 400, Portland, OR 97205
Sales: 877-495-3700 | General: 503-295-3700
Privacy Policy | Sitemap | Jobs | Contact Us