-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Hi and thank you very much for a wonderful tool. I've used it for many years.
When running in a docker container I am receiving 401 errors when trying to connect via NTLM. Running the same API requests through the proxy without being dockerized allows successful api returns. below you will find the docker inspect output for the container. I am running over port 4000. Any insight would be much appreciated. Thank you
[
{
"Id": "50e726601cb9e94d11c7f1e756446b56ddefce3e122942f95828453da3b76361",
"Created": "2024-03-13T18:39:22.674162901Z",
"Path": "docker-entrypoint.sh",
"Args": [
"node",
"./server"
],
"State": {
"Status": "exited",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 137,
"Error": "",
"StartedAt": "2024-03-13T18:39:23.021588852Z",
"FinishedAt": "2024-03-13T18:44:34.592510212Z"
},
"Image": "",
"ResolvConfPath": "/var/lib/docker/containers/50e726601cb9e94d11c7f1e756446b56ddefce3e122942f95828453da3b76361/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/50e726601cb9e94d11c7f1e756446b56ddefce3e122942f95828453da3b76361/hostname",
"HostsPath": "/var/lib/docker/containers/50e726601cb9e94d11c7f1e756446b56ddefce3e122942f95828453da3b76361/hosts",
"LogPath": "/var/lib/docker/containers/50e726601cb9e94d11c7f1e756446b56ddefce3e122942f95828453da3b76361/50e726601cb9e94d11c7f1e756446b56ddefce3e122942f95828453da3b76361-json.log",
"Name": "/sp-rest-proxy",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {
"4000/tcp": [
{
"HostIp": "",
"HostPort": "4000"
}
]
},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"ConsoleSize": [
15,
220
],
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "host",
"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",
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"BlkioDeviceReadBps": [],
"BlkioDeviceWriteBps": [],
"BlkioDeviceReadIOps": [],
"BlkioDeviceWriteIOps": [],
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DeviceRequests": null,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": null,
"Ulimits": [],
"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",
"/sys/devices/virtual/powercap"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/0e6f9beeabb71d34c9dad94db8553ba8199470c365e1a117a50df653f7d828a9-init/diff:/var/lib/docker/overlay2/zphiszza0b5g3ylim4gx4j681/diff:/var/lib/docker/overlay2/zcidjsoupq0c0kzzncl24o5hy/diff:/var/lib/docker/overlay2/ygn7w9mv7zw89j0dqou4w8jtx/diff:/var/lib/docker/overlay2/ahay74ofwh0tc5luna276l30r/diff:/var/lib/docker/overlay2/180ed930ab8755f7d82e25b0604fcccdccfe699bef69ab43178500e21c0afab9/diff:/var/lib/docker/overlay2/ee6be75d98d589826d0a8cdfd33b85008a1717527454491617aa6f478ced7670/diff:/var/lib/docker/overlay2/54e6c2fa168459341b581dfa79dfdebb93d515e02b193d528b931840ee23bc6f/diff:/var/lib/docker/overlay2/6b921c0428823f2ac512063462634ed5953686e1441f1ac2c43d9165f6f759dc/diff",
"MergedDir": "/var/lib/docker/overlay2/0e6f9beeabb71d34c9dad94db8553ba8199470c365e1a117a50df653f7d828a9/merged",
"UpperDir": "/var/lib/docker/overlay2/0e6f9beeabb71d34c9dad94db8553ba8199470c365e1a117a50df653f7d828a9/diff",
"WorkDir": "/var/lib/docker/overlay2/0e6f9beeabb71d34c9dad94db8553ba8199470c365e1a117a50df653f7d828a9/work"
},
"Name": "overlay2"
},
"Mounts": [],
"Config": {
"Hostname": "50e726601cb9",
"Domainname": "",
"User": "",
"AttachStdin": true,
"AttachStdout": true,
"AttachStderr": true,
"ExposedPorts": {
"4000/tcp": {},
"8080/tcp": {}
},
"Tty": true,
"OpenStdin": true,
"StdinOnce": true,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NODE_VERSION=16.20.2",
"YARN_VERSION=1.22.19"
],
"Cmd": [
"node",
"./server"
],
"Image": "sp-rest-proxy",
"Volumes": null,
"WorkingDir": "/usr/src/app",
"Entrypoint": [
"docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "09acdc637742f34c75ba4b918cf6e848e6b61b592660ebb1eee39ceac7ecda08",
"SandboxKey": "/var/run/docker/netns/09acdc637742",
"Ports": {},
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"MacAddress": "",
"NetworkID": "071afe429498e618ede316976d3e05ec431da667cfa3d31cc31c0411e9e0c627",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"DriverOpts": null,
"DNSNames": null
}
}
}
}
]```Metadata
Metadata
Assignees
Labels
No labels