MediaErroTimeout only when logged in via WebService

53 views
Skip to first unread message

eu

unread,
Jul 7, 2011, 11:05:05 AM7/7/11
to OpenMeetings User
Hi there,

I've got a problem that occurs only when logging into OpenMeetings via
a SecureHash that I got from its webservice.

Here it is:

When trying to upload a Word document into OpenMeetings as admin, at
first, the following message is shown:
"Dokument hochgeladen. Bitte warten Sie ab bis es importiert
wurde ..."

But then, after some time, the following error occurs:
onerror SWF!! canvas.mediaerrortimeout exceeded for
http://XXX:80/openmeetings/DownloadHandler?fileName=Testdokument%2Eswf&moduleName=videoconf1&parentPath=%2FTestdokument%2F&room_id=1&sid=YYY

The problem does not occur, when regularly logging in via http://XXX/openmeetings
(using the same super user that is used in the userService.loginUser
method). In this case, the upload works.

Any help is greatly appreciated!

Best wishes,
eu

seba....@gmail.com

unread,
Jul 8, 2011, 4:34:12 AM7/8/11
to openmeet...@googlegroups.com
Are you using different URLs for the SWF and the SOAP Gateway?
Did you configure sth in the config.xml?

Sebastian

2011/7/7 eu <eugen...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups "OpenMeetings User" group.
> To post to this group, send email to openmeet...@googlegroups.com.
> To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.
>
>

--
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.wagner-sebastian.com
seba....@gmail.com

eu

unread,
Jul 8, 2011, 9:26:31 AM7/8/11
to OpenMeetings User
In the config.xml we configured the tunnel port to be 80:
<rtmphostlocal>XXX</rtmphostlocal>
<rtmpTunnelport>80</rtmpTunnelport>
<rtmpsslport>443</rtmpsslport>
<red5httpport>80</red5httpport>

We left all other settings in the config.xml untouched...

I'm connecting to the webservice via:
http://XXX:80/openmeetings/services/RoomService
http://XXX:80/openmeetings/services/UserService

And logging in via:
http://XXX:80/openmeetings/?secureHash=...

What exactly do you mean with SWF gateway?

Thanks!

Best wishes,
eu



On 8 Jul., 10:34, "seba.wag...@gmail.com" <seba.wag...@gmail.com>
wrote:
> Are you using different URLs for the SWF and the SOAP Gateway?
> Did you configure sth in the config.xml?
>
> Sebastian
>
> 2011/7/7 eu <eugen.st...@gmail.com>:
>
>
>
>
>
>
>
>
>
> > Hi there,
>
> > I've got a problem that occurs only when logging into OpenMeetings via
> > a SecureHash that I got from its webservice.
>
> > Here it is:
>
> > When trying to upload a Word document into OpenMeetings as admin, at
> > first, the following message is shown:
> > "Dokument hochgeladen. Bitte warten Sie ab bis es importiert
> > wurde ..."
>
> > But then, after some time, the following error occurs:
> > onerror SWF!! canvas.mediaerrortimeout exceeded for
> >http://XXX:80/openmeetings/DownloadHandler?fileName=Testdokument%2Esw...
>
> > The problem does not occur, when regularly logging in viahttp://XXX/openmeetings
> > (using the same super user that is used in the userService.loginUser
> > method). In this case, the upload works.
>
> > Any help is greatly appreciated!
>
> > Best wishes,
> > eu
>
> > --
> > You received this message because you are subscribed to the Google Groups "OpenMeetings User" group.
> > To post to this group, send email to openmeet...@googlegroups.com.
> > To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/openmeetings-user?hl=en.
>
> --
> Sebastian Wagnerhttp://www.webbase-design.dehttp://openmeetings.googlecode.comhttp://www.wagner-sebastian.com
> seba.wag...@gmail.com

eu

unread,
Jul 8, 2011, 9:56:25 AM7/8/11
to OpenMeetings User
And we commented out the rtmpport...
<!-- <rtmpport>1935</rtmpport> -->



On 8 Jul., 15:26, eu <eugen.st...@gmail.com> wrote:
> In the config.xml we configured the tunnel port to be 80:
>  <rtmphostlocal>XXX</rtmphostlocal>
>  <rtmpTunnelport>80</rtmpTunnelport>
>  <rtmpsslport>443</rtmpsslport>
>  <red5httpport>80</red5httpport>
>
> We left all other settings in the config.xml untouched...
>
> I'm connecting to the webservice via:http://XXX:80/openmeetings/services/RoomServicehttp://XXX:80/openmeetings/services/UserService
> > Sebastian Wagnerhttp://www.webbase-design.dehttp://openmeetings.googlecode.comhttp://...
> > seba.wag...@gmail.com

seba....@gmail.com

unread,
Jul 8, 2011, 4:37:23 PM7/8/11
to openmeet...@googlegroups.com
where do you have got the documentation from to *comment out* things
out of the config.xml?
None of the params in the config.xml should be commented out.

And leave <rtmphostlocal>XXX</rtmphostlocal> empty. That way the app
connects automatically to the domain it has been loading from (Which
actually might fix your media-timeout problem).

Sebastian

2011/7/8 eu <eugen...@gmail.com>:

eu

unread,
Jul 11, 2011, 3:29:18 AM7/11/11
to OpenMeetings User
We commented this part out, because this way it was connecting
directly to the correct port (it is not trying out the port which is
blocked in our case). But as you write, there is a cleaner solution to
this.

The problem with the timing out of the conversion was another one.
When calling the method "setUserObjectAndGenerateRoomHash", we
specified the externalUserId to be 0. This caused the user not to be
logged in correctly, with the consequence of not getting the needed
rights for the conversion (this is what I suspect). I guess the
externalUserId should be null or really an external number.

Thanks for your time and help, Sebastian!

Best wishes,
eu




On 8 Jul., 22:37, "seba.wag...@gmail.com" <seba.wag...@gmail.com>
wrote:
> where do you have got the documentation from to *comment out* things
> out of the config.xml?
> None of the params in the config.xml should be commented out.
>
> And leave <rtmphostlocal>XXX</rtmphostlocal> empty. That way the app
> connects automatically to the domain it has been loading from (Which
> actually might fix your media-timeout problem).
>
> Sebastian
>
> 2011/7/8 eu <eugen.st...@gmail.com>:
>
>
>
>
>
>
>
>
>
> > And we commented out the rtmpport...
> > <!-- <rtmpport>1935</rtmpport> -->
>
> > On 8 Jul., 15:26, eu <eugen.st...@gmail.com> wrote:
> >> In the config.xml we configured the tunnel port to be 80:
> >>  <rtmphostlocal>XXX</rtmphostlocal>
> >>  <rtmpTunnelport>80</rtmpTunnelport>
> >>  <rtmpsslport>443</rtmpsslport>
> >>  <red5httpport>80</red5httpport>
>
> >> We left all other settings in the config.xml untouched...
>
> >> I'm connecting to the webservice via:http://XXX:80/openmeetings/services/RoomServicehttp://XXX:80/openmeet...
> Sebastian Wagnerhttp://www.webbase-design.dehttp://openmeetings.googlecode.comhttp://www.wagner-sebastian.com
> seba.wag...@gmail.com
Reply all
Reply to author
Forward
0 new messages