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

EventStreamManager this.eventStream is undefined #165

Closed
lucifer1004 opened this issue Sep 24, 2021 · 5 comments
Closed

EventStreamManager this.eventStream is undefined #165

lucifer1004 opened this issue Sep 24, 2021 · 5 comments

Comments

@lucifer1004
Copy link

Ran into this warning message today when working on rust-wechaty. The rust grpc client cannot establish the event stream with the grpc server, that is to say, wechaty-puppet-service. I think it may be related to this warning.

@huan
Copy link
Member

huan commented Sep 24, 2021

It mostly like your are running into

If so, it would be great if you can add support for TLS in the Rust Wechaty .

The work around would be downgrade the Wechaty to older version, or set environment variable to disable TLS in the Wechaty Gateway.

@lucifer1004
Copy link
Author

I tried setting WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_CLIENT to true, but TLS was still enabled when the gateway server started.

Wechaty version: 0.68.1

I'll definitely add TLS support later, but currently, I need to start the service to make other changes first.

@lucifer1004
Copy link
Author

Ah, I see. In my case, I need WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_SERVER instead of WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_CLIENT. The solution is here.

@lucifer1004
Copy link
Author

It mostly like your are running into

If so, it would be great if you can add support for TLS in the Rust Wechaty .

The work around would be downgrade the Wechaty to older version, or set environment variable to disable TLS in the Wechaty Gateway.

You are right. After disabling TLS, the event stream can be established now.

@huan
Copy link
Member

huan commented Sep 24, 2021

Great to know that it works for you, cheers!

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