Cyrus Jmap support question

Zhivko Vasilev zhivko_vasilev at
Mon May 21 13:47:23 EDT 2018

Hello Everyone,

I hope you can help me.

I'm implementing a JMAP client and try to use Cyrus as reference server.Send and Receive via IMAP/SMTP work fine.
But when I try to connect via HTTP/2 , connection is reset by HTTP/2
reset stream command.
imapd.log file show only  "starttls: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-
SHA384 (256/256 bits new) no authentication"
My http2 call is POST https://[1][2]:443/jmap[3]
"accept", "application/json"
"content-type", "application/json"
"Authorization", "base64 encoded user name:pass"
Is there a way to turn on HTTP log to track what I do incorrectly.

I tried to track with curl  the server allways reponded with HTTP
error 301.The  command I've tried was
"curl --verbose --http2 -X POST \
     -H "Content-Type: application/json" \
     -H "Accept: application/json" \
     --user u1 at \
     -d '[["Mailbox/get", {}, "#1"],"using":["jmap-core","jmap-
     mail"]]' \     http://[4][5]/jmap[6]"
* Connected to ( port 80 (#0)
* Server auth using Basic with user 'u1 at'
> POST /jmap HTTP/1.1
> Host:
> Authorization: Basic dTFAY3lydXMubWFpbHRlbWkuY29tOnE=
> User-Agent: curl/7.58.0
> Connection: Upgrade, HTTP2-Settings
> Upgrade: h2c
> Content-Type: application/json
> Accept: application/json
> Content-Length: 61
* upload completely sent off: 61 out of 61 bytes
< HTTP/1.1 101 Switching Protocols
< Connection: Upgrade
< Upgrade: h2c
* Received 101
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after
  upgrade: len=0* Connection state changed (MAX_CONCURRENT_STREAMS updated)!
< HTTP/2 301
< date: Mon, 21 May 2018 17:36:58 GMT
< location: /jmap/
< vary: Accept-Encoding
< content-length: 0
* Connection #0 to host left intact

Please give me some advice or clue how to track what is the problem.
I'm stuck at this point for two days :(

Thanks ,
Zhivko Vasilev


  1. https://my.ip.address:443/jmap
  2. mailto:u1 at
  3. https://my.ip.address:443/jmap
  5. https://my.ip.address:443/jmap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Cyrus-devel mailing list