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

稀にhttpbinを使うテストが失敗する #194

Open
lempiji opened this issue Apr 22, 2023 · 0 comments
Open

稀にhttpbinを使うテストが失敗する #194

lempiji opened this issue Apr 22, 2023 · 0 comments

Comments

@lempiji
Copy link
Member

lempiji commented Apr 22, 2023

発生個所は不定ですが、httpbinを使ったHTTPのサンプルで以下のようなエラーが起きることがあります。

std.net.curl.HTTPStatusException@/Users/runner/hostedtoolcache/dc/ldc2-1.32.1/x64/ldc2-1.32.1-osx-universal/bin/../import/std/net/curl.d(1097): HTTP request returned status code 502 (Bad Gateway)

思いついた解決策は、何か簡易のHTTPサーバーを起動しておいてlocalhostにアクセスする方法ですが、ちょっとコードが煩雑です。一旦ジョブのリトライで解決するかというところです。

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