Hi
I’ve recently migrated to MongoAtlas to store my data and webhooks are no longer working bu are always in a ‘Pending’ state. I’m running v1.15.0 in Docker.
These logs are coming from the docker process:
},
"app": {
"name": "Squidex",
"version": "1.0.0.0",
"sessionId": "8caf1ce9-0345-4b2a-9e95-124ce06cfd6b"
},
"timestamp": "2019-02-14T21:16:59.3814284Z",
"category": "Orleans.Providers.MongoDB.Membership.MongoMembershipTable"
}
{
"logLevel": "Error",
"message": "MongoMembershipTable.ReadAll failed. Exception=Object reference not set to an instance of an object.",
"eventId": {
"id": 900200
},
"exception": {
"type": "System.NullReferenceException",
"message": "Object reference not set to an instance of an object.",
"stackTrace": " at Orleans.Providers.MongoDB.Membership.MongoMembershipTable.<ReadAll>b__8_0()\n at Orleans.Providers.MongoDB.Membership.MongoMembershipTable.DoAndLog[T](String actionName, Func`1 action)"
},
"app": {
"name": "Squidex",
"version": "1.0.0.0",
"sessionId": "8caf1ce9-0345-4b2a-9e95-124ce06cfd6b"
},
"timestamp": "2019-02-14T21:16:59.3833482Z",
"category": "Orleans.Providers.MongoDB.Membership.MongoMembershipTable"
}
{
"logLevel": "Error",
"message": "Caught and ignored exception: System.NullReferenceException with message: Object reference not set to an instance of an object. thrown from timer callback GrainTimer. TimerCallbackHandler:OrleansDashboard.DashboardGrain->System.Threading.Tasks.Task Callback(System.Object)",
"eventId": {
"id": 101413
},
"exception": {
"type": "System.NullReferenceException",
"message": "Object reference not set to an instance of an object.",
"stackTrace": " at Orleans.Providers.MongoDB.Membership.MongoMembershipTable.<ReadAll>b__8_0()\n at Orleans.Providers.MongoDB.Membership.MongoMembershipTable.DoAndLog[T](String actionName, Func`1 action)\n at Orleans.Runtime.Management.ManagementGrain.GetHosts(Boolean onlyActive)\n at Orleans.Runtime.Management.ManagementGrain.GetTotalActivationCount()\n at Orleans.Runtime.OrleansCodeGenManagementGrainMethodInvoker.Invoke(IAddressable grain, InvokeMethodRequest request)\n at Orleans.Runtime.GrainMethodInvoker.Invoke()\n at Squidex.Infrastructure.Orleans.LocalCacheFilter.Invoke(IIncomingGrainCallContext context) in /src/src/Squidex.Infrastructure/Orleans/LocalCacheFilter.cs:line 37\n at Orleans.Runtime.GrainMethodInvoker.Invoke()\n at OrleansDashboard.Metrics.GrainProfiler.Invoke(IIncomingGrainCallContext context)\n at Orleans.Runtime.GrainMethodInvoker.Invoke()\n at Orleans.Runtime.InsideRuntimeClient.Invoke(IAddressable target, IInvokable invokable, Message message)\n at Orleans.OrleansTaskExtentions.<ToTypedTask>g__ConvertAsync|4_0[T](Task`1 asyncTask)\n at OrleansDashboard.DashboardGrain.Callback(Object _)\n at Orleans.Runtime.GrainTimer.ForwardToAsyncCallback(Object state)"
},
"app": {
"name": "Squidex",
"version": "1.0.0.0",
"sessionId": "8caf1ce9-0345-4b2a-9e95-124ce06cfd6b"
},
"timestamp": "2019-02-14T21:16:59.3886739Z",
"category": "Orleans.Runtime.GrainTimer"
}
This is my dockerfile, should that help:
version: '2.1'
services:
squidex_squidex:
image: "squidex/squidex:v1.15.0"
ports:
- "80:80"
environment:
- URLS__BASEURL=${SQUIDEX_PROTOCOL}://${SQUIDEX_DOMAIN}/
- URLS__ENFORCEHTTPS=${SQUIDEX_FORCE_HTTPS}
- EVENTSTORE__CONSUME=true
- EVENTSTORE__MONGODB__CONFIGURATION=mongodb+srv://XXX@host/?retryWrites=true
- STORE__MONGODB__CONFIGURATION=mongodb+srv://XXX@host/?retryWrites=true
- IDENTITY__ADMINEMAIL=${SQUIDEX_ADMINEMAIL}
- IDENTITY__ADMINPASSWORD=${SQUIDEX_ADMINPASSWORD}
- IDENTITY__GOOGLECLIENT=${SQUIDEX_GOOGLECLIENT}
- IDENTITY__GOOGLESECRET=${SQUIDEX_GOOGLESECRET}
- IDENTITY__MICROSOFTCLIENT=${SQUIDEX_MICROSOFTCLIENT}
- IDENTITY__MICROSOFTSECRET=${SQUIDEX_MICROSOFTSECRET}
- LETSENCRYPT_HOST=${SQUIDEX_DOMAIN}
- LETSENCRYPT_EMAIL=${SQUIDEX_ADMINEMAIL}
volumes:
- /etc/squidex/assets:/app/Assets
networks:
- internal
restart: unless-stopped
networks:
internal:
driver: bridge
Any idea? Thanks in advance! My db user is admin over all databases and has r/w access to all databases.