NunoCosta


Hi, i'm trying to lauch the Tutorial project and i can't. I've follow up all these steps (https://buddyscript.colloquis.com/forums/showthread.php threadid=1329) but still cant do it!

No firewall! And the light is still yellow!

Can anyone help me

my best regards

Nuno Costa

PT



Re: Agent Do Not Lauch

Gruia Pitigoi-Aron - MSFT


Hi,

Could you provide a few more details as to where this is failing and what kind of error messages you get A look at the log files would help too.

Thank you,

Gruia






Re: Agent Do Not Lauch

NunoCosta

Certanly,

On the Colloquis Server Management Console Homepage i get the tutorial project in yellow and saying "Started"

On the Monitoring and Control for Tutorial i get : "Your agent is currently started"

In the Summary Grid : I only got the "Configuration grid" ( i saw on some tranning videos another grid showing below)

In the component view : No information available.

On the components log :

Sep 06 16:41:42.92 (+0000) buddylauncher: STARTING buildId: 4.0.0 build 1028 edition DE buddylauncher --validate --log-dir C:\Program Files\Colloquis\Colloquis SDK\log --agent-data-dir C:\Program Files\Colloquis\Colloquis SDK\agentdata -f C:\Program Files\Colloquis\Colloquis SDK\Projects\Tutorial\Tutorial.bfg --filter KnowledgeManagement --dp-console
Sep 06 16:41:42.94 (+0000) buddylauncher: Reading config file: C:\Program Files\Colloquis\Colloquis SDK\Projects\Tutorial\Tutorial.bfg, using Tutorial as Buddy Name
Sep 06 16:41:42.94 (+0000) buddylauncher: *** Warning *** couldn't parse the tag meta_data as a buddy_launcher_configuration element.
Sep 06 16:41:43.22 (+0000) buddylauncher: Dispatcher #1 (2424) -- cmdBig Smilepd.exe -U 10000 --config-name "Tutorial" --dp-define "PERSISTENT_ID=Dispatcher/NUNO-COSTA"

Thank you

Nuno Costa

PT







Re: Agent Do Not Lauch

NunoCosta

When trying to lauch i get these warnings:

In the components log :

Sep 11 10:49:12.33 (+0000) buddylauncher: STARTING  buildId: 4.2.0 build 1221 edition DE	buddylauncher	--log-dir	C:\Program Files\Colloquis\Colloquis SDK\bin\..\..\log	--agent-data-dir	C:\Program Files\Colloquis\Colloquis SDK\bin\..\..\agentdata	-f	C:\Program Files\Colloquis\Colloquis SDK\Projects\F6PTCOKEAGENT\F6PTCOKEAGENT.bfg	--filter	KnowledgeManagement	--dp-console
Sep 11 10:49:12.36 (+0000) buddylauncher: Reading config file: C:\Program Files\Colloquis\Colloquis SDK\Projects\F6PTCOKEAGENT\F6PTCOKEAGENT.bfg, using F6PTCOKEAGENT as Buddy Name
Sep 11 10:49:12.36 (+0000) buddylauncher: *** Warning *** couldn't parse the tag meta_data as a buddy_launcher_configuration element.
Sep 11 10:49:13.78 (+0000) buddylauncher: Dispatcher #1 (3348) -- cmdBig Smilepd.exe -U 10000 --config-name "F6PTCOKEAGENT" --dp-define "PERSISTENT_ID=Dispatcher/NUNO-COSTA" 

Sep 11 10:49:44.48 (+0000) buddylauncher: Terminal error 0Big Smileetection port lock timed out!
Sep 11 10:49:44.48 (+0000) buddylauncher: Shutting down, signalling sub-processes
Sep 11 10:49:44.48 (+0000) buddylauncher: Gentle Killing: Dispatcher
Sep 11 10:49:44.55 (+0000) buddylauncher: Dispatcher_Control #1 (3276) -- cmdBig Smilepcon.exe --sleep 60 --omit-output -w 8050 -U 10000  -H "Dispatcher/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=DP" -H "User_Profile/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=UP" -H "Query_Server/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=QR" -H "http-MSM_1/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=MR;SERVICE_='';NAME='http-MSM_1/NUNO-COSTA'" -H "msn-MSM_chef.coke@hotmail.com/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=MR;SERVICE_='MSN';NAME='chef.coke@hotmail.com'" -H "Internal-Msm/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=MR;HIDDEN=1;SERVICE_='WEB';NAME='Internal-Msm'" -H "Notification_Server/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=NOTIF;GROUP_ID=MAIN;NAME='Notification_Server'"

Sep 11 10:49:55.78 (+0000) buddylauncher: STOPPING
and in the IDE
Document element "Buddy Launcher Settings" is missing a required sibling document element: dp_port
How can i fix this  Witch is the port 






Re: Agent Do Not Lauch

Gruia Pitigoi-Aron - MSFT

Hi,

Could you also try the steps here:
https://buddyscript.colloquis.com/forums/announcement.php s=&forumid=2

Also, does a different sample work (such as HelloWorld)

Gruia




Re: Agent Do Not Lauch

NunoCosta

First

In the hello world project, when i lanch it i get

BuddyLancherLog:

Sep 11 17:35:58.39 (+0000) buddylauncher: STARTING buildId: 4.2.0 build 1221 edition DE buddylauncher --log-dir C:\Program Files\Colloquis\Colloquis SDK\bin\..\..\log --agent-data-dir C:\Program Files\Colloquis\Colloquis SDK\bin\..\..\agentdata -f C:\Program Files\Colloquis\Colloquis SDK\Projects\HelloWorld\HelloWorld.bfg --filter KnowledgeManagement --dp-console
Sep 11 17:35:58.40 (+0000) buddylauncher: Reading config file: C:\Program Files\Colloquis\Colloquis SDK\Projects\HelloWorld\HelloWorld.bfg, using HelloWorld as Buddy Name
Sep 11 17:35:58.40 (+0000) buddylauncher: *** Warning *** couldn't parse the tag meta_data as a buddy_launcher_configuration element.
Sep 11 17:35:58.67 (+0000) buddylauncher: Dispatcher #1 (3292) -- cmdBig Smilepd.exe -U 10000 --config-name "HelloWorld" --dp-define "PERSISTENT_ID=Dispatcher/NUNO-COSTA"

Sep 11 17:36:29.36 (+0000) buddylauncher: Terminal error 0Big Smileetection port lock timed out!
Sep 11 17:36:29.36 (+0000) buddylauncher: Shutting down, signalling sub-processes
Sep 11 17:36:29.36 (+0000) buddylauncher: Gentle Killing: Dispatcher
Sep 11 17:36:29.37 (+0000) buddylauncher: Dispatcher_Control #1 (224) -- cmdBig Smilepcon.exe --sleep 60 --omit-output -w 8050 -U 10000 -H "Dispatcher/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=DP" -H "User_Profile/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=UP" -H "Query_Server/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=QR" -H "http-MSM_1/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=MR;SERVICE_='';NAME='http-MSM_1/NUNO-COSTA'" -H "http-MSM_2/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=MR;SERVICE_='';NAME='http-MSM_2/NUNO-COSTA'" -H "Internal-Msm/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=MR;HIDDEN=1;SERVICE_='WEB';NAME='Internal-Msm'" -H "Notification_Server/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=NOTIF;GROUP_ID=MAIN;NAME='Notification_Server'"

Sep 11 17:36:40.65 (+0000) buddylauncher: STOPPING

In the dispacher log:

Sep 11 17:35:58.89 (+0000) dpd: STARTING buildId: 4.2.0 build 1221 edition DE C:\Program Files\Colloquis\Colloquis SDK\bin\dpd.exe -U 10000 --config-name HelloWorld --dp-define PERSISTENT_ID=Dispatcher/NUNO-COSTA
Sep 11 17:35:58.89 (+0000) dpd: Reading License from: ..\..\AB-DE01.lic
Sep 11 17:35:58.89 (+0000) dpd: License Name : AB-DE01-1179165392-8847
Sep 11 17:35:58.89 (+0000) dpd: Starting main process
Sep 11 17:35:58.90 (+0000) dpd: Listening on port 10000
Sep 11 17:36:29.36 (+0000) dpd: Exiting... calling callback
Sep 11 17:36:29.62 (+0000) dpd: maxtime = 0:16000
Sep 11 17:36:32.79 (+0000) dpd: Licensing Message: License verified.
Sep 11 17:36:32.79 (+0000) dpd: STOPPING

In the dispache control log:

Sep 11 17:36:29.59 (+0000) dpcon: STARTING buildId: 4.2.0 build 1221 edition DE C:\Program Files\Colloquis\Colloquis SDK\bin\dpcon.exe --sleep 60 --omit-output -w 8050 -U 10000 -H Dispatcher/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=DP -H User_Profile/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=UP -H Query_Server/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=QR -H http-MSM_1/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=MR;SERVICE_='';NAME='http-MSM_1/NUNO-COSTA' -H http-MSM_2/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=MR;SERVICE_='';NAME='http-MSM_2/NUNO-COSTA' -H Internal-Msm/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=MR;HIDDEN=1;SERVICE_='WEB';NAME='Internal-Msm' -H Notification_Server/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=NOTIF;GROUP_ID=MAIN;NAME='Notification_Server'
Sep 11 17:36:29.61 (+0000) dpcon: ***Threads (avail/total): 0 / 0
Sep 11 17:36:29.61 (+0000) dpcon: Spawning 2 thread(s)...
Sep 11 17:36:29.61 (+0000) dpcon: Web server started on port 8050
Sep 11 17:36:39.62 (+0000) dpcon: No response from dispatcher after 10 seconds...

I sure could use some help, my deadline is comming fast!

Even with a fresh instantiation from the WLATemplate, just removing the other languages and leaving English

BuddyLauncher Log:

Sep 11 17:43:30.05 (+0000) buddylauncher: STARTING buildId: 4.2.0 build 1221 edition DE buddylauncher --log-dir C:\Program Files\Colloquis\Colloquis SDK\bin\..\..\log --agent-data-dir C:\Program Files\Colloquis\Colloquis SDK\bin\..\..\agentdata -f C:\Program Files\Colloquis\Colloquis SDK\Projects\F6PTCOKEAGENT\F6PTCOKEAGENT.bfg --filter KnowledgeManagement --dp-console
Sep 11 17:43:30.08 (+0000) buddylauncher: Reading config file: C:\Program Files\Colloquis\Colloquis SDK\Projects\F6PTCOKEAGENT\F6PTCOKEAGENT.bfg, using F6PTCOKEAGENT as Buddy Name
Sep 11 17:43:30.08 (+0000) buddylauncher: *** Warning *** couldn't parse the tag meta_data as a buddy_launcher_configuration element.
Sep 11 17:43:30.34 (+0000) buddylauncher: Dispatcher #1 (4812) -- cmdBig Smilepd.exe -U 10000 --config-name "F6PTCOKEAGENT" --dp-define "PERSISTENT_ID=Dispatcher/NUNO-COSTA"

Sep 11 17:44:01.03 (+0000) buddylauncher: Terminal error 0Big Smileetection port lock timed out!
Sep 11 17:44:01.03 (+0000) buddylauncher: Shutting down, signalling sub-processes
Sep 11 17:44:01.03 (+0000) buddylauncher: Gentle Killing: Dispatcher
Sep 11 17:44:01.28 (+0000) buddylauncher: Dispatcher_Control #1 (5764) -- cmdBig Smilepcon.exe --sleep 60 --omit-output -w 8050 -U 10000 -H "Dispatcher/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=DP" -H "User_Profile/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=UP" -H "Query_Server/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=QR" -H "http-MSM_1/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=MR;SERVICE_='';NAME='http-MSM_1/NUNO-COSTA'" -H "msn-MSM_chef.coke@hotmail.com/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=MR;SERVICE_='MSN';NAME='chef.coke@hotmail.com'" -H "Internal-Msm/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=MR;HIDDEN=1;SERVICE_='WEB';NAME='Internal-Msm'" -H "Notification_Server/NUNO-COSTA:ADDRESS=NUNO-COSTA;TYPE=NOTIF;GROUP_ID=MAIN;NAME='Notification_Server'"

Sep 11 17:44:12.32 (+0000) buddylauncher: STOPPING

help please!!






Re: Agent Do Not Lauch

François Huet - MSFT

Thanks for the logs.

>> Sep 11 17:44:01.03 (+0000) buddylauncher: Terminal error 0: Detection port lock timed out!
The line above indicates that a specific port is not available, which might be caused either by a software firewall (are you 100% sure no firewall or antivirus blocks executables in the platform bin directory, including the default windows firewall ) or might be a conflict with another running version of the platform (wild guess, but can you check if you have a previous install running at the same time ).

I hope this helps,

Francois





Re: Agent Do Not Lauch

NunoCosta

I've be doing some tests disabeling the firewall and also uninstall and install back the sdk and i'm still having the same error!

Terminal error 0: Detection port lock timed out!

Any of the sample projects are ready for launching by just changing the screen name I cant launch any of them!

Also, what is the dp_port in the buddy lancher settings and witch value should i give to it

Thanks






Re: Agent Do Not Lauch

Nicolas Barry (MS)

The dp_port parameter is a unique UDP port used for communication between components, you can specify any value really taht won't conflict with your typical intranet traffic: try 10001 (a value most likely not used).

As far as the "Detection port lock timed out" error:

we've seen this before with software firewalls that don't play nice.

You can always add the binaries (start with dpd.exe located in the bin directory of your install) in the list of exceptions in your windows firewall.

Also make sure that if the binaries are in the list of exceptions, they must have the checkbox checked (when it's unchecked, it means you don't allow this application to use ports).

Note that if you have an anti virus such as Norton or Symantec, they often have a software firewall built-in. We've seen cases before where even when it says it's disabled in the UI, the firewall is still denying ports to be bound by applications. The solution seemed to be to stop the firewall service completely.

Nicolas





Re: Agent Do Not Lauch

NunoCosta

Hello again,

i've made some tests : shutting down the windows firewall ; disabled the antivirus; assing the dp_port key with the value 10001, and it still doesn't work! I'm still getting this message:


Sep 18 14:43:34.67 (+0000) buddylauncher: Terminal error 0Big Smileetection port lock timed out!
Sep 18 14:43:34.67 (+0000) buddylauncher: Shutting down, signalling sub-processes
Sep 18 14:43:34.67 (+0000) buddylauncher: Gentle Killing: Dispatcher
Sep 18 14:43:34.71 (+0000) buddylauncher: Dispatcher_Control #1 (3512) -- cmdBig Smilepcon.exe --sleep 60 --omit-output -w

Sep 18 14:43:45.96 (+0000) buddylauncher: STOPPING

Is there any kind of comunication from the outside to my computer

Also can you give a glance on how the several components start If one enconters an error does the other still continues

Any help please I would really like to test my buddy live

Thanks in advance!






Re: Agent Do Not Lauch

Gruia Pitigoi-Aron - MSFT

Hi,

Would it be possible to try some of the other suggestions that were made by Nicolas in the previous post

It's not clear if the following was tried (see post from Nicolas on more details):

- anti-virus service itself stopped (so not just disabling the application, but the actual service in services.msc)

- adding binaries in the list of exceptions (with checkbox checked accordingly)

Basically we are sure that a program on your machine (anti-virus or firewall or something similar) is blocking the port and hence you cannot connect. We have seen these kinds of issues before and that has always been the answer.

If you've tried the above, do you have access to a different machine you could run on

Thank you,

Gruia





Re: Agent Do Not Lauch

NunoCosta

In did!

I installed the IDE at home and it worked just fine! Even with the firewall! Now lets see whats the problem at my companies computer!

Thanks for everything!

My best regards!!






Re: Agent Do Not Lauch

NunoCosta

At my company computer the problem was related with the anti-virus!

I've been able to add all the executables from the \bin directory to a "safe list" and it started to work fine!

Thanks for erveryting

My best regards





Re: Agent Do Not Lauch

Gruia Pitigoi-Aron - MSFT

That is great to hear - now good luck with developing the agent Smile!