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

http: invalid Host header #1450

Open
6 of 10 tasks
BarryTheShen opened this issue Jan 19, 2024 · 4 comments
Open
6 of 10 tasks

http: invalid Host header #1450

BarryTheShen opened this issue Jan 19, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@BarryTheShen
Copy link

BarryTheShen commented Jan 19, 2024

Please check that this issue hasn't been reported before.

  • I searched previous Bug Reports didn't find any similar reports.

Expected Behavior

setup.sh run normally, and i can use AgentGPT

Current behaviour

When running setup.sh, after choosing Docker-compose (Recommended), it returns an error of http: Invalid Host headers.

Steps to reproduce

Run setup.sh

Possible solution

No response

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Acknowledgements

  • My issue title is concise, descriptive, and in title casing.
  • I have searched the existing issues to make sure this bug has not been reported yet.
  • I am using the latest version of AgentGPT.
  • I have provided enough information for the maintainers to reproduce and diagnose the issue.
@BarryTheShen BarryTheShen added the bug Something isn't working label Jan 19, 2024
@channingxiao18
Copy link

I had the same problem on the master branch.
env files successfully created!
[+] Building 16.6s (0/1)
[+] Building 17.2s (1/1) FINISHED
=> ERROR [internal] booting buildkit 17.2s
=> => starting container buildx_buildkit_default 17.2s
------nternal] booting buildkit 17.2s

[internal] booting buildkit:x_buildkit_default 17.2s
#0 17.19 time="2024-01-19T06:40:19Z" level=warning msg="using host network as the defaultime="2024-01-19T06:40:19Z" level=warning msg="using host network as the default"
#0 17.19 time="2024-01-19T06:40:19Z" level=warning msg="skipping containerd worker, as "/run/containerd/containerd.sock" does not exist"
dtime="2024-01-19T06:40:19Z" level=info msg="found 1 workers, default="i0a4m5z4b9deh8gvcie44di0n""
`time="2024-01-19T06:40:19Z" level=warning msg="currently, only the default worker can be used."
\time="2024-01-19T06:40:19Z" level=info msg="running server on /run/buildkit/buildkitd.sock"
time="2024-01-19T06:40:19Z" level=warning msg="skipping containerd worker, as "/run/containerd/containerd.sock" does not exist"
#0 17.19 time="2024-01-19T06:40:19Z" level=warning msg="currently, only the default worker can be used." => ERROR [internal] booting buildkit 17.2s
=> => starting container buildx_buildkit_default 17.2s


[internal] booting buildkit:
#0 17.19 time="2024-01-19T06:40:19Z" level=warning msg="using host network as the defaultime="2024-01-19T06:40:19Z" level=warning msg="using host network as the default"
#0 17.19 time="2024-01-19T06:40:19Z" level=warning msg="skipping containerd worker, as "/run/containerd/containerd.sock" does not exist"
#0 17.19 dtime="2024-01-19T06:40:19Z" level=info msg="found 1 workers, default="i0a4m5z4b9deh8gvcie44di0n""
#0 17.19 time="2024-01-19T06:40:19Z" level=warning msg="skipping containerd worker, as "/run/containerd/containerd.sock" does not exist"
#0 17.19 time="2024-01-19T06:40:19Z" level=warning msg="currently, only the default worker can be used."
#0 17.19 time="2024-01-19T06:40:19Z" level=info msg="running server on /run/buildkit/buildkitd.sock"
#0 17.19 time="2024-01-19T06:40:19Z" level=info msg="running server on /run/buildkit/buildkitd.sock"


#0 17.19 time="2024-01-19T06:40:19Z" level=warning msg="currently, only the default worker can be used."
#0 17.19

http: invalid Host header

@channingxiao18
Copy link

after setting ENV variables, run DOCKER_BUILDKIT=0 docker-compose up --build manually, it succed to start.
but there were still many warnings during image building.

@BarryTheShen
Copy link
Author

What ENV variables did you tweak? I still can't get it working.

@ToPGaMiSkS
Copy link

how to deploy to vercel? i can't...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants