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

cannot login: Error: failed to authenticate: bad status code "400 Bad Request": malformed request: EOF #191

Closed
ludenus opened this issue Nov 13, 2021 · 1 comment

Comments

@ludenus
Copy link

ludenus commented Nov 13, 2021

Description
cannot login

Steps to reproduce the issue:
$ hub-tool login
Username:
Password:
Error: failed to authenticate: bad status code "400 Bad Request": malformed request: EOF

Describe the results you received:
"400 Bad Request": malformed request: EOF

Describe the results you expected:
login is performed

Additional information you deem important (e.g. issue happens only occasionally):

Output of hub-tool --version:

Version:    v0.4.1
Git commit: 505194662f8bb7e5b3cd500e3f98961097c4c3d7

Output of docker version:

Docker version 20.10.8, build 3967b7d

Output of docker info:

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.6.1-docker)
  scan: Docker Scan (Docker Inc., v0.8.0)

Server:
 Containers: 1
  Running: 1
  Paused: 0
  Stopped: 0
 Images: 12
 Server Version: 20.10.8
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: e25210fe30a0a703442421b0f60afac609f950a3
 runc version: v1.0.1-0-g4144b63
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.4.0-84-generic
 Operating System: Ubuntu 20.04.2 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 15.89GiB
 Name: builder
 ID: D6E2:QC44:44F6:V33P:5BPN:HMZH:CWLY:TKJM:7TXW:TJTI:F7NB:J2BP
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: bdinnovations
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No swap limit support

Additional environment details (AWS, VirtualBox, physical, etc.):
also reproduced on macbook with recent version of hub-tool

glours added a commit that referenced this issue Nov 18, 2021
@silvin-lubecki
Copy link
Collaborator

The issue has been fixed and released https://github.com/docker/hub-tool/releases/tag/v0.4.4

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

2 participants