This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SOCKS Proxy Error

I get the following error upon enabling SOCKS proxy after addinging my permitted users to it:

The SOCKS proxy authentication switch requires boolean data. 

What in the heck does this mean


This thread was automatically locked due to age.
  • Hi,

    Did you set the SOCKS proxy to SOCKS v5?

    What version of Astaro are you using?

    Barry
  • Sorry to revive a rather old thread, but I'm also getting that same error message. I'm using 9.310-11. There is no option to select SOCKS4 or 5, just a message on the screen:

    "Select the networks and users that should be allowed to use the SOCKS Proxy. Enabling User Authentication will result in a SOCKS5 proxy, otherwise the SOCKS4 protocol is used."

    I get the same error regardless whether or not I select or deselect "Enable User Authentication" (and when I do select I have set up and chosen a user). 

    Any suggestions?
  • same here. I'm on 9.313-3

    Also, as soon as I hit the toggle switch to turn SOCKS on I get "Allowed networks for the SOCKS proxy are missing".
  • @plecavalier.  Upon first turning it on, the slider should show yellow and allow you to enter an Allowed Network and Allowed Users?  Have you used the SOCKS proxy before with a configured network that has since been deleted off the system?  Do you see anything configured in the Allowed Users box?

    If you cannot add a network to the Allowed Networks box due to the error, we will have to fix this from the shell.  If you have a paid license, you will want to contact support to do this.  I'm assuming since you started the account in 2008 that you already know how to setup ssh access.  Login to the shell via ssh as loginuser, then elevate to root with "su -" (no quotes).

    Now the following, separate command on each line, hitting return after each command:

    cc
    socks
    allowed_networks@
    +REF_DefaultInternalNetwork
    exit
    cc get socks allowed_networks


    The last is just a check and it should return REF_DefaultInternalNetwork.  Now go back to WebAdmin and try enabling the SOCKS proxy again.  You should see the Internal (Network) object in the allowed networks box and the error should be gone.
  • Scott, you might want to add the following to the beginning of your instructions to be certain that "Internal (Network)" has a REF with the new naming convention:

    cc get_object_by_name 'network' 'interface_network' 'Internal (Network)'


    Cheers - Bob