Kentico 12 Download

0 views
Skip to first unread message

Pascua Gomer

unread,
Aug 5, 2024, 11:17:45 AM8/5/24
to repreterle
Upondoing a fresh install of the kentico 13 dancing goat theme, when you go to the page tab on the homepage or preview button. Two things either happen. 1. If your presentation URL is set to localhost you get this message: "This page does not work properly as your browser may be blocking 3rd party cookies and/or the system may be incorrectly configured for a multi-domain environment." or two if you change your presentation URL to the URL of your site then you just get a blank page for the preview mode.

Hello everybody. Setting the sites to HTTPS and restarting the servers resolved the issue. I am waiting for confirmation from KSA&D, however with modern browser security standards and X13 HTTPS is a must.


I added that code to the webconfig but not change. No both are the same domain. I have installed kentico 13 on two different servers and on one instance made no modifications to the dancing goat installation and still same issue. I have also checked the salt key on both the web.conig and appsettings.json and they match as well. From two different servers it makes me think I'm missing something in my server set up but I'm not sure what it would be.


I have a local environment that just pops up with the exact same issue... on Chrome. I think it's because it doesn't trust the SSL certificate, in Firefox I could easily trust the certificate on both admin and site and it seemed to work.


So I saw that .net core runtime was not installed on the server. I installed that as well as java and now locally, the preview is working. When I look at the domain its still not. And I'm still getting this error.


Exception type: CMS.Helpers.InvalidVirtualContextExceptionStack trace:at Kentico.Content.Web.Mvc.VirtualContextPrincipalRetriever.GetPrincipal(String jwtToken)at Kentico.Content.Web.Mvc.VirtualContextRequestPrincipalRetriever.Retrieve(HttpRequest request)at Kentico.Web.Mvc.AuthenticationHandler.HandleAuthenticateAsync()at Microsoft.AspNetCore.Authentication.AuthenticationHandler1.AuthenticateAsync()at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)at Kentico.Content.Web.Mvc.ContentOutputMiddleware.InvokeAsync(HttpContext context)at Kentico.Web.Mvc.KenticoRequestLocalizationMiddleware.InvokeAsync(HttpContext context)at Kentico.Content.Web.Mvc.PageRedirectionContextMiddleware.InvokeAsync(HttpContext context)at Kentico.Web.Mvc.KenticoRequestEventsMiddleware.InvokeAsync(HttpContext context)at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)at Kentico.Web.Mvc.KenticoErrorHandlingMiddleware.InvokeAsync(HttpContext context, ILogger1 logger)at Strahman.Infrastructure.SmartSearchIndexRebuildMiddleware.InvokeAsync(HttpContext context) in C:\inetpub\wwwroot\strahman-staging\DancingGoatCore\Infrastructure\SmartSearchIndexRebuildMiddleware.cs:line 79at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()


"This page does not work properly as your browser may be blocking 3rd party cookies and/or the system may be incorrectly configured for a multi-domain environment.See our documentation for more information."


This page does not work properly as your browser may be blocking 3rd party cookies and/or the system may be incorrectly configured for a multi-domain environment.See our documentation for more information.


There was also an issue with cloudflare blocking certain parts of kentico. I added an exception to this and it seems to be working now. At least for this install. There is a different issue with the other kentico install I'm working on but for the time being I all close this out.

3a8082e126
Reply all
Reply to author
Forward
0 new messages