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
Issues with SSL #2270
Comments
Where the failed to load part is pointing to the IP not the hostname. |
In order to change the domain you need to reconfigure the packages. The easiest way is to remove them by purging, so you will be sure any configuration doesn't stay. Just removing and installing the packages will not work. The ip address is used in several places, as prosody, the generated certificates that goes in java keystore, jicofo. Multiple configurations, so changing them by hand is not an easy task. |
Yep, the 'Access-Control-Allow-Origin' is that you are loading the site from addressA and you are trying to connect using bosh (making external connection) to addressB, but this is not configured on the server and you will need to fix, jitsi-meet config.js, and then prosody. Purging and installing again if possible is the easiest way. |
Thanks I have done your first suggestion for a second time but also had to manually remove /etc/jitsi/videobridge, those errors have gone but the error still remains with the insecure connection so things not quite right yet, any ideas on letsencrypt, I tried to another SSL it just says does not need renewing. If I accept the warning it takes me to the GUI correctly |
Hum, so you executed the let's encrypt script? Did you try restarting jvb after that? |
Ok that issue appears to have sorted out finally I no longer get the error, but I cannot access the camera and when I do it is really bad bitty quality but says HD. |
If I remove the permissions in chrome it will work, but if I go away and come back I have to remove permissions, in FF it just doesn't work. Share desktop does not seem to be there either. |
This is also an issue with the API I am unable to open the video camera |
I don't get it? So you say you deny the camera/mic permissions and webrtc still open it and then it works? |
No, so when I first starts it works, if I did move away from the page and come back it does not ask for permissions but did not work, this seems to be fixed, I had to remove permissions and re add and then it worked again. But for the API the video camera just wont open, it just says fails to access video. |
Hum, this with the permissions is strange. Can you send me the js console logs when it doesn't work, I haven't seen a problem like that. |
In API I get this:
|
Yes using https, now the api is ok, this is very weird behavior, now I cannot set a pin for the room, it says saved but after reload it is gone and no one ever gets asked for the pin |
Once there is nobody in the room, the room is destroyed. Entering the same URL a new room/conference is created. |
Ok thanks, that caused a bit of an issue but work a way around that on our side. As it is anyone can start a room, is there a way to avoid that and to pass through a password for a room so that it sets up the room with a password via the API? Also API issue came back. Sorry for all the questions ;)
|
What is the browser you are using version, OS? |
Using Chrome and FF, Ubuntu 16.04 |
So basically anyone is able to start a conference on the service and no way to stop it ? |
The version of chrome? Are you seeing the problem in chrome? |
There are a lot different options of controlling that. You are now using the default deployment which is like that, open to everybody. Checkout meet.jit.si. |
Ok thanks will check it out, issue with camera still persists using the API embedded in a web app. |
Which version of chrome is this where you experience the problem? Is it external (usb) camera? Are you having the problems only on one machine? |
Version 62.0.3202.94 (Official Build) (64-bit) if I shut the browser and clear permissions and start again it will get the camera, if not after a page refresh camera will not reload using built in webcam on laptop:
|
Can you try whether you reproduce the problem on meet.jit.si? |
Replacing the URL in the api params with meet.jit.si results in the same. |
But do you reproduce the problem if you directly use meet.jit.si in the same browser, not through the API? |
Yes. Same result, I have to remove permissions and / or shut browser down |
That can be chrome/linux problem, need to search their bug tracker for problems like that. Will try to do it these days and come back to you. I don't think this is in any way some problem with your deployment. Testing on another PC will not reproduce this problem. |
Yer can confirm on the MAC it is working ok. |
Also on Laptop users are not getting shown even when cam is working, both on two seperate networks. |
It is empty |
If there is no audio, jicofo is not in the room, but you said several times that you see other participants audio levels, which mean media is flowing |
Yer thought about that it could actually be picking me up anyway as all the devices are in the same room. |
Well it seemed a promising project, but totally unsuccessful on a seperate machine also, the hostname configuration does not come up to add the hostname after the first installation did not work, removing the project just does not work, cannot remove, install or get it working, think I am going to leave it now. EDIT: tried again removed absolutely everything I could find related to jitsi and it is still picking up the old hostname from somewhere. |
That's because you are removing and not purging the packages, I already sent you earlier the correct command. #2270 (comment) |
It is not mate it is with purge that the errors happen |
I have purged multiple times each time it fails with removing web-config, I finally get rid of everything but it still has not done it, after spending ages purging and removing everything it goes straight back to the same hostname |
debconf-get-selections | grep jitsi |
Also tried this solution: http://lists.jitsi.org/pipermail/dev/2017-May/033040.html Exactly the same, I cannot get back to change the hostname. |
This now works after a reinstall. dpkg-reconfigure jitsi-videobridge jicofo jitsi-meet-prosody jitsi-meet-web-config |
@damencho hi re this link: https://github.com/jitsi/jicofo#secure-domain It does not mention how you generate the user credentials, how would you do this in say PHP? Our backend is Mysql. |
You can create them using a command line: https://prosody.im/doc/creating_accounts You can check more about prosody authentication: |
Thanks @damencho , after many retries I finally got the installation set up and integrated, and now have followed the docs exactly regarding JWT and it has broken everything. I now get the following errors. The page loads but does not load the camera and all buttons are broken.
|
@damencho part of the logs here:
|
I removed permissions, cleared cache etc this was the first error that came up, any ideas why following the docs on this resulted in 502 errors?
|
502 is coming from prosody, check prosody logs. |
/var/log/prosody/prosody.err is empty, I refreshed the page to generate new logs and this is the log from /var/prosody/prosody.log for the last few minutes:
The only time there is errors is:
|
This all happened during installation of the tokens plugin, is there anything you can think of that would of made this happen? Steps reproduce are exactly as your docs say. Really running out of time with this now mate would appreciate the help to get this sorted. |
Open https://domain/http-bind does it return 502? |
You were not using nginx, then what about errors in jvb, are there any? |
Thanks @damencho using jetty not nginx, jvb logs were the first ones I posted about this above, same continually:
|
And here: #2270 (comment) |
You need to check prosody config. Two problems I see:
|
Only changes made to config were the ones documented in the install doc for tokens, here is the config:
|
I fixed the issue with the 502 now I get 504
|
And what was the problem? So, the connection hits first jetty then goes to prosody. Then I would say again, check first jvb logs then prosody. |
Ok so now there actually is error logs in the prosody error log:
|
I fixed that with the following link: Now this issue:
|
Ok so that seemed to have fixed it, so turns out it was an error with the installer after all. One question about JWT, do users have to use the key generated by the creator or can you create a separate key for each user which allows them access to a room ? I am dreading integrating recording and screen sharing lol, definitely need to check your installers mate, also purging has issues as well, I have not once been able to purge successfully without hunting down answers on the net and manually deleting stuff. |
Hi I have a subdomain pointing to the ip of jitsi and I have followed the quick install, it was giving me an error about invalid SSL, I tried a few things and uninstalled and reinstalled jitsi meet, the error still remains, and now I have issues opening the camera, I have to remove permissions and re add every time I came to the page, but now also the video screen has disappeared from the display.
Any suggestions guys ?
TIA
The text was updated successfully, but these errors were encountered: