You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to write some example code to list all S3 buckets when using virtual hosting mode and I'm running into a strange issue. This code causes nxdomain errors:
defmoduleListAllBucketsTestdouseExUnit.Casetest"list all buckets"doresponse=ExAws.S3.list_buckets()|>ExAws.request!()ifresponse.status_code==200doIO.puts("Buckets:")forbucket<-response.body.bucketsdoIO.puts(bucket.name)endelseIO.puts("Error listing buckets")endendend
Hello,
I'm trying to write some example code to list all S3 buckets when using virtual hosting mode and I'm running into a strange issue. This code causes nxdomain errors:
Here is my
config/config.exs
file:This throws errors like this:
Disabling virtual host style requests makes this test work.
The text was updated successfully, but these errors were encountered: