clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
520 stars 29 forks source link

CHAMELEONSOCKS container restarts indefinitely #656

Open kahteik opened 5 years ago

kahteik commented 5 years ago

After installing CHAMELEONSOCKS, external network is still unreachable. The status of the container is always "restarting (139)" according to docker ps. Tried to run docker logs chameleonsocks, but returned nothing at all.

This issue was not seen on Ubuntu.

Steps to reproduce the behavior:

  1. Install docker from SWUPD. $ sudo https_proxy=https://myproxy.mycomp.com:<port> swupd bundle-add cloud-control
  2. Reboot the system and log in to the desktop again.
  3. Start docker service with this command $ sudo systemctl start docker
  4. Run the following commands in the console for installation. $ sudo -s $ https_proxy=https://myproxy.mycomp.com:<port> wget https://raw.githubusercontent.com/crops/chameleonsocks/master/chameleonsocks.sh && chmod 755 chameleonsocks.sh $ https_proxy=https://myproxy.mycomp.com:<port> PROXY=mysocksproxy.mycomp.com PAC_URL=http://mysocksproxy.mycomp.com ./chameleonsocks.sh --install
  5. Check container status $ sudo docker ps

Expected behavior A container named chameleonsocks shall be seen with a status of "running".

Environment:

ahkok commented 5 years ago

You wrote:

https_proxy=https://...

Make sure your proxy supports https. Most commonly, they do not, and you should instead write:

https_proxy=http://...

kahteik commented 5 years ago

You wrote:

https_proxy=https://...

Make sure your proxy supports https. Most commonly, they do not, and you should instead write:

https_proxy=http://...

The environment variables were defined correctly when I was running the command. In this bug description I just copied exactly from the instruction on its README.

ahkok commented 5 years ago

copied exactly from the instruction on its README.

The README does now know anything about your proxies. Some proxies support https, some do not.

This README is definitely incorrect for some proxy environments.

ngaloppo commented 4 years ago

Might be related: https://github.com/crops/chameleonsocks/pull/9