Menu

An error occurred communicating with your vboxwebsrv.

Help
Benjamin
2016-01-19
2016-06-09
  • Benjamin

    Benjamin - 2016-01-19

    Hello, I've installed vurtualbox 5.0.12 and the last phpvirtualbox. First I have not service creatited by virtualbox installation in /etc/init.d/vboxweb-service but I find in /usr/bin/vboxwebsrv
    When I start this and I try to connect to phpvirtualbox I have the error :
    An error occurred communicating with your vboxwebsrv. No more requests will be sent by phpVirtualBox until the error is corrected and this page is refreshed. The details of this connection error should be displayed in a subsequent dialog box.

    And when I click on "ok" I have error "Error logging in to vboxwebsrv." and details is :

    Exception Object
    (
        [message:protected] => Error logging in to vboxwebsrv.
        [string:Exception:private] => 
        [code:protected] => 64
        [file:protected] => /var/www/phpvirtualbox/endpoints/lib/vboxconnector.php
        [line:protected] => 220
        [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/phpvirtualbox/endpoints/lib/vboxconnector.php
                    [line] => 3147
                    [function] => connect
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                        )
    
                )
    
            [1] => Array
                (
                    [file] => /var/www/phpvirtualbox/endpoints/lib/vboxconnector.php
                    [line] => 951
                    [function] => remote_vboxGetGuestOSTypes
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                        )
    
                )
    
            [2] => Array
                (
                    [file] => /var/www/phpvirtualbox/endpoints/api.php
                    [line] => 316
                    [function] => __call
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => vboxGetGuestOSTypes
                            [1] => Array
                                (
                                    [0] => 
                                    [1] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [data] => Array
                                                        (
                                                            [responseData] => Array
                                                                (
                                                                )
    
                                                        )
    
                                                    [errors] => Array
                                                        (
                                                        )
    
                                                    [persist] => Array
                                                        (
                                                        )
    
                                                    [messages] => Array
                                                        (
                                                        )
    
                                                )
    
                                        )
    
                                )
    
                        )
    
                )
    
            [3] => Array
                (
                    [file] => /var/www/phpvirtualbox/endpoints/api.php
                    [line] => 316
                    [function] => vboxGetGuestOSTypes
                    [class] => vboxconnector
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 
                            [1] => Array
                                (
                                    [0] => Array
                                        (
                                            [data] => Array
                                                (
                                                    [responseData] => Array
                                                        (
                                                        )
    
                                                )
    
                                            [errors] => Array
                                                (
                                                )
    
                                            [persist] => Array
                                                (
                                                )
    
                                            [messages] => Array
                                                (
                                                )
    
                                        )
    
                                )
    
                        )
    
                )
    
        )
    
    [previous:Exception:private] =>
    

    )

    Location:http://127.0.0.1:18083/

    For begin I try to connect without authentification because with authentification I have error "Error logging in to vboxwebsrv."

    Thanks in advance

     
  • Quantum HPC

    Quantum HPC - 2016-03-10

    Hi,
    I've found that this error can be related to the permissions on the /etc/shadow file: this one has to be readable by everyone (644) for SOAP to correctly authenticate. Hope this helps.

     
  • Wesley

    Wesley - 2016-06-09

    Have you found a fix?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.