Menu

#6 1.8 Connection problem

1.9
closed-fixed
1.8 (1)
2016-02-04
2014-05-20
Anonymous
No

Hi All,

I get following error if I try connect to my Virtualbox via 1.8.

[e-diablo@homless RemoteBox-1.8]$ ./remotebox
unhandled exception in callback:
Wrong SOAP version specified. Supported versions:
1.1 (http://schemas.xmlsoap.org/soap/envelope/)
1.2 (http://www.w3.org/2003/05/soap-envelope)
ignoring at /opt/RemoteBox-1.8/share/remotebox/rbox_main.pl line 14.
unhandled exception in callback:
Wrong SOAP version specified. Supported versions:
1.1 (http://schemas.xmlsoap.org/soap/envelope/)
1.2 (http://www.w3.org/2003/05/soap-envelope)
ignoring at /opt/RemoteBox-1.8/share/remotebox/rbox_main.pl line 14.
unhandled exception in callback:
Wrong SOAP version specified. Supported versions:
1.1 (http://schemas.xmlsoap.org/soap/envelope/)
1.2 (http://www.w3.org/2003/05/soap-envelope)
ignoring at /opt/RemoteBox-1.8/share/remotebox/rbox_main.pl line 14.
unhandled exception in callback:
Wrong SOAP version specified. Supported versions:
1.1 (http://schemas.xmlsoap.org/soap/envelope/)
1.2 (http://www.w3.org/2003/05/soap-envelope)
ignoring at /opt/RemoteBox-1.8/share/remotebox/rbox_main.pl line 14.
unhandled exception in callback:
Wrong SOAP version specified. Supported versions:
1.1 (http://schemas.xmlsoap.org/soap/envelope/)
1.2 (http://www.w3.org/2003/05/soap-envelope)
*** ignoring at /opt/RemoteBox-1.8/share/remotebox/rbox_main.pl line 14.

anyone have any idea ?

Discussion

  • Ian Chapman

    Ian Chapman - 2014-05-21

    Could you try replacing the vboxService.pm file in your RemoteBox installation with the one that is attached and let me know if it works? You may want to backup the original vboxService.pm file first.

     
  • Ian Chapman

    Ian Chapman - 2014-05-21

    Only if the previously attached vboxService.pm does not work for you, please try this one and let me know if it works instead.

     
  • Ian Chapman

    Ian Chapman - 2014-05-21

    Lastly, for reference could you please tell me:

    1. The operating system or distro you're running RemoteBox on
    2. The version of perl install (eg perl -v)
    3. The version of perl-SOAP-Lite

    Thanks

     
  • Ian Chapman

    Ian Chapman - 2014-05-21
    • status: open --> accepted
     
  • Ertan ERBEK

    Ertan ERBEK - 2014-05-23

    Hi Ian, First of all sory my late replay.

    My Perl Output

    [e-diablo@homless RemoteBox-1.8]$ perl -v

    This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-thread-multi
    (with 19 registered patches, see perl -V for more detail)

    Copyright 1987-2013, Larry Wall

    Perl may be copied only under the terms of either the Artistic License or the
    GNU General Public License, which may be found in the Perl 5 source kit.

    Complete documentation for Perl, including FAQ lists, should be found on
    this system using "man perl" or "perldoc perl". If you have access to the
    Internet, point your browser at http://www.perl.org/, the Perl Home Page.

    [e-diablo@homless RemoteBox-1.8]$ perl -V
    Summary of my perl5 (revision 5 version 18 subversion 2) configuration:

    Platform:
    osname=linux, osvers=3.11.9-200.fc19.x86_64, archname=x86_64-linux-thread-multi
    uname='linux buildvm-12.phx2.fedoraproject.org 3.11.9-200.fc19.x86_64 #1 smp wed nov 20 21:22:24 utc 2013 x86_64 x86_64 x86_64 gnulinux '
    config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Dccdlflags=-Wl,--enable-new-dtags -Dlddlflags=-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -Dshrpdir=/usr/lib64 -DDEBUGGING=-g -Dversion=5.18.2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5 -Dsitearch=/usr/local/lib64/perl5 -Dprivlib=/usr/share/perl5 -Dvendorlib=/usr/share/perl5/vendor_perl -Darchlib=/usr/lib64/perl5 -Dvendorarch=/usr/lib64/perl5/vendor_perl -Darchname=x86_64-linux-thread-multi -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Duseshrplib -Dusethreads -Duseithreads -Dusedtrace=/usr/bin/dtrace -Duselargefiles -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dscriptdir=/usr/bin -Dusesitecustomize'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.8.2 20131212 (Red Hat 4.8.2-7)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
    Linker and Libraries:
    ld='gcc', ldflags =' -fstack-protector'
    libpth=/usr/local/lib64 /lib64 /usr/lib64
    libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat
    perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.18'
    Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,--enable-new-dtags'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro '

    Characteristics of this binary (from libperl):
    Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
    PERL_DONT_CREATE_GVSV
    PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
    PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
    PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_64_BIT_ALL
    USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
    USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
    USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
    USE_REENTRANT_API USE_SITECUSTOMIZE
    Locally applied patches:
    Fedora Patch1: Removes date check, Fedora/RHEL specific
    Fedora Patch3: support for libdir64
    Fedora Patch4: use libresolv instead of libbind
    Fedora Patch5: USE_MM_LD_RUN_PATH
    Fedora Patch6: Skip hostname tests, due to builders not being network capable
    Fedora Patch7: Dont run one io test due to random builder failures
    Fedora Patch9: Fix find2perl to translate ? glob properly (RT#113054)
    Fedora Patch10: Update h2ph(1) documentation (RT#117647)
    Fedora Patch11: Update pod2html(1) documentation (RT#117623)
    Fedora Patch12: Disable ornaments on perl5db AutoTrace tests (RT#118817)
    Fedora Patch14: Do not use system Term::ReadLine::Gnu in tests (RT#118821)
    Fedora Patch15: Define SONAME for libperl.so
    Fedora Patch16: Install libperl.so to -Dshrpdir value
    Fedora Patch18: Fix crash with \&$glob_copy (RT#119051)
    Fedora Patch19: Fix coreamp.t rand test (RT#118237)
    Fedora Patch20: Reap child in case where exception has been thrown (RT#114722)
    Fedora Patch21: Fix using regular expressions containing multiple code blocks (RT#117917)
    Fedora Patch200: Link XS modules to libperl.so with EU::CBuilder on Linux
    Fedora Patch201: Link XS modules to libperl.so with EU::MM on Linux
    Built under linux
    Compiled at Jan 7 2014 14:47:21
    @INC:
    /usr/local/lib64/perl5
    /usr/local/share/perl5
    /usr/lib64/perl5/vendor_perl
    /usr/share/perl5/vendor_perl
    /usr/lib64/perl5
    /usr/share/perl5

    Also please look atached file, I am not get that error now but this time I get some error from RBOX UI.

     

    Last edit: Ertan ERBEK 2014-05-23
  • Ertan ERBEK

    Ertan ERBEK - 2014-05-23

    This perl outpur from my server.

    [root@v1 ~]# perl -V
    Summary of my perl5 (revision 5 version 10 subversion 1) configuration:

    Platform:
    osname=linux, osvers=2.6.32-220.el6.x86_64, archname=x86_64-linux-thread-multi
    uname='linux c6b8.bsys.dev.centos.org 2.6.32-220.el6.x86_64 #1 smp tue dec 6 19:48:22 gmt 2011 x86_64 x86_64 x86_64 gnulinux '
    config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DDEBUGGING=-g -Dversion=5.10.1 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl5 -Dsitearch=/usr/local/lib64/perl5 -Dprivlib=/usr/share/perl5 -Darchlib=/usr/lib64/perl5 -Dvendorlib=/usr/share/perl5/vendor_perl -Dvendorarch=/usr/lib64/perl5/vendor_perl -Dinc_version_list=5.10.0 -Darchname=x86_64-linux-thread-multi -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dscriptdir=/usr/bin -Dusesitecustomize'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
    Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.4.7 20120313 (Red Hat 4.4.7-4)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
    Linker and Libraries:
    ld='gcc', ldflags =' -fstack-protector'
    libpth=/usr/local/lib64 /lib64 /usr/lib64
    libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.12'
    Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib64/perl5/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'

    Characteristics of this binary (from libperl):
    Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
    PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL
    USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
    USE_PERLIO USE_REENTRANT_API USE_SITECUSTOMIZE
    Built under linux
    Compiled at Nov 22 2013 18:29:21
    @INC:
    /usr/local/lib64/perl5
    /usr/local/share/perl5
    /usr/lib64/perl5/vendor_perl
    /usr/share/perl5/vendor_perl
    /usr/lib64/perl5
    /usr/share/perl5

    Please look atached picture file, I get from server.

     
  • Ertan ERBEK

    Ertan ERBEK - 2014-05-23

    Also I install perl-SOAP-Lite.noarch packet to boot system but result same.

     
  • Ian Chapman

    Ian Chapman - 2014-05-24

    Which vboxService.pm file did you try? The first or the second one?

     
  • Ertan ERBEK

    Ertan ERBEK - 2014-05-24

    Second file.

     
  • Ertan ERBEK

    Ertan ERBEK - 2014-05-26

    What you think about my problem ?

     
  • Ertan ERBEK

    Ertan ERBEK - 2014-05-26

    Why or how I don't have any idea but I re try this day and this time I can connect to my Virtualbox Server.

    But RemoteBox can't get my Guest Group information from server why I don'T know.

     
  • Ertan ERBEK

    Ertan ERBEK - 2014-05-26

    Also I atached some picture to this ticket from server xml file and phpvirtualbox UI.

     
  • Ian Chapman

    Ian Chapman - 2014-05-27

    Firstly:

    You say you tried the second vboxService.pm. Did you try the the first vboxService.pm BEFORE the second one, as I asked? If so, does that make a difference at all?

    Secondly:

    The 'login' issue is related to perl 5.18. RemoteBox v1.8 should already be fixed to workaround it. At least it works for me on every test distro I have tried using perl 5.18, including Fedora 20. However, the fix may not have been working for you, which is why I was backing out the fix in stages to see if that made the SOAP errors go away. Hence the trying different vboxService.pm files.

    The gory details. The login bug is probably related to the random hash seeding introduced in Perl 5.18 which no longer guarantees that sequencing through hashes will return values in the same order on each launch. Software which relies on that, was relying on unblessed behaviour. I suspect the culprit is a bug in perl-SOAP-Lite which sends invalid SOAP messages to the server side, pseudo randonly. That is, it varies each time you start RemoteBox. This has the side effect of failing to login, but the culprit is an invalid SOAP message.

    Thirdly:

    I believe you are not seeing the groups because you don't have any VirtualBox groups set it appears. I can see from your configuration file that phpVirtualBox is using the extradata field to simulate groups but that is a custom configuration for phpVirtualBox. VirtualBox groups are held in the machines .vbox file and look like this:

    <Groups>
      <Group name="/Legacy"/>
    </Groups>
    

    Please try setting a group on a guest in RemoteBox and see if it shows up. I suspect the groups wouldn't even show up in VirtualBox itself.

    Hope that helps

     
  • Ertan ERBEK

    Ertan ERBEK - 2014-05-27

    Firstly:

    You say you tried the second vboxService.pm. Did you try the the first vboxService.pm BEFORE the second one, as I asked? If so, does that make a difference at all?

    Yes I also try first file firstly and get some error. Also some time second file not give me error but can't connect to server side some time connect so not stabil. But I think this problem comming from Virtualbox API/perl not from you software.

    Thirdly:

    My idea, I create that group with PHPVirtualBox, so I have group but not standart so this problem comming my server/xml file.

    Dear Thank you for your all work, your softare realy go perfect.

     
  • Ian Chapman

    Ian Chapman - 2014-05-28

    No worries, thank you for letting me know that you tried the first vboxService.pm and it didn't make any difference. :-)

    On your Fedora 20 machine that you're running RemoteBox on, have you ever in installed the perl-SOAP lite manually or from source? The reason I ask, is because I cannot reproduce these SOAP errors:

    unhandled exception in callback:
    Wrong SOAP version specified. Supported versions:
    1.1 (http://schemas.xmlsoap.org/soap/envelope/)
    1.2 (http://www.w3.org/2003/05/soap-envelope)
    ...
    ...

    I have the perl-SOAP-Lite RPM installed on my Fedora 20 machine.

    May I ask that you post the output from these two commands?

    Command1:

    rpm -V perl-SOAP-Lite

    Command2:

    locate "SOAP/Lite.pm"

    Thanks :-)

     
  • Ertan ERBEK

    Ertan ERBEK - 2014-06-01

    Dear, Sorry my late replay.

    No I just use repo packet at my computer also I get your needed command output and you can see at following line.

    [e-diablo@homless ~]$ sudo yum install perl-SOAP-Lite.noarch
    Loaded plugins: langpacks, refresh-packagekit
    Package perl-SOAP-Lite-0.716-3.fc20.noarch already installed and latest version
    Nothing to do
    [e-diablo@homless ~]$ rpm -V perl-SOAP-Lite
    [e-diablo@homless ~]$ locate "SOAP/Lite.pm"
    /usr/share/perl5/vendor_perl/SOAP/Lite.pm
    [e-diablo@homless ~]$

     

    Last edit: Ertan ERBEK 2014-06-01
  • Ian Chapman

    Ian Chapman - 2014-06-06

    Thanks for that, your install looks normal to me. In fact identical to my test Fedora 20 installation. I've even set up a Centos 6.5 server as I noticed it looked like your server was running RHEL and connected from Fedora 20 and it still works without issue for me, so at the moment I cannot reproduce the SOAP errors you were seeing

     
  • Ian Chapman

    Ian Chapman - 2014-06-06

    Actually, I might have just noticed what it could be, even though I can't reproduce the soap error myself. Could you try this vboxService.pm file please, replacing your current one. Let me know if that fixes the SOAP errors. Thanks.

     
  • Ertan ERBEK

    Ertan ERBEK - 2014-06-07

    Dear Ian,

    Working perfectly but I will test more also I will use your software UI instead of Virtualbox Orjinal UI on my desktop because I love headless start :)

     
  • Ian Chapman

    Ian Chapman - 2014-06-08

    Great! :-) Thanks for your help. Even though I couldn't reproduce the errors myself, I think the cause was me passing the soap versions as a numeric (1.1) instead of a string ('1.1'). Anyway, I'll probably release RemoteBox 1.8.1 in the next few days with just this bug fixed as it's quite serious for users that are affected by it.

     
  • Ian Chapman

    Ian Chapman - 2014-06-09

    Thank you, this should be fixed in RemoteBox 1.8.1

     
  • Ian Chapman

    Ian Chapman - 2014-06-09
    • status: accepted --> closed
     
  • Ian Chapman

    Ian Chapman - 2016-02-04
    • status: closed --> closed-fixed
    • Version: --> 1.9
     

Log in to post a comment.