Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection timeout #77

Open
mahdi-ln opened this issue Oct 26, 2021 · 0 comments
Open

Connection timeout #77

mahdi-ln opened this issue Oct 26, 2021 · 0 comments

Comments

@mahdi-ln
Copy link

mahdi-ln commented Oct 26, 2021

The connection has timed out
image

image

$ docker inspect squid 
[
    {
        "Id": "a8eee232f5fbe85caa846496c40cd23616a2d38fbc5cd60543f30b7a6d24831b",
        "Created": "2021-10-26T21:33:14.386336651Z",
        "Path": "./entrypoint.sh",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 50316,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2021-10-26T21:33:17.347490731Z",
            "FinishedAt": "2021-10-26T21:33:16.445336018Z"
        },
        "Image": "sha256:df2463f4da70cca7866ddf78a18c73b31c3f4238b04209e8fa5e3c975bbc5140",
        "ResolvConfPath": "/var/lib/docker/containers/a8eee232f5fbe85caa846496c40cd23616a2d38fbc5cd60543f30b7a6d24831b/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/a8eee232f5fbe85caa846496c40cd23616a2d38fbc5cd60543f30b7a6d24831b/hostname",
        "HostsPath": "/var/lib/docker/containers/a8eee232f5fbe85caa846496c40cd23616a2d38fbc5cd60543f30b7a6d24831b/hosts",
        "LogPath": "/var/lib/docker/containers/a8eee232f5fbe85caa846496c40cd23616a2d38fbc5cd60543f30b7a6d24831b/a8eee232f5fbe85caa846496c40cd23616a2d38fbc5cd60543f30b7a6d24831b-json.log",
        "Name": "/lokinet",
        "RestartCount": 2,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "docker-default",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": null,
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "default",
            "PortBindings": {
                "3128/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "3128"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "always",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": [
                "NET_ADMIN"
            ],
            "CapDrop": null,
            "CgroupnsMode": "private",
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": [],
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [
                {
                    "PathOnHost": "/dev/net/tun",
                    "PathInContainer": "/dev/net/tun",
                    "CgroupPermissions": "rwm"
                }
            ],
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "KernelMemory": 0,
            "KernelMemoryTCP": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": null,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": [
                "/proc/asound",
                "/proc/acpi",
                "/proc/kcore",
                "/proc/keys",
                "/proc/latency_stats",
                "/proc/timer_list",
                "/proc/timer_stats",
                "/proc/sched_debug",
                "/proc/scsi",
                "/sys/firmware"
            ],
            "ReadonlyPaths": [
                "/proc/bus",
                "/proc/fs",
                "/proc/irq",
                "/proc/sys",
                "/proc/sysrq-trigger"
            ]
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/e26422b42ea4bc9101baf046076641a02aae44cb9d948610316c1a894f5dcb92-init/diff:/var/lib/docker/overlay2/feb45e2e675746f3b30c8e1bad78d2ef61ad7515243b371a54f3d51432165718/diff:/var/lib/docker/overlay2/4869b17866abc8b7137760b9d18e5168a4cd64e3195bfff366370277de517e12/diff:/var/lib/docker/overlay2/cf0190edb453bea1a8ca8657e57f612e6103a39acb5357884f3172f0921a359d/diff:/var/lib/docker/overlay2/addc90d78714536c5716febffc4ef58e40f442d39876fb51c001e3cf8b5d82ea/diff:/var/lib/docker/overlay2/91a51d9bc8f069ecbf2fac849854a5ac32bba0a52605555a586076670ef217a1/diff:/var/lib/docker/overlay2/3d1f94ac1083ae3042f2ee6812970adb995d982923750fa8ce7c5f813d80fbcc/diff:/var/lib/docker/overlay2/36a17d76fc9b9a43363d37eaa3dd3a5423c0c552621cf1a2c83d8ef910342d97/diff:/var/lib/docker/overlay2/fc8033fffc46bc67b711aeaa33bb046600692f11660ba747841875ba8875c40a/diff:/var/lib/docker/overlay2/4b935337a3269a70bee681a2ec65317f0c9e84da1c5c0a19b2c55aab8a3eb7f7/diff:/var/lib/docker/overlay2/e55ac7aa40f62ff7c3e2f85a45ed1291ab4d5773370bf9da93e44aaefaac562c/diff:/var/lib/docker/overlay2/04c1705d6d4bccf49733a200b6858bf093c611d8338abfe64380945ab42eadd9/diff:/var/lib/docker/overlay2/a73b350d1c706b520af2aeac73d7634a2a62b4b0ea869853ba59e551d9b3ac2f/diff:/var/lib/docker/overlay2/ad691b76c73c87368a9d47c3585936f075ae1a05a9cdc63b7f410b75d7ac3590/diff",
                "MergedDir": "/var/lib/docker/overlay2/e26422b42ea4bc9101baf046076641a02aae44cb9d948610316c1a894f5dcb92/merged",
                "UpperDir": "/var/lib/docker/overlay2/e26422b42ea4bc9101baf046076641a02aae44cb9d948610316c1a894f5dcb92/diff",
                "WorkDir": "/var/lib/docker/overlay2/e26422b42ea4bc9101baf046076641a02aae44cb9d948610316c1a894f5dcb92/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [],
        "Config": {
            "Hostname": "a8eee232f5fb",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "ExposedPorts": {
                "3128/tcp": {}
            },
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "SQUID_VERSION=3.5.27",
                "SQUID_CACHE_DIR=/var/spool/squid",
                "SQUID_LOG_DIR=/var/log/squid",
                "SQUID_USER=proxy"
            ],
            "Cmd": null,
            "Image": "mahdi/lokinet:latest",
            "Volumes": null,
            "WorkingDir": "/lokinet/build/daemon",
            "Entrypoint": [
                "./start.sh"
            ],
            "OnBuild": null,
            "Labels": {}
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "7bddec873022daef3f75762b46e527d6b42bb0943e81e8b65151243c97f262c3",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {
                "3128/tcp": [
                    {
                        "HostIp": "0.0.0.0",
                        "HostPort": "3128"
                    },
                    {
                        "HostIp": "::",
                        "HostPort": "3128"
                    }
                ]
            },
            "SandboxKey": "/var/run/docker/netns/7bddec873022",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "329b57f8a88342b9fde5fdea59f543015b9d1eef178daec1055e5d95a320dc93",
            "Gateway": "172.17.0.1",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "172.17.0.2",
            "IPPrefixLen": 16,
            "IPv6Gateway": "",
            "MacAddress": "02:42:ac:11:00:02",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "ba27830a06b5295a209cfa7eeb589954717714180688c6eed5c6713df16012cc",
                    "EndpointID": "329b57f8a88342b9fde5fdea59f543015b9d1eef178daec1055e5d95a320dc93",
                    "Gateway": "172.17.0.1",
                    "IPAddress": "172.17.0.2",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:11:00:02",
                    "DriverOpts": null
                }
            }
        }
    }
]

OS: Manjaro 21.1

@mahdi-ln mahdi-ln changed the title The proxy server is refusing connections Connection timeout Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant