Problem with streaming replication over SSL

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Problem with streaming replication over SSL
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C208A4E93C@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответы Re: Problem with streaming replication over SSL  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-general
I have streaming replication configured over SSL, and
there seems to be a problem with SSL renegotiation.

This is from the primary's log:

2012-11-06 00:13:10.990
CET,"replication","",5204,"10.153.109.3:49889",509843df.1454,10,"streami
ng 1E3/76D64000",2012-11-05 23:55:27 CET,4/0,0,LOG,08P01,"SSL
renegotiation failure",,,,,,,,,"walreceiver"

2012-11-06 00:13:10.998
CET,"replication","",5204,"10.153.109.3:49889",509843df.1454,11,"streami
ng 1E3/76D64000",2012-11-05 23:55:27 CET,4/0,0,LOG,08P01,"SSL error:
unexpected record",,,,,,,,,"walreceiver"

2012-11-06 00:13:10.998
CET,"replication","",5204,"10.153.109.3:49889",509843df.1454,12,"streami
ng 1E3/76D64000",2012-11-05 23:55:27 CET,4/0,0,LOG,08006,"could not send
data to client: Connection reset by peer",,,,,,,,,"walreceiver"

This is what the standby has to say:

2012-11-06 00:13:11.001 CET,,,26789,,509843df.68a5,2,,2012-11-05
23:55:27 CET,,0,FATAL,XX000,"could not receive data from WAL stream: SSL
error: sslv3 alert unexpected message
",,,,,,,,,""

This is PostgreSQL 9.1.3 on RHEL 6, openssl-1.0.0-20.el6.x86_64,
kernel 2.6.32-220.el6.x86_64.


After that, streaming replication reconnects and resumes working.

Is this an oversight in the replication protocol, or is this
working as designed?

Yours,
Laurenz Albe


В списке pgsql-general по дате отправления:

Предыдущее
От: Tianyin Xu
Дата:
Сообщение: Re: Does PostgreSQL have complete functional test cases?
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Exclusion constraints with time expressions