Author Topic: Internal Server Error after Upgrade of MC to version 7.29.1039  (Read 4841 times)

0 Members and 1 Guest are viewing this topic.

Offline Jerry42

  • Newbie
  • *
  • Posts: 1
I am getting Internal Server Error after I did an Upgrade of MC to version 7.29.1039.
I went through the upgrade process smoothly with no errors.
After upgrade, I did a restart of the OS.
I then launched the MC. I was able to get the log in page.
I entered my login details and after clicking the 'login' button, I get an error page showing 'Server error. Internal server error'.
There were 2 options given on the error page: (1) Retry (2) Logout.
The 'Retry' option doesn't take me anywhere. It only refreshes the page.
The 'Logout' option, logs me out and takes me back to the login page.
Has anyone here faced a similar issue and found a fix to it?
« Last Edit: July 19, 2023, 03:42:08 AM by Jerry42 »

Offline danarman247

  • Newbie
  • *
  • Posts: 3
Re: Internal Server Error after Upgrade of MC to version 7.29.1039
« Reply #1 on: December 07, 2023, 05:24:18 AM »
Same issue here... Dec/2023 and started issues suddenly

Offline Jarosław15

  • Newbie
  • *
  • Posts: 1
Re: Internal Server Error after Upgrade of MC to version 7.29.1039
« Reply #2 on: December 18, 2023, 02:38:21 PM »
After upgrading OnPremise console to Version 7.29.1088 I can't install any new clients. Installer stuck at 'downloading policy' and then throws an error:

[2023-12-18 13:28:05.562] [info   ] [Installer  ] [11444:10408] [2693FD: 115] install.cpp(268) AgentInstaller::Install: Set process trust: 0x00000000
[2023-12-18 13:29:07.365] [error  ] [Installer  ] [11444:10408] [2693FD: 127] install.cpp(294) AgentInstaller::Install: CAuth::GetInstallInvite failed: 0x80000102
[2023-12-18 13:29:07.365] [error  ] [Installer  ] [11444:10408] [2693FD: 127] install.cpp(306) AgentInstaller::Install: installation ended with an error 0x80000102
[2023-12-18 13:29:07.365] [info   ] [Installer  ] [11444:10408] [2693FD: 115] install.cpp(307) AgentInstaller::Install: Starting agent service...
[2023-12-18 13:33:18.460] [info   ] [Installer  ] [11836:13260] [2693FD: 115] install.cpp(257) AgentInstaller::Install: Installation of agent 23.7.1876 was started
[2023-12-18 13:33:20.088] [info   ] [Installer  ] [11836:13260] [2693FD: 115] install.cpp(162) AgentInstaller::LogSystemInfo: System info:

[2023-12-18 13:33:20.088] [info   ] [Installer  ] [11836:13260] [2693FD: 115] install.cpp(268) AgentInstaller::Install: Set process trust: 0x00000000
[2023-12-18 13:34:21.968] [error  ] [Installer  ] [11836:13260] [2693FD: 127] install.cpp(294) AgentInstaller::Install: CAuth::GetInstallInvite failed: 0x80000102
[2023-12-18 13:34:21.968] [error  ] [Installer  ] [11836:13260] [2693FD: 127] install.cpp(306) AgentInstaller::Install: installation ended with an error 0x80000102
[2023-12-18 13:34:21.968] [info   ] [Installer  ] [11836:13260] [2693FD: 115] install.cpp(307) AgentInstaller::Install: Starting agent service...


On server in C:\Program Files\AVAST Software\Management Console\console\log i have lot of errors:

main.log:

2023-12-18 13:35:53.324 INFO  [] [] com.avast.bc.StartupListener [main]: Management console started (BusinessConsoleApplication.java:66)
2023-12-18 13:42:08.562 ERROR [00000000000000000000000000000001] [1642008098513-892369] c.a.b.e.a.i.e.AsyncEventExecutor [Thread-9]: StaleAsyncEvent: rootCause=[Handling of Event [AgentInstalledEvent{installationToken=b45e5be2e04043ee9e5bd5ffdfa30b8a00000000000000000000000000000001, agentSnapshot=AgentSnapshot{id=41232246-ced9-43db-bb07-bdddbc093ca2, name=klimat, label=null, netGroup=klimat.net, platform=WIN_SERVER, os=WIN_SERVER_2008_R2, lastSeen=1662152383638, ipAddress=null, osDisplay=Windows Server 2008 R2 Standard, osBuild=7601, osInternalVersion=6.1.7601, midex=8A494849389D53B3AEB264152BFAAF099CEB7A7BFD45DB9440DC5279816FFD52, serialNumber=null}}] failed in subscriber(s): [Subscriber{name=com.avast.bc.device.impl.DeviceServiceImpl.manageDevicesWhenAgentInstalled, exceptionMessage=null}] - [cause: UNKNOWN, errorCode: 100,shardContext: 00000000000000000000000000000001]] eventSubscriberId=[dm.external.agentInstalled] eventName=[AgentInstalledAsyncEvent] (AsyncEventExecutor.java:98)
com.avast.business.eventbus.async.impl.subscriber.SubscriberException: Unable to execute event [AsyncEvent{id=9046b5bd-598f-4850-98c0-c35c9c1bfade, companyId=9e7f3ab3-c027-49c0-9fef-c3e37fa87711, executionContext=ShardExecutionContextImpl{correlationId=1642008098513-892369, remoteAddress=null, shardContext=00000000000000000000000000000001}, eventSubscriberId=dm.external.agentInstalled, event=AgentInstalledAsyncEvent{companyId=9e7f3ab3-c027-49c0-9fef-c3e37fa87711, timestamp=1642008098516}, lastRead=1702903328433}]. - [cause: UNKNOWN, errorCode: 100,shardContext: 00000000000000000000000000000001]
   at com.avast.business.eventbus.async.impl.subscriber.Subscribers.execute(Subscribers.java:198)
   at com.avast.business.eventbus.async.mybatis.AsyncEventServiceImpl.execute(AsyncEventServiceImpl.java:125)
   at com.avast.business.eventbus.async.mybatis.AsyncEventServiceImpl$$FastClassBySpringCGLIB$$baadbf62.invoke(<generated>)
   at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
   at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
   at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
   at com.avast.business.monitoring.config.TimedAnnotationMeteringAspect.timedMethod(TimedAnnotationMeteringAspect.java:54)
   at jdk.internal.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.base/java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
   at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)
   at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
   at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:100)
   at com.avast.business.persistence.mybatis.transaction.interceptor.TransactionInterceptorBean.lambda$transactionalInvocation$0(TransactionInterceptorBean.java:44)
   at com.avast.business.persistence.mybatis.transaction.impl.TransactionClientImpl.inTransaction(TransactionClientImpl.java:81)
   at com.avast.business.persistence.mybatis.transaction.impl.TransactionClientImpl$$FastClassBySpringCGLIB$$4c4c78d5.invoke(<generated>)
   at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
   at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
   at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
   at com.avast.business.monitoring.config.TimedAnnotationMeteringAspect.timedMethod(TimedAnnotationMeteringAspect.java:54)
   at jdk.internal.reflect.GeneratedMethodAccessor102.invoke(Unknown Source)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.base/java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
   at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)
   at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
   at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
   at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
   at com.avast.business.persistence.mybatis.transaction.impl.TransactionClientImpl$$EnhancerBySpringCGLIB$$6f865883.inTransaction(<generated>)
   at com.avast.business.persistence.mybatis.transaction.interceptor.TransactionInterceptorBean.transactionalInvocation(TransactionInterceptorBean.java:41)
   at jdk.internal.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.base/java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
   at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)
   at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
   at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
   at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
   at com.avast.business.eventbus.async.mybatis.AsyncEventServiceImpl$$EnhancerBySpringCGLIB$$5fc49312.execute(<generated>)
   at com.avast.business.eventbus.async.impl.executor.AsyncEventExecutor.lambda$executeStaleEvents$0(AsyncEventExecutor.java:95)
   at com.avast.business.execution.ExecutionEnvironment$Executor.lambda$run$0(ExecutionEnvironment.java:160)
   at com.avast.business.execution.ExecutionEnvironment$Executor.call(ExecutionEnvironment.java:170)
   at com.avast.business.execution.ExecutionEnvironment$Executor.run(ExecutionEnvironment.java:158)
   at com.avast.business.eventbus.async.impl.executor.AsyncEventExecutor.executeStaleEvents(AsyncEventExecutor.java:92)
   at com.avast.business.eventbus.async.impl.executor.AsyncEventExecutor.run(AsyncEventExecutor.java:68)
   at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException: null
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.base/java.lang.reflect.Method.invoke(Unknown Source)
   at com.avast.business.eventbus.async.impl.subscriber.EventSubscriber.handleEvent(EventSubscriber.java:79)
   at com.avast.business.eventbus.async.impl.subscriber.Subscribers.execute(Subscribers.java:196)
   ... 66 common frames omitted

stderr.log:


2023-12-18 13:34:50 Apache Commons Daemon procrun stderr initialized.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.ibatis.reflection.Reflector (file:/C:/Program%20Files/AVAST%20Software/Management%20Console/console/lib/mybatis-3.2.6.jar) to method java.lang.Class.checkPackageAccess(java.lang.SecurityManager,java.lang.ClassLoader,boolean)
WARNING: Please consider reporting this to the maintainers of org.apache.ibatis.reflection.Reflector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

stdout.log:


  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.2.5.RELEASE)

2023-12-18 13:35:52.443 ERROR [00000000000000000000000000000001] [1702902951327-1] c.a.b.d.DeprecatedOsProvider [main]: Unable to download DeprecatedOsFile file from url [https://business.avast.com:443/onpremise/api/deprecatedOs]. (DeprecatedOsProvider.java:33)
com.avast.bc.deprecatedos.DeprecatedOsFetcherException: Unable to fetch deprecated os list.
   at com.avast.bc.onprem.deprecatedos.OnPremiseDeprecatedOsFetcherOnline.fetch(OnPremiseDeprecatedOsFetcherOnline.java:44)
   at com.avast.bc.deprecatedos.DeprecatedOsProvider.provide(DeprecatedOsProvider.java:31)
   at com.avast.bc.device.impl.DeprecatedOsServiceImpl.downloadDeprecatedOsList(DeprecatedOsServiceImpl.java:33)
   at com.avast.bc.appservice.device.DeprecatedOsHouseKeep.performHouseKeepTask(DeprecatedOsHouseKeep.java:95)
   at com.avast.bc.appservice.device.DeprecatedOsHouseKeep.lambda$runTask$1(DeprecatedOsHouseKeep.java:66)
   at java.base/java.util.Optional.ifPresent(Unknown Source)
   at com.avast.bc.appservice.device.DeprecatedOsHouseKeep.runTask(DeprecatedOsHouseKeep.java:66)
   at com.avast.business.persistence.mybatis.transaction.impl.TransactionClientImpl.inTransaction(TransactionClientImpl.java:81)
   at com.avast.business.persistence.mybatis.transaction.impl.TransactionClientImpl$$FastClassBySpringCGLIB$$4c4c78d5.invoke(<generated>)
   at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
   at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:62)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
   at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
   at com.avast.business.monitoring.config.TimedAnnotationMeteringAspect.timedMethod(TimedAnnotationMeteringAspect.java:54)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.base/java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
   at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)
   at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
   at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
   at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747)
   at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
   at com.avast.business.persistence.mybatis.transaction.impl.TransactionClientImpl$$EnhancerBySpringCGLIB$$6f865883.inTransaction(<generated>)
   at com.avast.bc.appservice.device.DeprecatedOsHouseKeep.lambda$onInitialized$0(DeprecatedOsHouseKeep.java:59)
   at com.avast.business.execution.ExecutionEnvironment$Executor.call(ExecutionEnvironment.java:170)
   at com.avast.business.execution.executor.ExecutionContextExecutor.inExecutionContext(ExecutionContextExecutor.java:50)
   at com.avast.bc.appservice.device.DeprecatedOsHouseKeep.onInitialized(DeprecatedOsHouseKeep.java:59)
   at java.base/java.util.ArrayList.forEach(Unknown Source)
   at com.avast.business.persistence.sharding.ShardingBootstrap.start(ShardingBootstrap.java:60)
   at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182)
   at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
   at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
   at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
   at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:894)
   at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:162)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)
   at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
   at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
   at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
   at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
   at com.avast.bc.BusinessConsoleApplication.main(BusinessConsoleApplication.java:61)
Caused by: org.springframework.web.client.HttpClientErrorException: 404 {"timestamp":"2023-12-18T12:36:10.852+00:00","status":404,"error":"Not Found","path":"/onpremise/api/deprecatedOs"}
   at com.avast.bc.connector.config.RestTemplateResponseErrorHandler.handleError(RestTemplateResponseErrorHandler.java:31)
   at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)
   at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:782)
   at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:740)
   at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:674)
   at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:583)
   at com.avast.bc.onprem.cloud.OnPremiseCloudClient.getObjectCustom(OnPremiseCloudClient.java:260)
   at com.avast.bc.onprem.deprecatedos.OnPremiseDeprecatedOsFetcherOnline.fetch(OnPremiseDeprecatedOsFetcherOnline.java:41)
   ... 50 common frames omitted

Using browser I can enter:
https://localhost:8190/agent/
this gives blank page, so it's working, but when I use IP address:
https://192.186.1.207:8190/agent/
browser throws an error 'unable to connect'.
« Last Edit: December 18, 2023, 02:48:41 PM by Jarosław15 »

Offline GeorgeP

  • Administrator
  • Jr. Member
  • *
  • Posts: 39
Re: Internal Server Error after Upgrade of MC to version 7.29.1039
« Reply #3 on: December 27, 2023, 02:43:24 PM »
Hi there, can you please send us the Avast Support Tool output following this guide:

https://businesshelp.avast.com/Content/Products/AfB_Antivirus/ConfiguringSettings/SupportPkg.htm

Please provide the name of the file once complete. Thank you