Dispatcher on windows throws error default was unexpected at this time | Community
Skip to main content
New Participant
June 16, 2022
Solved

Dispatcher on windows throws error default was unexpected at this time

  • June 16, 2022
  • 3 replies
  • 1346 views

Hi everyone,

 

i am experiencing issues while loading dispatcher on windows machine, it throws below error message 

 

'default was unexpected at this time'

 

 

I am using AEM as a cloud service and windows 10.

 

Any thoughts?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

Please check http://aemlab.blogspot.com/2020/09/aemaacs-setup.html 

3 replies

MukeshYadav_
New Participant
June 20, 2024

Hi all,

This error is more related to dispatcher tool's batch file as this file has issue with some windows  version & some machine.

So instead of wasting time in docker version or AEM we should debug batch file based on error we get.

We can use echo command intuitively for debug purpose and  add/remove/delete batch cmd  or correct the syntax.

This issue resolved by removing(or comment) if condition from batch file shown below.

This if statement is redundant(obsolete)  for the mentioned command as it will always evaluates to false so we can change based on requirement.

 

 

Reference - Similar issue https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/vanilla-local-install-of-dispatcher-throwing-quot-to-was/td-p/657926

 

arunpatidar
arunpatidarAccepted solution
New Participant
June 17, 2022
SantoshSai
New Participant
June 16, 2022

Hi @imalakaamir ,

Command looks correct, don't see any issue. 

Can you try

  1. Run above command as a elevated user or run as Administrator.
  2.  bin\docker_run src host.docker.internal:4503 8080
  3. Downloading fresh/latest dispatcher sdk from Software Distribution or from drive. (The error you are getting is about something wrong with batch script which you have under bin)

Make sure docker is running on port 8080.

Hope that helps! Ignore if already done.

Regards,

Santosh

Santosh Sai