<div class="gmail_quote">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal">Hi,</p>

<p class="MsoNormal">We are facing issue when we are trying to send event Events.Event.OPEN_APP
to the application event channel using an external application. We are getting <span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: red;">AccessGrid.GroupMsgDefines.NotConnectedException</span>
  at vec.send(….)when we run the following code.  Please
help us to understand what is the root cause.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">------------------- Code snippet  BEGIN-------------------------</p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    clientProfile = GetClientProfile()    
</span></p>

<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    name = </span><i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 170, 0);">&#39;Shared
Browser&#39;</span></i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>

<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    description = </span><i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 170, 0);">&#39;Started by <u>XXXX</u>&#39;</span></i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>


<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    uri = </span><i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 170, 0);">&#39;<a href="https://localhost:8000/Venues/c0a801020ff01df9cc9ce0badeb550b5/apps/0a44b942054c2ab5eac872caed001a03" target="_blank">https://localhost:8000/Venues/c0a801020ff01df9cc9ce0badeb550b5/apps/0a44b942054c2ab5eac872caed001a03</a>&#39;</span></i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>


<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    oid = </span><i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 170, 0);">&#39;0a44b942054c2ab5eac872caed001a03&#39;</span></i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>


<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    mimetype=</span><i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 170, 0);">&#39;application/x-<u>ag</u>-shared-browser&#39;</span></i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>


<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    startable = </span><i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 170, 0);">&#39;1&#39;</span></i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">   
</span></p>

<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    appDesc =
ApplicationDescription(oid, name, description, uri, mimetype, startable)   
</span></p>

<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    verb=</span><i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 170, 0);">&#39;Open&#39;</span></i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>


<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    cmd=</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: blue;">None</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>


<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    data = ApplicationCmdDescription(appDesc,
verb, cmd, clientProfile)</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>

<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;"> </span></p>

<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    location = (</span><i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 170, 0);">&#39;localhost&#39;</span></i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">, </span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: maroon;">8002</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">)  # venue
server running on same machine</span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>

<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    conid = </span><i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 170, 0);">&#39;0a44b9421ebc2e3de5fe168afc2c1b44&#39;</span></i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">   #
getting connection id of the client from the venue state </span></p>

<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    chnl = </span><i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: rgb(0, 170, 0);">‘c0a801020ff01df9cc9ce0badeb550b5’   
</span></i><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">#
hardcoded after looking into logs</span></p>

<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">   
groupMsgClientClassList = GetFormatList() </span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>

<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">       </span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>

<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    <b>vec =
SecureVenueEventClient(</b><b>location=location, privateId=conid, channel=chnl)   </b></span><span style="font-size: 10pt; font-family: &quot;Courier New&quot;;"></span></p>

<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    </span></p>

<p class="MsoNormal" style=""><b><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    vec.Send(Events.Event.OPEN_APP,
data)</span></b></p>

<p class="MsoNormal" style=""><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    vec.Start()     </span></p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;">    reactor.run()</span></p>

<p class="MsoNormal">------------------- Code snippet  END-------------------------</p>

<p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;"> </span></p><p class="MsoNormal"><span style="font-size: 10pt; font-family: &quot;Courier New&quot;; color: black;"><br>
</span></p>

</div>

</div>


</div>Thanks for the help. <br><br>Regards,<br>Chandu<br>