this feed is not available

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
7/26/2009 5:36:55 PM
Gravatar
Total Posts 52

this feed is not available

Hello,

I just deployed mojoPortal to a site and I was willing to have a news feed from a blog that is in the private area, the proble is that the feed is always reporting "this feed is not available".

I am usint a Windows 2003 server with IIS 6.0 and a SQL Express 10.0. The verión of the mojoPortal is 2.3.1.0.

I have a blog that inside a page restricted to authenticated users with one news on it. In the wellcome page I have a Feeds Manager linked to the feed link that shows the blog page. It seems to work some way becase the I request the blog14rss.aspx file I got the empty feed.

Thanks,

7/27/2009 6:04:15 AM
Gravatar
Total Posts 18439

Re: this feed is not available

Hi,

Rss feeds do not currently support authentication. The feed manager makes a server side request for the feed and this does not have the same user context as the browser user so the feed must not require authentication. 

Joe

 

7/27/2009 9:10:03 AM
Gravatar
Total Posts 55

Re: this feed is not available

Sorry for jumping in on this question but trying to do something similar. Setting up an authenticated Intranet and wanted to use the feed manager content item to collect blog/news items from varying portions of the Intranet site. Anyway to pull this off? - Derek

7/27/2009 9:18:09 AM
Gravatar
Total Posts 18439

Re: this feed is not available

You can consume any feed from your local intranet and/or the internet if the web server also has access to the internet.

The problem is trying to put a blog on a private page secured by roles. If you do that the page view roles will also be enforced on the feed and this won't work. As long as the blog is on a page that is not protected by roles the feed manager can consume its feed. You can make it a hidden page by not including it in the menu but you can't both enforce view roles on the content and allow it to be consumed anonymously, its an either or thing.

So as long as you want to expose the content to all users on your intranet it will work fine. Wanting different users to see different feeds based on their roles is not so easy.

Hope it helps,

Joe

7/28/2009 5:23:54 AM
Gravatar
Total Posts 52

Re: this feed is not available

Sure it helped. I moved the blog to a public area.

Thanks,

Carlos

7/30/2009 10:20:55 AM
Gravatar
Total Posts 55

Re: this feed is not available

All pages on the Intranet are only available to the Authenticated User role. Otherwise all could see. Am I missing something on how to protect the Intranet site from all "public" users but allow feed manager functionality within the Intranet site?

7/30/2009 1:48:40 PM
Gravatar
Total Posts 18439

Re: this feed is not available

An intranet is a private network so what public people can see it?

What kind of authentication are you using? The standard db authentication, or Windows or LDAP?

There is no way the feeds are going to work unless the blog is on a page where "All Users" can view it. "Authenticated Users" is a role just like any other role, users are added to that role automatically.

"All Users" is not really a role, it means no role is required.

RSS feeds are for publishing content to the public, they are not designed for role based security. 

Best,

Joe

7/30/2009 2:23:20 PM
Gravatar
Total Posts 55

Re: this feed is not available

I am using the authentication form through MOJO to authenticate users. Using the LDAP connection to our internal AD Domain for accounts. Thus, setting all pages in MOJO to only authenticated users, securing the Intranet to only internal account access. But, RSS not available to pages setup this way throws me for a loop. Planning on using blog's for new news items on pages throughout the site, all updating a main page RSS feed manager.

7/30/2009 2:33:19 PM
Gravatar
Total Posts 18439

Re: this feed is not available

So there are users on your local network that you don't want to be able to see these blog posts/news items?

The Blog itself can be on a private page and users in the role can see the blog on the page, but the feeds are a different story, RSS was not designed for that scenario. The only way I can think of it working is if the feed is being requested by the user's browser like some client side javascript feed reader, then the request for the feed is coming from the authenticate duser and has his cookies in the request headers.Maybe some kind of javscript widget thing like that exists and could be pasted into the source of an html module with the url to the feed.

But a server side feed aggregator that makes server side web requests is a tougher nut to crack to make an authenticated request. I'll do a little research on it and see if any good ideas come to mind.

Best,

Joe

7/31/2009 9:00:31 AM
Gravatar
Total Posts 18439

Re: this feed is not available

The only thing I can think of to accomodate this is a mechanism for bypassing the feed page security by passing an extra query string param like a Guid to the feed url when the feed url starts with the site root url. This guid could be stored in Web.config/user.config, the feed manager would detect if the feed was on the same site and if so append this guid as a query string param. The feed page would compare the guid and make sure it matches the one in Web.config and if so it would bypass the security checks and render the feed. Users woud never see the guid but it would not be 100% secure, someone with the abililty to sniff packets on the network could discover the guid by watching web traffic and then would be able to make a request to the feed url passing the guid and could get access to data in the feed. It would be relatively easy to implement and it would be relatively secure, it just depends on whether its strong enough security and what the risks are if this data was accessed. You could change the guid from time to time and the bypass feature could be disabled by removing the guid setting. By default it would not be enabled.

If I were to implement that would it meet your needs?

Best,

Joe

8/4/2009 2:07:06 AM
Gravatar
Total Posts 52

Re: this feed is not available

I think that what dvandenh is trying to do is what I intended first. Having the Blog in a private area so authenticated user can access to it only for posting, comenting and rating and at the same time having it in a second page allowing non registered pepole to see it and maybe cdo comments a ratings.

For this it should be able to place the same blog in a second page so we could vahe a structure liske this:

  • Private page: With a content of "Blog" that has an option like "Allow public access". If this option is checked the RSS feed will has public access.
  • Public page: With a content of like "Blog viewer" that links to the first blog and has options for "Allow public comments" and "Allow public ratings". This should also offer the public RSS feed.
8/4/2009 5:38:32 AM
Gravatar
Total Posts 55

Re: this feed is not available

Joe, Yes I do have users on the network that should not be able to see the involved blog pages. I am implementing in a school district thus staff versus student consumption.

How I am using this is to setup blogs are on every departments main page, using the blogs for department news and aggregating them to a central feed manager on a main Intranet page after logging in. Thus staff users do not have to go to all department pages to check for updated department news items.

I played around with this a bit and the feed manager does work when the pages with the blogs are set to public. Do we need to set the blog page public or does the actual feed come from the associated xxxxrss.aspx page?

The mechanism you explained for passing a Guid string on checking for same site sounds like it would work fine for my needs. This is not super senesitive information so high security is not needed. I think it would be very beneficial to be able to use as I explained if it something you can implement. Otherwise, I will be faced with setting all department main pages to public.

 

8/4/2009 6:33:26 AM
Gravatar
Total Posts 18439

Re: this feed is not available

Hi,

The feed does come from the associated rss.aspx page but it currently enforces the page security so it matters who is requesting it.

I will implement this for the next release so that the feed manager inspects the feed url and if its an internal url it will append a guid it reads from Web.config/user.config to the url. Then in the blog feed page I will look for this guid in the url and if it matches the one it looks up from the same config file it will bypass page security. If no guid is configured in the config file or no guid is passed in the url it will enforce the page permissions. If you had replied sooner I would have got it into the release I made yesterday ;-)  but not to worry we are on short release cycles.

The other stuff cecheto requested is more problematic and a lot more work. I mean I can easily add a module setting where a blog could make its feed public even if its on a private page but the problem is the feed links back to the blog and the user clicking it would get an access denied page. I'm not going to implement some complex solution for this with a separate blog viewer. Its an uncommon use case and there are much higher value things I need to work on.

Best,

Joe

 

8/4/2009 8:37:17 AM
Gravatar
Total Posts 55

Re: this feed is not available

Sounds great. I think a large audience could benefit from this for intranet style useage -- Derek

8/25/2009 2:41:31 PM
Gravatar
Total Posts 18439

Re: this feed is not available

Hi Derek,

fyi, this feature is in the new 2.3.1.5 release.

You can add this to your user.config

<add key="InternalFeedSecurityBypassKey" value="3B05C70F-8399-421B-8FDE-CAABB7811779" />

just an example guid though, generate your own either in sql using SELECT newid() or in .NET using Guid.NewGuid().ToString()

This should allow the feed manager to consume the feed of a blog on a protected page albeit with the caveats I mentioned before. You could change it frequently too if you feel your network might have been exposed to unwanted packet sniffing.

Best,

Joe

10/1/2009 6:33:55 PM
Gravatar
Total Posts 55

Re: this feed is not available

Joe,

You didn't happen to implement this feature of passing a guid stored in user.config to bypass the authentication issue of using the feed manager on an Intranet site? I just uploaded the new version and was wondering. Thanks

Derek

10/1/2009 7:02:20 PM
Gravatar
Total Posts 18439

Re: this feed is not available

Hi Derek,

Yes as indicated in my previous post  I implemented this feature (just for you actually) in the 2.3.1.5 release, so it is also included in the latest release.

Best,

Joe

10/1/2009 8:40:20 PM
Gravatar
Total Posts 55

Re: this feed is not available

Didn't catch the post. Sorry. Good news is I think it is working. Thank you.

1/2/2011 10:20:42 PM
Gravatar
Total Posts 2253

Re: this feed is not available

Hi Joe,

Does this require anything to be added to the feed url the Feed Manager uses for individual "protected" feeds.

I never recommend using RSS on protected pages but I have a customer doing it anyway and he is having issues with the Feed Manager not picking up the feeds so I am trying to help him.

Thanks,
Joe D.

1/3/2011 6:29:10 AM
Gravatar
Total Posts 18439

Re: this feed is not available

Hi Joe,

No it does not require any changes to the feed url it should only require adding the setting to user.config and generating a guid for it. If the setting is present it will automatically append the guid to the feed url when requesting the feed. note that you cannot run the feed through external services like feedburner if they are from content on private pages.

Best,

Joe

1/3/2011 9:40:47 AM
Gravatar
Total Posts 2253

Re: this feed is not available

Hi Joe,

That's what I thought. I have the setting in place in the user.config and the Feed Manager worked immediately afterwards but about an hour or so later, I checked it and I was getting the "this feed is not available" error on multiple feeds.

The general structure of the site is:

  1. Public Pages
  2. Intranet
    1. Projects
      1. Project 1
      2. Project 2
    2. Other Intranet
    3. Other Intranet

The "Intranet" page and all child pages are secured by roles (I know it is not the correct use of the term 'Intranet' but they are using it). The individual Project pages (there are like 8 of them) have blog instances on them and the Projects page has a Feed Manager on it. Before I set the InternalFeedSecurityBypassKey in the user.config, the blogs' RSS feeds came through sporadically but after a period of time a couple of them show in the Feed Manager with "this feed is not available" and the rest do not show at all. After setting the Bypass Key, all of the feeds worked but then after an hour or so the Feed Manager exhibited the same behavior as before.

Not sure if this is going to be possible. What do you think?

Thanks,
Joe D.

 

1/3/2011 10:10:46 AM
Gravatar
Total Posts 18439

Re: this feed is not available

Hi Joe,

This should work and in testing on my local machine it does work.

You say it works for you too but then after a time it does not and that makes it a difficult problem to diagnose/investigate because there are not clear steps to produce the problem.

I would experiment with the feed cache settings and note any feed related errors in the log to try and diagnose it further. You might also look around in the friendly urls and make sure there is nothing incorrect in the feed url mapping, the real url should have the correct pageid and moduleid. If the blog was moved to another page after some posts were made it is possible the feed url mapping is not correct.

Hope it helps,

Joe

2/29/2012 3:47:34 PM
Gravatar
Total Posts 19

Re: this feed is not available

Thank You!!!  So Awesome.

This was exactly we needed... just didn't know it was built in;-)  Works perfectly.

You must sign in to post in the forums. This thread is closed to new posts.