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

Can't connect to pion/ion server #45

Open
WeibinDai opened this issue Dec 1, 2021 · 3 comments
Open

Can't connect to pion/ion server #45

WeibinDai opened this issue Dec 1, 2021 · 3 comments

Comments

@WeibinDai
Copy link

Your environment.

  • Version: master latest branch
  • Browser: Chrome 94.0.4606.54 (Official Build) (64-bit)
  • Other Information - pion/ion also is latest master which deployed on the public network server, I also enable cert and key values in signal.toml

What did you expect?

Connect to ion server by using ion-app-flutter.
Maybe Certificate or key should been added in a file?

@andim27
Copy link

andim27 commented Dec 6, 2021

Yes, I have the same problem. From the flutter application it is not possible to connect from the servers. From the flutter side there is no problem.When I trying to enter a room in the flutter log I see next:
I/flutter (15229): IonController setup
I/flutter (15229): IonController setup ok
I/flutter (15229): IonController connect()
I/flutter (15229): joinROOM sid=test-one uid=eab442f0-5bbd-4e88-a9b7-af45f879a22b
D/Surface (15229): Surface::disconnect(this=0x7c69ef1000,api=1)
E/ion (15229): ioctl c0044901 failed with code -1: Invalid argume
ion_local_flutter
ion_local
???
How to solve?

@WeibinDai
Copy link
Author

I solve my problem. The reason is gRPC connection failed. My ion server has set TLS, so the app also need a certification. I modify the _channel.dart in package flutter_ion-1.0.0, and set “onBadCertificate“ true, that will do.

@LJNiklaus
Copy link

modify the _channel.dart file and add onBadCertificate
image

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

3 participants