redsolution / xabber-server

Xabber Server: an advanced XMPP server, with reliable message delivery, message editing and retraction, group chats, active session management and fast client synchronization
https://www.xabber.com/server/
Other
25 stars 12 forks source link

install problem #11

Open hdihd9162 opened 3 years ago

hdihd9162 commented 3 years ago

hello i try to install in advance mode

Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing Xabber Server Installer  100%  

             'cd0MMMNWWNOl;             
          .ckk0KNWW0Okdxolol:.          
         ;oNMMMMW0Okxdoxolc:;:,         
        ;kNMMMMM0O00K00Odco;;,''        
       .0WWMMMW0dddoooood:cll;.,.       
       :NWWWMM0llllllcc:odcxNX;c,       
       ;dxNWWWNkdddlc:;;;:xWWWOx'       
        o,:dKWWWWWWO;;,::0WWNNXd        
        .d,'dWWWWWWN;,',dONNXKk.        
         .c:oNWWWWWWo.;O00K0Ol          
           .:OXXXXXXKO000Od;.           
              dk0Okdddd0xl              
              ;kOkxdoolxd;              
              :k0Okddooxx:              
              ,dOOkxddddc.              
                 .'::..                 

__  __     _     _                 ____                           
\ \/ /__ _| |__ | |__   ___ _ __  / ___|  ___ _ ____   _____ _ __ 
 \  // _` | '_ \| '_ \ / _ \ '__| \___ \ / _ \ '__\ \ / / _ \ '__|
 /  \ (_| | |_) | |_) |  __/ |     ___) |  __/ |   \ V /  __/ |   
/_/\_\__,_|_.__/|_.__/ \___|_|    |____/ \___|_|    \_/ \___|_|   

Select the appropriate installation type:
1) Quick ( Use only on fresh installed Debian-based GNU/Linux system! )
2) Advanced
3) Update Server
0) Exit
Make your choice : 2
Enter your path for installation Please, enter absolute path. [ /opt/xabberserver ] : 
There is no such directory. Create a directory please. Do you want to create it? y/n y
Create special user for xabberserver? y/n y
Please, enter user for xabberserver. [ xabberserver ] : 
Please, enter group for xabberserver. [ xabberserver ] : 
Installing into /opt/xabberserver/xabberserver.                        [OK]
Created symlink /etc/systemd/system/multi-user.target.wants/xabberserver.service → /etc/systemd/system/xabberserver.service.
Welcome to Xabber server.
To continue installation process, open https://***:8000
To continue installation process, open https://***:8000
To continue installation process, open https://***:8000
To continue installation process, open https://****:8000

but when open link get this error This site can’t be reached

oxoWrk commented 3 years ago

Try to open http://***:8000 (http instead of https)

hdihd9162 commented 3 years ago

its work thank you another question when i open it from other device xabber have this error connection failed the websocket connection could not.....

oxoWrk commented 3 years ago

show browser console logs and the URL on which you open Xabber

yauri-io commented 3 years ago

Is it possible to run this server on HTTPS? I managed to install it and run correctly on HTTPS but cannot login because of websocket connection issue. I'm trying to figure out where the setting of the websocket inside /opt/xabberserver/xabberserver/ folder.

oxoWrk commented 3 years ago

The best way is to use the reverse proxy server(apache2,nginx) Configuring SSL

yauri-io commented 3 years ago

Yes I'm using Nginx reverse proxy. The problem is that the port is hardcoded in the index.html. HTTPS /wss:5443 HTTP /ws:5280

I believe that index.html file and its configuration was generated on installation process. I removed the port and works fine now.

Thanks!