[AG-TECH] Problems with Access Grid 3.0.2
Thomas D. Uram
turam at mcs.anl.gov
Wed Oct 17 12:02:05 CDT 2007
Could you also provide the VenueServer.cfg file you're using ?
You can send it privately if you prefer.
Thanks,
Tom
On 10/17/07 11:50 AM, Nico wrote:
> Hi Thomas!
>
> I'm connecting to server from VenueClient 3.0.2.
>
> I'm going to try to paste part of the log of VenueClient, but I'm not
> sure if these are the correct records because there are a huge amount
> of information. :(
>
> 10/17/07 11:46:49 2636 VenueClient venueclient.py:1110 INFO
> ExitVenue: Stopping text client
> 10/17/07 11:46:49 2636 JabberClient jabberclient.py:73 DEBUG
> Sending the presence to
> 'Venue-Server-Lobby(agserver.cesga.es)@conference.mcs.anl.gov/CESGA
> Recorder' of type 'unavailable'...
> 10/17/07 11:46:49 2636 bajjer.io io.py:122 DEBUG SEND: <presence
> to="Venue-Server-Lobby(agserver.cesga.es)@conference.mcs.anl.gov/CESGA
> Recorder" type="unavailable"><x /></presence>
> 10/17/07 11:46:49 2636 RTPBeacon rtpbeacon.py:296 DEBUG Called Stop.
> 10/17/07 11:46:49 2636 VenueClientController
> venueclientcontroller.py:435 DEBUG VenueClientController calling
> Venue.EnterVenue
> 10/17/07 11:46:49 2636 VenueClient venueclient.py:1015 DEBUG
> EnterVenue;
> url=https://agserver.cesga.es:9000/Venues/00000115a9a7b68800c100900024008ce81
>
> 10/17/07 11:46:49 2636 NodeService agnodeservice.py:658 INFO
> NodeService.GetCapabilities
> 10/17/07 11:46:49 2636 NodeService agnodeservice.py:257 INFO
> NodeService.GetServices
> 10/17/07 11:46:49 652 ServiceManager agservicemanager.py:218 INFO
> AGServiceManager.GetServices
> 10/17/07 11:46:49 2636 VenueClient venueclient.py:1049 DEBUG
> calling __EnterVenue
> 10/17/07 11:46:49 2636 VenueClient venueclient.py:806 DEBUG
> EnterVenue: Invoke Venue.Enter
> 10/17/07 11:46:49 2636 VenueClient venueclient.py:808 DEBUG after
> Venue.Enter
> 10/17/07 11:46:49 2636 VenueClient venueclient.py:810 DEBUG
> EnterVenue: Invoke Venue.getstate
> 10/17/07 11:46:49 2636 VenueClient venueclient.py:1068 ERROR
> EnterVenue: failed
> Traceback (most recent call last):
> File
> "C:\Python23\lib\site-packages\AccessGrid3\AccessGrid\VenueClient.py",
> line 1050, in EnterVenue
> self.__EnterVenue(URL)
> File
> "C:\Python23\lib\site-packages\AccessGrid3\AccessGrid\VenueClient.py",
> line 811, in __EnterVenue
> state = self.__venueProxy.GetState()
> File
> "C:\Python23\lib\site-packages\AccessGrid3\AccessGrid\interfaces\Venue_client.py",
> line 99, in GetState
> response = self.binding.Receive(GetStateResponse.typecode)
> File "C:\Python23\lib\site-packages\ZSI\client.py", line 414, in Receive
> self.ReceiveSOAP(**kw)
> File "C:\Python23\lib\site-packages\ZSI\client.py", line 376, in
> ReceiveSOAP
> if not self.IsSOAP():
> File "C:\Python23\lib\site-packages\ZSI\client.py", line 368, in IsSOAP
> self.ReceiveRaw()
> File "C:\Python23\lib\site-packages\ZSI\client.py", line 355, in
> ReceiveRaw
> raise RuntimeError, 'HTTP Digest Authorization Failed'
> RuntimeError: HTTP Digest Authorization Failed
> 10/17/07 11:46:49 2636 VenueClient venueclientui.py:2586 DEBUG
> bin.VenueClient::EnterVenue: Enter venue with url:
> https://agserver.cesga.es:9000/Venues/00000115a9a7b68800c100900024008ce81
> 10/17/07 11:46:49 2636 VenueClient venueclientui.py:2602 DEBUG
> warningString:
> 10/17/07 11:46:49 2636 VenueClientController
> venueclientcontroller.py:437 DEBUG VenueClientController after
> Venue.EnterVenue
> 10/17/07 11:46:49 2636 EventClient insecurevenueeventclient.py:77
> INFO BaseVenueEventClient lost connection.
> 10/17/07 11:46:49 2504 bajjer.io io.py:161 DEBUG RECV: <presence
> to='c190248c06454489276602d93a4b4bc8 at jabber.mcs.anl.gov/default'
> type='unavailable'
> from='venue-server-lobby(agserver.cesga.es)@conference.mcs.anl.gov/CESGA
> Recorder'><x/><x xmlns='http://jabber.org/protocol/muc#user'><item
> jid='c190248c06454489276602d93a4b4bc8 at jabber.mcs.anl.gov/default'
> affiliation='owner' role='none'/></x></presence>
> 10/17/07 11:46:49 2504 bajjer.serialize serialize.py:72 DEBUG
> start <{jabber:client}presence> level=1
> 10/17/07 11:46:49 2504 bajjer.serialize serialize.py:72 DEBUG
> start <{jabber:client}x> level=2
> 10/17/07 11:46:49 2504 bajjer.serialize serialize.py:86 DEBUG end
> <{jabber:client}x> level=2
> 10/17/07 11:46:49 2504 bajjer.serialize serialize.py:72 DEBUG
> start <{http://jabber.org/protocol/muc#user}x> level=2
> 10/17/07 11:46:49 2504 bajjer.serialize serialize.py:72 DEBUG
> start <{http://jabber.org/protocol/muc#user}item> level=3
> 10/17/07 11:46:49 2504 bajjer.serialize serialize.py:86 DEBUG end
> <{http://jabber.org/protocol/muc#user}item> level=3
> 10/17/07 11:46:49 2504 bajjer.serialize serialize.py:86 DEBUG end
> <{http://jabber.org/protocol/muc#user}x> level=2
> 10/17/07 11:46:49 2504 bajjer.serialize serialize.py:86 DEBUG end
> <{jabber:client}presence> level=1
> 10/17/07 11:46:49 2504 JabberClient jabberclient.py:148 DEBUG
> venue-server-lobby(agserver.cesga.es)@conference.mcs.anl.gov/CESGA
> Recorder is unavailable (None / None)
> 10/17/07 11:46:49 2504 VenueClient venueclientui.py:2322 DEBUG
> remove user: CESGA Recorder
> 10/17/07 11:46:49 2636 VenueClient venueclientui.py:3349 DEBUG
> ContentListPanel.RemoveParticipant: Remove participant
> 10/17/07 11:46:49 856 RTPBeacon rtpbeacon.py:289 INFO
> RTPBeacon.UpdateThread exiting
> 10/17/07 11:46:53 2636 VenueClientController
> venueclientcontroller.py:435 DEBUG VenueClientController calling
> Venue.EnterVenue
> 10/17/07 11:46:53 2636 VenueClient venueclient.py:1015 DEBUG
> EnterVenue;
> url=https://agserver.cesga.es:9000/Venues/00000115a9a7b68800c100900024008ce81
>
> 10/17/07 11:46:53 2636 NodeService agnodeservice.py:658 INFO
> NodeService.GetCapabilities
> 10/17/07 11:46:53 2636 NodeService agnodeservice.py:257 INFO
> NodeService.GetServices
> 10/17/07 11:46:53 3172 ServiceManager agservicemanager.py:218
> INFO AGServiceManager.GetServices
> 10/17/07 11:46:53 2636 VenueClient venueclient.py:1049 DEBUG
> calling __EnterVenue
> 10/17/07 11:46:53 2636 VenueClient venueclient.py:806 DEBUG
> EnterVenue: Invoke Venue.Enter
> 10/17/07 11:46:53 2636 VenueClient venueclient.py:808 DEBUG after
> Venue.Enter
> 10/17/07 11:46:53 2636 VenueClient venueclient.py:810 DEBUG
> EnterVenue: Invoke Venue.getstate
> 10/17/07 11:46:53 2636 VenueClient venueclient.py:1068 ERROR
> EnterVenue: failed
> Traceback (most recent call last):
> File
> "C:\Python23\lib\site-packages\AccessGrid3\AccessGrid\VenueClient.py",
> line 1050, in EnterVenue
> self.__EnterVenue(URL)
> File
> "C:\Python23\lib\site-packages\AccessGrid3\AccessGrid\VenueClient.py",
> line 811, in __EnterVenue
> state = self.__venueProxy.GetState()
> File
> "C:\Python23\lib\site-packages\AccessGrid3\AccessGrid\interfaces\Venue_client.py",
> line 99, in GetState
> response = self.binding.Receive(GetStateResponse.typecode)
> File "C:\Python23\lib\site-packages\ZSI\client.py", line 414, in Receive
> self.ReceiveSOAP(**kw)
> File "C:\Python23\lib\site-packages\ZSI\client.py", line 376, in
> ReceiveSOAP
> if not self.IsSOAP():
> File "C:\Python23\lib\site-packages\ZSI\client.py", line 368, in IsSOAP
> self.ReceiveRaw()
> File "C:\Python23\lib\site-packages\ZSI\client.py", line 355, in
> ReceiveRaw
> raise RuntimeError, 'HTTP Digest Authorization Failed'
> RuntimeError: HTTP Digest Authorization Failed
> 10/17/07 11:46:53 2636 VenueClient venueclientui.py:2586 DEBUG
> bin.VenueClient::EnterVenue: Enter venue with url:
> https://agserver.cesga.es:9000/Venues/00000115a9a7b68800c100900024008ce81
> 10/17/07 11:46:53 2636 VenueClient venueclientui.py:2602 DEBUG
> warningString:
> 10/17/07 11:46:53 2636 VenueClientController
> venueclientcontroller.py:437 DEBUG VenueClientController after
> Venue.EnterVenue
> 10/17/07 11:46:58 2636 VenueClientController
> venueclientcontroller.py:435 DEBUG VenueClientController calling
> Venue.EnterVenue
> 10/17/07 11:46:58 2636 VenueClient venueclient.py:1015 DEBUG
> EnterVenue;
> url=https://agserver.cesga.es:9000/Venues/00000115a9a7b68800c100900024008ce81
>
> 10/17/07 11:46:58 2636 NodeService agnodeservice.py:658 INFO
> NodeService.GetCapabilities
> 10/17/07 11:46:58 2636 NodeService agnodeservice.py:257 INFO
> NodeService.GetServices
> 10/17/07 11:46:58 3824 ServiceManager agservicemanager.py:218
> INFO AGServiceManager.GetServices
> 10/17/07 11:46:58 2636 VenueClient venueclient.py:1049 DEBUG
> calling __EnterVenue
> 10/17/07 11:46:58 2636 VenueClient venueclient.py:806 DEBUG
> EnterVenue: Invoke Venue.Enter
> 10/17/07 11:46:58 2636 VenueClient venueclient.py:808 DEBUG after
> Venue.Enter
> 10/17/07 11:46:58 2636 VenueClient venueclient.py:810 DEBUG
> EnterVenue: Invoke Venue.getstate
> 10/17/07 11:46:58 2636 VenueClient venueclient.py:1068 ERROR
> EnterVenue: failed
> Traceback (most recent call last):
> File
> "C:\Python23\lib\site-packages\AccessGrid3\AccessGrid\VenueClient.py",
> line 1050, in EnterVenue
> self.__EnterVenue(URL)
> File
> "C:\Python23\lib\site-packages\AccessGrid3\AccessGrid\VenueClient.py",
> line 811, in __EnterVenue
> state = self.__venueProxy.GetState()
> File
> "C:\Python23\lib\site-packages\AccessGrid3\AccessGrid\interfaces\Venue_client.py",
> line 99, in GetState
> response = self.binding.Receive(GetStateResponse.typecode)
> File "C:\Python23\lib\site-packages\ZSI\client.py", line 414, in Receive
> self.ReceiveSOAP(**kw)
> File "C:\Python23\lib\site-packages\ZSI\client.py", line 376, in
> ReceiveSOAP
> if not self.IsSOAP():
> File "C:\Python23\lib\site-packages\ZSI\client.py", line 368, in IsSOAP
> self.ReceiveRaw()
> File "C:\Python23\lib\site-packages\ZSI\client.py", line 355, in
> ReceiveRaw
> raise RuntimeError, 'HTTP Digest Authorization Failed'
>
> Let's see if this can help you to find a solution. Thanks for all!
>
>
> Nico.
>
> Thomas D. Uram escribió:
>> Hi Nico:
>>
>> It would be helpful to see the VenueClient.log file from the client
>> that fails to enter the venue, if you could put it somewhere we could
>> look at it.
>>
>> Also, when you say you 'connect a client and can see all Venues',
>> which client are you connecting? VenueManagement? I ask because you
>> say you can't enter any of the venues.
>>
>> Tom
>>
>>
>> On 10/17/07 9:33 AM, Nico wrote:
>>> Hi Chris!
>>>
>>> Thanks for answering! When I start from the script in init.d and I
>>> connect a client and I can see all Venues, but I can't enter in any
>>> of them because I obtain the error messages I mentioned in the first
>>> mail.
>>>
>>> In the script I have a line different than you to execute
>>> VenueServer, but I've specified the "ag" user:
>>>
>>> daemonAG --user ag VenueServer -c
>>> /home/ag/venue_server3/VenueServer.cfg -p 9000
>>>
>>> Maybe our scripts are different. I used the syntax from this forum:
>>> http://www-unix.mcs.anl.gov/web-mail-archive/lists/ag-tech/2006/02/msg00023.html
>>>
>>>
>>> VenueServer for version 2.4 runs ok with the same syntax.
>>>
>>> Thanks again for your help! See you soon!
>>>
>>> Nico.
>>>
>>> Christoph Willing escribió:
>>>>
>>>> On 17/10/2007, at 9:53 PM, Nico wrote:
>>>>
>>>>> Hi!
>>>>>
>>>>> In our company we have an AG Server on a Linux Fedora Core 4
>>>>> machine with Access Grid 3.0.2 installed. We have several Venues
>>>>> configured. During these days I've been configuring start scripts
>>>>> on the /etc/init.d folder to automatically run Venue Server at the
>>>>> start of the system. So the proccess VenueServer is ok when I
>>>>> reboot the machine, but when I connect a client I can connect to
>>>>> https://server:9000/Venues/default but I can't enter in any
>>>>> configured Venue on the server, I try it, but I receive the
>>>>> following error message: "Error entering venue".
>>>>>
>>>>> So the quick solution is start Venue Server again manually, then I
>>>>> can enter in any Venue.
>>>>>
>>>>> Could somebody tell me what can happen?
>>>>
>>>>
>>>> Nico,
>>>>
>>>> Are the additional venues you've created actually visible to the
>>>> client when the server is started from the init.d script?
>>>>
>>>> If not, then my guess is that whenever the server is started from
>>>> the script in init.d directory, it is being run by the root user
>>>> instead of the ordinary user who created the additional venue
>>>> structure. In that case the server starts in the wrong directory
>>>> and doesn't find the VenueServer.dat file that contains your venue
>>>> structure (which was created when you ran the server as an ordinary
>>>> user).
>>>>
>>>> Your init.d script should explicitly cd to the directory containing
>>>> the correct VenueServer.dat file. It should also su to an ordinary
>>>> user account to actually run the venue server.
>>>>
>>>> Here is the crucial line in our startup script which starts the
>>>> server. You can see the cd to the directory which contains the
>>>> VenueServer.dat file and if that succeeds it runs VenueServer3.py
>>>> as the user 'ag' (not root).
>>>>
>>>> cd /var/lib/ag/server_HALL && su ag -c /usr/bin/VenueServer3.py &
>>>>
>>>> Since you run Fedora, I think your executable will be just
>>>> 'VenueServer' (rather than 'VenueServer3.py')
>>>>
>>>>
>>>>
>>>> chris
>>>>
>>>>
>>>> Christoph Willing +61 7 3365 8350
>>>> QCIF Access Grid Manager
>>>> University of Queensland
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
More information about the ag-tech
mailing list