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

deno compile fails to download denort in 1.45.3 #24719

Closed
losfair opened this issue Jul 25, 2024 · 2 comments · Fixed by #24817
Closed

deno compile fails to download denort in 1.45.3 #24719

losfair opened this issue Jul 25, 2024 · 2 comments · Fixed by #24817

Comments

@losfair
Copy link
Member

losfair commented Jul 25, 2024

Version: Deno 1.45.3

$ export https_proxy=http://...
$ deno compile test.ts
Compile file:///path/to/test.ts to test
error: Writing temporary file 'test.tmp-3f1c3003c2ddd4f4'

Caused by:
    0: client error (SendRequest)
    1: invalid HTTP version parsed

It worked with Deno 1.45.2.

@bartlomieju
Copy link
Member

It was fixed in #24696.

@shuizhongyueming
Copy link

Still facing same problem with Deno 1.45.4

With
macOS: 14.5
Deno: 1.45.4

env:
http_proxy: http://127.0.0.1:6152
https_proxy: http://127.0.0.1:6152
all_proxy: socks5://127.0.0.1:6153

$ deno compile test.ts
Check file:///path/to/test.ts
Compile file:///path/to/test.ts to test
error: Writing temporary file 'test.tmp-fea593cdf8e17bce'

Caused by:
    0: client error (SendRequest)
    1: invalid HTTP version parsed
    
    
$ deno upgrade
Looking up latest version
error: client error (SendRequest)

Caused by:
    invalid HTTP version parsed

And 1.45.2 works in my environment.

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

Successfully merging a pull request may close this issue.

3 participants