-
Notifications
You must be signed in to change notification settings - Fork 383
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
Incoming connection is undefined, hearbeat missing on websocket #1104
Comments
Hi, When using file based authentication the password is the hash of the actual password. Please refer to the documentation here https://deepstream.io/tutorials/core/auth/file/ Feel free to reopen if problem persists. Best |
@jaime-ez thank you so much for your response, I think that I'm not configuring well my server I just downloaded it and started running but I want to connect it with the client that is on an API in node js and mongodb database, could you please share with me a resource about how to connect it? |
Hi, here's the list of tutorials: https://deepstream.io/tutorials/ The best you can do is start reading from the beginning in order to grasp the core concepts, then the install section (depending on how you pretend to use it) and how to configure the server. Then take a look at connectors in order to connect to the database. Voy a asumir que hablas español Erick. Lee la documentación, sigue los tutoriales, y si algun tutorial falla o tienes dudas concretas donde me compartes un código que no te funciona veré como ayudarte y mejorar la documentación. El tiempo es escaso pero la voluntad de ayudar está. Deepstream a mi me funciona muy bien y me ha servido mucho para avanzar en mis proyectos, saludos! |
Qué tal @jaime-ez, muchas gracias por tu ayuda! Hey @jaime-ez, thank you very much for your help! Currently, the problem I've is that it seems that it connects well with the connectionString, but the issue arises when I want to connect from the client (second image), on the server where I run deepstream I got the result that is displayed on the third image, I added my ip in conf.yml, in origins but it still appears as undefined, I would appreciate if someone could guide me a bit, thank you very much! |
Eric please share you config files, the first line on your screenshot says |
No idea unless you share your code.
And please do it by copy pasting the code on github comments, or linking to
a gist where I can make comments, don't share files through drive.
Best
El vie, 13 ago 2021 a las 13:38, Erick Gutiérrez. ***@***.***>)
escribió:
… Eric please share you config files, the first line on your screenshot says the
options [credentials] is not supported.. must be something related to that
Thank you, Jaime, I was able to fix the past issues, was because I was
using an old version of deepstream but already I'm getting the following
issue, it's connected but an error on subscribing:
[Fri Aug 13 2021 12:31:28.170] DEBUG subscribing to channel:
message/60b446d27753f40487e81cd3,60b447be7753f40487e81cdd
[Fri Aug 13 2021 12:31:28.172] WARN Warning: EVENT (NOT_SUBSCRIBED)
Is there an idea that is causing it?
Big thanks in advance!!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1104 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABF6ROGSE6CSZ6WFLLKAPPLT4VKAJANCNFSM5AMGHNEA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
--
Jaime Echegaray Zipper
+56-9-94519781
|
Now it's running Jaime, muchas gracias por tu ayuda amigo!! |
@jaime-ez sorry man, now I get another error, I saw that there's a similar issue: But I couldn't fix it, I've modified my package.json as following: { so I modified: and also ran: export DEEPSTREAM_ENV='react-native npm install @deepstream/client --save' My error says: webpack://DeepstreamClient/./src/connection/socket-factory.ts?:23 Error: Cannot find module 'ws' Big thanks in advance!! |
Erick, sorry for the late reply. Are you installing the client on a react-native project? |
Erick, read the error log you just pasted here. It literally tells you where the problem is, and it's not deepstream it's your mongodb url. I don't mean to be rude, but you have to dig deeper before asking on an issue thread, otherwise questions won't be answered. Paste your code here formatted for markdown or link to a gist. |
Gracias, sí sé leer, era un problema con las dependencias de mi repositorio, no te preocupes, ya borré el comentario y agradezco la ayuda, ya está funcionando. |
Sorry but the options that I found on the other issues don't fit with mine
I've downloaded and run the tar gz file on a digitalocean vps, I want to connect from api on node js but the problem is the following:
It appears that wants to connect but after some time is declined, I downloaded the server and it's running, I added my ip to config.yml file on httpServer -> origins
also changed serverName on the same file
On users.yml I've added my username as follows:
and finally, I'm trying to use my deepstream client as following:
const client = ds.login({ username: 'admin', password: 'password' })
but the heartbeat missing WebSocket error is showed...
Big thanks in advance!
The text was updated successfully, but these errors were encountered: