[ 
https://issues.apache.org/jira/browse/HDDS-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16920620#comment-16920620
 ] 

Elek, Marton commented on HDDS-2054:
------------------------------------

Thank you very much to report this problem [~Jack-Lee].

I tried to reproduce it but it worked well for me.

I have only two ideas:

 * Ozone may started slowly. The services need 10-30 seconds to startup. Can 
you please confirm that you have the same error after 1-2 minutes?
 * AWS credentials can be missing, or in wrong format: I am not sure about 
this, I have a configured, valid AWS key by default. Tried to delete it but 
didn't get the same error message. Can you please confirm if you set your aws 
credentials (or you already had one?)?

You can also upload a detailed log with using a debug flag:

{code}
aws s3api --debug --endpoint http://192.168.99.100:9878 create-bucket --bucket 
bucket1
{code}

It would help me to reproduce it locally as the whole request is printed out to 
the console with all the headers. (If you have any sensitive data in the log, 
for please remove it. AWS access key id can be there, but the secret is not 
only the signature which is generated by the secret).

> Bad preamble for HttpChannelOverHttp In the Ozone
> -------------------------------------------------
>
>                 Key: HDDS-2054
>                 URL: https://issues.apache.org/jira/browse/HDDS-2054
>             Project: Hadoop Distributed Data Store
>          Issue Type: New Feature
>          Components: Ozone Client, Ozone Filesystem, Ozone Manager
>    Affects Versions: 0.4.0
>         Environment: MacOS
>            Reporter: lqjacklee
>            Priority: Minor
>
> Follow the guide : 
> https://cwiki.apache.org/confluence/display/HADOOP/Running+via+DockerHub 
> I have deploy the ozone in the docker. then execute the command 
> aws s3api --endpoint http://192.168.99.100:9878 create-bucket --bucket bucket1
> The logs shows :
> 2019-08-29 02:07:13 WARN  HttpParser:1454 - bad HTTP parsed: 400 Bad preamble 
> for HttpChannelOverHttp@49ddb402{r=0,c=false,a=IDLE,uri=null}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to