Hello,
Someone can help me with this error? I have tried to configure the portal with the basic attributes, but the error persists.
Thanks!!!
Publishing error. Could not publish the portal. Try publishing the portal again. If the error continues, contact Appian support. (Error code: APNX-1-4566-038)
LOG
2024-02-09 17:16:33,126 [pool-67-thread-1] ERROR com.appiancorp.publicportal.service.PortalAdministrationServiceImpl - API registration to portal administration service failed 2024-02-09 17:16:33,127 [pool-67-thread-1] ERROR com.appiancorp.portaldesigner.functions.publish.PublishPortalDesignObjectReaction - Error during Portal Admin Service create/update for Portal UUID: 4fa0b317-4165-4bda-9afa-7185e415b95d com.appiancorp.suiteapi.common.exceptions.AppianException: Could not publish the portal. Try publishing the portal again. If the error continues, contact Appian support. (Error code: APNX-1-4566-038) (APNX-1-4566-001) at com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException.<init>(AppianRuntimeException.java:45) at com.appiancorp.suiteapi.common.exceptions.AppianRuntimeException.<init>(AppianRuntimeException.java:33) at com.appiancorp.publicportal.service.PortalAdministrationServiceImpl.registerIfUnregistered(PortalAdministrationServiceImpl.java:262) at com.appiancorp.publicportal.service.PortalAdministrationServiceImpl.createPortal(PortalAdministrationServiceImpl.java:313) at sun.reflect.GeneratedMethodAccessor4098.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.appiancorp.publicportal.PortalManagerSpringConfig.lambda$getPortalAdministrationService$0(PortalManagerSpringConfig.java:92) at com.sun.proxy.$Proxy478.createPortal(Unknown Source) at com.appiancorp.portaldesigner.functions.publish.PublishPortalDesignObjectReaction.publishToPas(PublishPortalDesignObjectReaction.java:494) at com.appiancorp.portaldesigner.functions.publish.PublishPortalDesignObjectReaction.lambda$publishPortalInternal$9(PublishPortalDesignObjectReaction.java:415) at com.appiancorp.portaldesigner.monitoring.PortalPrometheusMetrics.measureElapsedMillisAndReturnValue(PortalPrometheusMetrics.java:110) at com.appiancorp.portaldesigner.functions.publish.PublishPortalDesignObjectReaction.publishPortalInternal(PublishPortalDesignObjectReaction.java:414) at com.appiancorp.portaldesigner.functions.publish.PublishPortalDesignObjectReaction.lambda$publishPortal$2(PublishPortalDesignObjectReaction.java:240) at com.appiancorp.portaldesigner.monitoring.PortalPrometheusMetrics.measureElapsedMillisAndReturnValue(PortalPrometheusMetrics.java:110) at com.appiancorp.portaldesigner.functions.publish.PublishPortalDesignObjectReaction.publishPortal(PublishPortalDesignObjectReaction.java:239) at com.appiancorp.portaldesigner.messaging.PortalPublishingKafkaConsumer.startPublish(PortalPublishingKafkaConsumer.java:390) at com.appiancorp.portaldesigner.messaging.PortalPublishingKafkaConsumer.lambda$publishPortalsThatCanBePublishedNow$13(PortalPublishingKafkaConsumer.java:330) at java.util.ArrayList.forEach(ArrayList.java:1259) at com.appiancorp.portaldesigner.messaging.PortalPublishingKafkaConsumer.publishPortalsThatCanBePublishedNow(PortalPublishingKafkaConsumer.java:326) at com.appiancorp.portaldesigner.messaging.PortalPublishingKafkaConsumer.processMessagesInternal(PortalPublishingKafkaConsumer.java:196) at com.appiancorp.portaldesigner.messaging.PortalPublishingKafkaConsumer.lambda$processMessages$2(PortalPublishingKafkaConsumer.java:128) at com.appiancorp.security.auth.SpringSecurityContextHelper.runAsAdmin(SpringSecurityContextHelper.java:193) at com.appiancorp.security.auth.SpringSecurityContextImpl.runAsAdmin(SpringSecurityContextImpl.java:26) at com.appiancorp.portaldesigner.messaging.PortalPublishingKafkaConsumer.processMessages(PortalPublishingKafkaConsumer.java:128) at com.appian.kafka.AbstractConsumerSupport.processMessages(AbstractConsumerSupport.java:64) at com.appian.kafka.KafkaConsumerListener$KafkaTask.call(KafkaConsumerListener.java:247) at com.appian.kafka.KafkaConsumerListener$KafkaTask.call(KafkaConsumerListener.java:224) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) 2024-02-09 17:16:33,175 [pool-67-thread-1] ERROR com.appiancorp.portaldesigner.messaging.PortalPublishingKafkaConsumer - Could not publish the portal. Try publishing the portal again. If the error continues, contact Appian support. (Error code: APNX-1-4566-038)
Discussion posts and replies are publicly visible
Hi johnm744 ,
If you are using community you can't create more than 2 portals. If you try to create a new portal it will throw an error. If not as mentioned you can raise a support ticket to appian.
This happened with a lot of times but just hitting on re-publish solves the problem.