University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

Smartbody connection to ActiveMQ over VPN (IPv6) | General SmartBody Discussion | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Smartbody connection to ActiveMQ over VPN (IPv6)
September 14, 2017
4:40 am
Avatar
Member
Members
Forum Posts: 3
Member Since:
September 14, 2017
sp_UserOfflineSmall Offline

I have Smartbody setup with ActiveMQ running on Windows server and Smartbody running on Windows 10. It works fine on LAN. With full connection including TTSRelay, number of consumers in ActiveMQ admin console for "ActiveMQ.Advisory.Producer.Topic.DEFAULT_SCOPE" topic is 23.

When I try to connect Smartbody over VPN, it does not connect. Only TTSRelay connect (I see 5 consumers in admin console), but Smartbody does not connect. It fails with the message: "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. Could not connect to server XXXX, VHMSG service not enabled."

Please guide how we can debug this issue.

While searching for resolution, one observation was that VPN works on IPV6. I am not sure if this is the issue. Since TTSRelay connects, ActiveMQ server should be good from configuration point of view.

Please help on this.

September 17, 2017
8:24 am
Avatar
Admin
Forum Posts: 981
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Try enabling the VHMsgManager service (in sbgui: Services->VHMsgManager). In python:  scene.getVHMsgManager().setEnable(True)

 

Ari

September 18, 2017
8:59 pm
Avatar
Member
Members
Forum Posts: 3
Member Since:
September 14, 2017
sp_UserOfflineSmall Offline

I tried this in python.

scene.getVHMsgManager().setEnable(True)

This didn't help. Any other pointer?

Tried following in Command Window -> Python script:

scene.getVHMsgManager().setPort("51516")

scene.getVHMsgManager().setServer("SERVERNAME")

scene.getVHMsgManager().setEnable(True) --> Here I get the error

September 19, 2017
5:18 am
Avatar
Member
Members
Forum Posts: 3
Member Since:
September 14, 2017
sp_UserOfflineSmall Offline

We tried troubleshooting this further using Microsoft Network Monitor. There, it is showing IPv4 under sbgui.exe and IPv6 under chrome.exe. As I mentioned in my question, our infrastructure is using only IPv6. May be, this could be the issue. Is there any way to enforce IPv6 for sbgui.exe?

September 26, 2017
1:19 pm
Avatar
Admin
Forum Posts: 981
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

I don't think I considered ipv6 when building SmartBody. There may indeed be some aspect that needs to be tweaked to accommodate it. Most of the networking code is part of the ActiveMQ messaging system. I would check there first.

Ari

September 27, 2017
7:56 am
Avatar
New Member
Members
Forum Posts: 1
Member Since:
September 26, 2017
sp_UserOfflineSmall Offline
Awaiting Moderation

September 27, 2017
10:31 pm
Avatar
New Member
Members
Forum Posts: 1
Member Since:
September 27, 2017
sp_UserOfflineSmall Offline
Awaiting Moderation

ترجمه متن و مقالات تخصصی با کمترین هزینه با تضمین ضمانت کیفیت ترجمه