Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL with centrifuge-android #218

Closed
kai-zer-ru opened this issue Apr 18, 2018 · 5 comments
Closed

SSL with centrifuge-android #218

kai-zer-ru opened this issue Apr 18, 2018 · 5 comments

Comments

@kai-zer-ru
Copy link

kai-zer-ru commented Apr 18, 2018

Hello!
We use centrifugo as webSocket-server with SSL and centrifuge-android in our android-app.
On disconnect we have an error
java.lang.NullPointerException: ssl == null

Centrifugo config is here https://pastebin.com/3RF2r6BJ
Nginx config is here https://pastebin.com/ZQffYxfd

Android-app was connected to address wss://ws. mycompany.com and wss://websocket.mycompany.com:8000, but error is always here.

What are we doing wrong?

========

Здравствуйте!
Мы используем centrifugo как webSocket-сервер с SSL и centrifuge-android в нашем андроид-приложении.
При отключении (onDisconnect) мы получаем ошибку
java.lang.NullPointerException: ssl == null

Конфигурация Centrifugo находится здесь https://pastebin.com/3RF2r6BJ
Конфигурация Nginx находится здесь https://pastebin.com/ZQffYxfd

Android-приложение подключается к адресу wss://ws.mycompany.com или wss://websocket.mycompany.com:8000, но ошибка всё равно есть.

Что мы делаем не так?

@kai-zer-ru
Copy link
Author

We have asked in centrifugal/centrifuge-android#14, but we have no answer

@kai-zer-ru
Copy link
Author

Трейс при коннекте к домену (через Nginx) - https://pastebin.com/HyuGkTPu
Трейс при коннекте к Ceentrifugo (напрямую) - https://pastebin.com/yC3Cd0Xx

@FZambia
Copy link
Member

FZambia commented Apr 18, 2018

As stated in centrifuge-android repo description we are looking for maintainer for it, this issue relates to Android client and looks like a bug in it. I can't say when maintainer will be found but as soon as it happen hopefully issues will be fixed.

@FZambia FZambia closed this as completed Apr 18, 2018
@FZambia
Copy link
Member

FZambia commented Apr 18, 2018

@kaizer666 also opened an issue in centrifuge-android repo - centrifugal/centrifuge-android#16 - I am very sorry but this is the best I can do at moment.

@kai-zer-ru
Copy link
Author

@FZambia And many people need to fix #147

A timestamp is not sent from centrifugo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants