Optimizely 12 Error after first Integration Environment Deployment

Vote:
 

Hi guys,

After we tried to deploy our newly migrated Optimizely project running CMS 12, we're being thrown by an Bad Gateway error with the following errors:

2023-08-11T04:57:08.953303083Z Failed to start application Foundation.dll: 134

2023-08-11T04:57:08.953351383Z Aborted (core dumped)

2023-08-11T04:57:21.467561915Z Starting ssh...

2023-08-11T04:57:21.522122050Z Starting OpenBSD Secure Shell server: sshd.

2023-08-11T04:57:21.522149050Z Starting application...

2023-08-11T04:57:31.068853736Z fail: EPiServer.DataAccess.Internal.JsonPropertyValueConverter[0]

2023-08-11T04:57:31.068944436Z       An exception occurred while converting JSON property

2023-08-11T04:57:31.069060037Z       Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: [. Path '', line 1, position 1.

2023-08-11T04:57:31.069070237Z          at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)

2023-08-11T04:57:31.069074937Z          at Newtonsoft.Json.JsonTextReader.ReadAsString()

2023-08-11T04:57:31.069079337Z          at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)

2023-08-11T04:57:31.069171737Z          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)

2023-08-11T04:57:31.121120937Z fail: EPiServer.DataAbstraction.RuntimeModel.Internal.ContentTypeModelRegister[0]

2023-08-11T04:57:31.121172537Z       Detected change of type on property SearchFiltersConfiguration on SearchSettings. Converting existing content of type EPiServer.Core.DefaultPropertyJson to new backing type Foundation.Infrastructure.Find.Facets.Config.FacetFilterConfigurationProperty is not possible without loss of data. No change is commited.

2023-08-11T04:57:36.117827646Z fail: EPiServer.DataAccess.Internal.JsonPropertyValueConverter[0]

2023-08-11T04:57:36.117875446Z       An exception occurred while converting JSON property

2023-08-11T04:57:36.117882146Z       Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: [. Path '', line 1, position 1.

2023-08-11T04:57:36.117887246Z          at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)

2023-08-11T04:57:36.117891146Z          at Newtonsoft.Json.JsonTextReader.ReadAsString()

2023-08-11T04:57:36.117895346Z          at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)

2023-08-11T04:57:36.117988546Z          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)

the last error with 

EPiServer.DataAccess.Internal.JsonPropertyValueConverter[0]

gets repeated with us knowing where the error is pointing at. 

Has anyone encountered this issue and how have you resolved it?

Hoping anyone can shed some light into this issue. Thanks!

#306622
Aug 11, 2023 6:58
Vote:
 

Hi Clint,

I have experienced this before and the issue was with the project and how I had setup the build and publishing of it.

The way I solved this was by publishing the project locally and trying to run the output application as it would on the environment.

If I remember right it is a self contained app and you can run the executable and it should show exactly why it is failing.

https://secretgeek.net/dotnet_run

Paul

#306625
Aug 11, 2023 8:36
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.