No Suitable Nodes - Rackspace Hosting

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
2/6/2011 8:45:08 AM
Gravatar
Total Posts 18439

Re: No Suitable Nodes - Rackspace Hosting

It would be good to know which suggestion solved it.

Thanks,

Joe

2/8/2011 6:18:01 PM
Gravatar
Total Posts 165

Re: No Suitable Nodes - Rackspace Hosting

Hey Joe,

So far, my testing has shown that by setting the 'DisableSearchIndex value to true has fixed the problem.

I have a few more test to run, but currently that has fixed the problem of NSN.

Mark

 

2/16/2011 6:12:36 AM
Gravatar
Total Posts 165

Re: No Suitable Nodes - Rackspace Hosting

Hey Joe,

By marking the 'DisableSearchIndex' to true has helped a great deal.  I'm still getting a few NSN errors when login as admin and doing updates.

Question for you, in the web.config there is the following lines:

    <!-- comment this out for Mono -->
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />

When it says for Mono, does that mean when running only one site?  Also, do you think this may create an issue in a medium trust cloud hosting?

Thanks,

Mark

2/16/2011 6:16:12 AM
Gravatar
Total Posts 165

Re: No Suitable Nodes - Rackspace Hosting

Joe,

In additional to my question in my last post, Rackspace just supplied the following:

Hello Mark,

Thanks for your update. As discussed before, we do not necessarily audit code or do code fixes, but I can attempt to see what your worker process is doing. Your site could be going slow because of dynamic compiled code. There is about 20 MB of dlls in your /bin directory getting compiled on runtime. Evidence I see of this is the csc.exe process is running under your user name.

I tried to search for a solution for your issue and this seems pretty close:
http://social.msdn.microsoft.com/Forums/en/csharpgeneral/thread/cba32a0f-9648-454f-a4d8-7605a5ce0054

It says to uncheck this option in your Visual Studio: "Allow this precompiled site to be updatable"
Perhaps if you precompile the site, the timeout for the nsn will happen less often.

An extreme example of a lot of assemblies getting compiled is something like this link, but your site is only in the 30s and not 1000s:
http://blogs.msdn.com/b/alikl/archive/2008/10/08/asp-net-performance-dynamically-loaded-assemblies-cause-application-recycles-problem-and-solution.aspx

Hope this info helps your debugging.

Kind Regards,

David Tsai
Rackspace Cloud Sites

2/16/2011 10:04:00 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: No Suitable Nodes - Rackspace Hosting

Hi Mark, Mono is an emulation layer for running .NET applications on Linux, so it won't apply to you.

2/18/2011 6:52:35 PM
Gravatar
Total Posts 165

Re: No Suitable Nodes - Rackspace Hosting

First let me say Thanks to Jamie for his reply.

Now more from Rackspace:

Hi,

After checking - service hosting environment aspnet compatiblity isn't enabled for cloud sites.
If you must have this functionality please consider using a cloud server which you can customize to meet individual needs.

Regards
Rackspace Cloud Sites

 So, based on that, do I need to make that read <serviceHostingEnvironment aspNetCompatibilityEnabled="false" /> in my web.config?

Mark

 


 

2/18/2011 7:08:21 PM
Gravatar
Total Posts 18439

Re: No Suitable Nodes - Rackspace Hosting

Hi Mark,

I get the sense that you have kept your old web.config file when upgrading rather than using the new one. It is possible you have a number of things out of synch that could be affecting your installations.

You should back up your web.config and use the one that ships with the version of mojoPortal installed and restore any customizations, especially things like your custom machine key need to remain the same so you need to restore that to the new web.config.

In the latest version of mojoPortal the entire <system.web.servicemodel section is commented out.

You can safely remove it entirely from your web.config file, it is not needed

That section defines some web services that can be used to authenticate from Silverlight, it works and some people are using it for custom features, but so far we are not using it in mojoPortal directly. I implemented that and used it some proof of concept things only so far.

Hope it helps,

Joe

2/21/2011 7:50:20 PM
Gravatar
Total Posts 165

Re: No Suitable Nodes - Rackspace Hosting

Hey Joe...

I'm using the web.config that came with 2.3.5.8 and this is the area that is committed out in the web.config

<add name="svc-ISAPI-2.0" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" />
            <add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" resourceType="Unspecified" preCondition="integratedMode" />
   

Is this the area you are speaking about, because below is the line in the web.config I was asking about. 

Following line of code is set to true in the web.config:  <serviceHostingEnvironment aspNetCompatibilityEnabled="true" /> and I'm told by Rackspace they do not use serviceHostingEnvironment, so I believe I need to set this to false. 

Also, you talk about serviceModel, the following section is not commtted out, should it be:

  <system.serviceModel>
    <services>
      <service name="System.Web.ApplicationServices.AuthenticationService" behaviorConfiguration="AuthenticationServiceTypeBehaviors">
        <endpoint contract="System.Web.ApplicationServices.AuthenticationService" binding="basicHttpBinding" bindingConfiguration="userHttp" bindingNamespace="http://asp.net/ApplicationServices/v200" />
      </service>
      <service name="System.Web.ApplicationServices.RoleService" behaviorConfiguration="RoleServiceTypeBehaviors">
        <endpoint contract="System.Web.ApplicationServices.RoleService" binding="basicHttpBinding" bindingConfiguration="userHttp" bindingNamespace="http://asp.net/ApplicationServices/v200" />
      </service>

    </services>
    <bindings>
      <basicHttpBinding>
        <binding name="userHttp">
          <!-- if you have an ssl certificate set this to Transport -->
          <security mode="None" />
        </binding>
      </basicHttpBinding>
    </bindings>
    <behaviors>
      <serviceBehaviors>
        <behavior name="AuthenticationServiceTypeBehaviors">
          <serviceMetadata httpGetEnabled="true" />
        </behavior>
        <behavior name="RoleServiceTypeBehaviors">
          <serviceMetadata httpGetEnabled="true" />
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <!-- comment this out for Mono -->
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />

  </system.serviceModel>

Thanks, and sorry for all the questions and back and forth, just really trying to find my solution to the NSN issue and THANK You and the rest of the group for helping.

I truly love this product and want to make it work with Rackspace.

2/22/2011 6:30:51 AM
Gravatar
Total Posts 18439

Re: No Suitable Nodes - Rackspace Hosting

Hi Mark,

You can safely remove both of those things you posted. That first one is no longer included in our latest Web.config and the second one is commented out by default in the latest version of our web.config, and it is also not needed in your current version.

So if removing that solves problems for you that would be great!

Hope it helps,

Joe

2/24/2011 7:52:03 AM
Gravatar
Total Posts 165

Re: No Suitable Nodes - Rackspace Hosting

Joe, Thank you for the reply... Now the Update...

Since I removed those areas and made service hosting environment aspnet compatiblity  = false, I no longer get the NSN when a normal user visits the site.  However I still get NSN when we are login as a editor / admin to edit the site.  When trying to edit the content or edit the page design or page settings, I still get NSNs.

I'm still digging.

Thanks,

Mark

2/25/2011 7:22:13 AM
Gravatar
Total Posts 18439

Re: No Suitable Nodes - Rackspace Hosting

Do you still have the search index disabled? If not then each time you edit it is trying to update the search index and it sounds like the search index does not work well in the Rackspace cloud.

Hope it helps,

Joe

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