{"action":"created","issue":{"url":"https://api.github.com/repos/mholt/caddy/issues/1241","repository_url":"https://api.github.com/repos/mholt/caddy","labels_url":"https://api.github.com/repos/mholt/caddy/issues/1241/labels{/name}","comments_url":"https://api.github.com/repos/mholt/caddy/issues/1241/comments","events_url":"https://api.github.com/repos/mholt/caddy/issues/1241/events","html_url":"https://github.com/mholt/caddy/issues/1241","id":187580755,"number":1241,"title":"tls: client offered an unsupported, maximum protocol version of 300","user":{"login":"babolivier","id":5547783,"avatar_url":"https://avatars0.githubusercontent.com/u/5547783?v=3","gravatar_id":"","url":"https://api.github.com/users/babolivier","html_url":"https://github.com/babolivier","followers_url":"https://api.github.com/users/babolivier/followers","following_url":"https://api.github.com/users/babolivier/following{/other_user}","gists_url":"https://api.github.com/users/babolivier/gists{/gist_id}","starred_url":"https://api.github.com/users/babolivier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babolivier/subscriptions","organizations_url":"https://api.github.com/users/babolivier/orgs","repos_url":"https://api.github.com/users/babolivier/repos","events_url":"https://api.github.com/users/babolivier/events{/privacy}","received_events_url":"https://api.github.com/users/babolivier/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-06T18:56:16Z","updated_at":"2017-07-05T20:43:48Z","closed_at":"2016-11-07T15:10:54Z","body":"### 1. What version of Caddy are you running (`caddy -version`)?\r\n\r\nCaddy 0.9.3\r\n\r\n### 2. What are you trying to do?\r\n\r\nReverse proxy a [synapse](/matrix-org/synapse) server, and accessing it from the [Riot](https://f-droid.org/repository/browse/?fdfilter=riot&fdid=im.vector.alpha) Android app.\r\n\r\n### 3. What is your entire Caddyfile?\r\n```text\r\nsynapse.club-tech.fr {\r\n\ttls brendan.abolivier@isen-bretagne.fr\r\n\tproxy / 127.0.0.1:8008 {\r\n\t\ttransparent\r\n\t}\r\n\tlog matrix.access.log {\r\n\t\timport logrotate.caddyfile\r\n\t}\r\n}\r\n```\r\n\r\n### 4. How did you run Caddy (give the full command and describe the execution environment)?\r\n\r\n```\r\nExecStart=/usr/local/bin/caddy -log stdout -agree=true -conf=/etc/caddy/Caddyfile -root=/var/tmp\r\n```\r\nUsing the default systemd service.\r\n\r\n### 5. What did you expect to see?\r\n\r\nConnexion between the server and the client app going through Matrix's authentication.\r\n\r\n### 6. What did you see instead (give full error messages and/or log)?\r\n\r\n\"Handshake failed\" in the app, and\r\n\r\n```\r\n2016/11/06 19:34:43 http: TLS handshake error from [my phone's IP]:1107: remote error: tls: internal error\r\n2016/11/06 19:34:43 http: TLS handshake error from [my phone's IP]:1260: tls: client offered an unsupported, maximum protocol version of 300\r\n```\r\n\r\nin the Caddy error log.\r\n\r\nWhen accessing the server directly, everything works fine.\r\n\r\n### 7. How can someone who is starting from scratch reproduce this behavior as minimally as possible?\r\n\r\nInstall Synapse, use the above Caddy configuration, and try to access it via the Riot Android app (using the hostname and port set up in Caddy so it goes through Caddy)."},"comment":{"url":"https://api.github.com/repos/mholt/caddy/issues/comments/313221256","html_url":"https://github.com/mholt/caddy/issues/1241#issuecomment-313221256","issue_url":"https://api.github.com/repos/mholt/caddy/issues/1241","id":313221256,"user":{"login":"mholt","id":1128849,"avatar_url":"https://avatars1.githubusercontent.com/u/1128849?v=3","gravatar_id":"","url":"https://api.github.com/users/mholt","html_url":"https://github.com/mholt","followers_url":"https://api.github.com/users/mholt/followers","following_url":"https://api.github.com/users/mholt/following{/other_user}","gists_url":"https://api.github.com/users/mholt/gists{/gist_id}","starred_url":"https://api.github.com/users/mholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mholt/subscriptions","organizations_url":"https://api.github.com/users/mholt/orgs","repos_url":"https://api.github.com/users/mholt/repos","events_url":"https://api.github.com/users/mholt/events{/privacy}","received_events_url":"https://api.github.com/users/mholt/received_events","type":"User","site_admin":false},"created_at":"2017-07-05T20:43:48Z","updated_at":"2017-07-05T20:43:48Z","body":"@sbuller These error messages come from the Go standard library; you will probably have to take up an issue there if you want it to change."}}
{"actor":{"display_login":"mholt"}}