-
Notifications
You must be signed in to change notification settings - Fork 6
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
Empty reply from server after setup #42
Comments
Hi, thank you for the very detailed bug issue. When you did the test through the Nextcloud instance did you connect to the Talked instance through Nginx or directly? If directly then I think that is where the problem lies. When starting uwsgi with the If you would like to connect directly to Talked then you can change the ExecStart line to the following:
When using the |
Thank you for the prompt reply. |
Ohh, now that I think about it, you might have to use Otherwise, if you can provide any more details about the particular errors you're running into, I'd be happy to look further into it. |
Ok, I've switched to
And there are no new lines in |
This looks for the most part correct. The reason why the If you look in the Nextcloud log there should be a more detailed error log for why running the |
Here is what the log shows: |
What have you input for the URL in Nextcloud, if you're willing to share that? And are there any messages from Talked in /var/log/syslog? |
|
Try and switch the log level for Talked to info and see if that changes anything. It kind of seems like there might be some sort of connection issue between Nextcloud and Talked. |
Hello again. I've set the log level in the systemd service to debug and still haven't noticed anything suspicious that is directly related to Talked. |
To get more detailed logging from Talked itself you have to change the log level in the config.toml file, setting it to |
Oh, I see, sorry for the misunderstanding. Still, the result after the change is the same. This, I think, confirms the idea that the problem is with the connection and not the service itself: a query sent via nginx just doesn't reach uwsgi (there isn't a corresponding line in the uwsgi.log, unlike when I query the socket directly). |
One change I just realised you need to make in your setup if you continue to use the
|
Yep, that solved the current problem. Now |
Great! Is the talk room configured to allow guests? |
Oops, no 😅 |
Mhm, interesting, what is your talk setup? Barebones, with a TURN server or with the Talk HPB backend? |
With TURN |
Mhm, so the error indicates that Talked is having trouble connecting to the call, and more specifically the other participants in the call since it's a TURN setup. To just rule out the low-hanging fruit, how long does it usually take for you to connect to a call? There is currently a 10 second timeout on it. You can also try and look at the turn logs to see if a connection is being made from server talked is running on. |
Well, I'd say it doesn't take longer than 5 seconds most of the time. The coTURN log doesn't have any lines regarding connections, though. |
Thanks for the info, when I have some stuff I need to do some more testing in order to better help. I'm not entire sure what issue exactly there might be with Talked in a TURN only setup, as I've only tested and used Talked with the HPB. It's reasonable to expect it to work, so if there is something I can change in the code to make it work better, I would be nice to have that implemented. |
The issue you experienced may have been caused by something completely different from what I thought. I have created a new release, v0.3.2, that hopefully resolves your issue, so give it a try and let me know. |
No, unfortunately, the result is the same. |
General Description
Tried following the installation setup in README (both client and server) and didn't succeed in getting it working: the server returns an empty response. This is most likely not a bug, but rather me missing something due to the not-so-comprehensive documentation and no help from Stackoverflow and such.
How To Reproduce?
Operating System
Ubuntu 20.04
nginx/1.18.0
Nextcloud 23.0.0
Systemd service
Nginx config
Logs
The content of uwsgi log file after a couple of failed requests:
Response
Talked Version
Server: 0.3.1, installed through PIP according to the instructions in README
Client: 0.3.0, installed through Nextcloud apps
The text was updated successfully, but these errors were encountered: