Page 1 of 1

Unrealircd 3.2.10.4 + qwebirc

Posted: Tue Jun 02, 2015 9:20 am
by lysitheas
Hello Every one. :)
first sorry for my bad english ...

I have installed an instance of nrealircd 3.2.10.4 and it work very well with ssl :)

i am trying to install qwebirc 0.92, but i can't connect to my server :/

the irc serveur and qwebirc are install on same linux machin.

here my unrealircd.conf cgiirc block :

Code: Select all

cgiirc {
        type webirc;
        hostname "localhost";
        password "*********";
};

and the config.py

Code: Select all

from qwebirc.config_options import *
IRCSERVER, IRCPORT = "localhost", 6697
SSLPORT = 6697
REALNAME = "webchat"
IDENT = "webchat"
WEBIRC_MODE = "webirc"
WEBIRC_PASSWORD = "********"

NETWORK_NAME = "MyChat"
APP_TITLE = NETWORK_NAME + " Web IRC"
NICKNAME_VALIDATE = True
import string
NICKNAME_VALID_FIRST_CHAR = string.letters + "_[]{}`^\\|"
NICKNAME_VALID_SUBSEQUENT_CHARS = NICKNAME_VALID_FIRST_CHAR + string.digits + "-"
NICKNAME_MINIMUM_LENGTH = 2
NICKNAME_MAXIMUM_LENGTH = 15
FEEDBACK_FROM = "****************"
FEEDBACK_TO = "******************"
FEEDBACK_SMTP_HOST, FEEDBACK_SMTP_PORT = "127.0.0.1", 25
ADMIN_ENGINE_HOSTS = ["127.0.0.1"]
 
UPDATE_FREQ = 0.5
MAXBUFLEN = 100000
MAXSUBSCRIPTIONS = 1
MAXLINELEN = 600
DNS_TIMEOUT = 5
HTTP_AJAX_REQUEST_TIMEOUT = 30
HTTP_REQUEST_TIMEOUT = 5
STATIC_BASE_URL = ""
DYNAMIC_BASE_URL = ""
CONNECTION_RESOLVER = None
HMACKEY = "mrmoo"
HMACTEMPORAL = 30
AUTHGATEDOMAIN = "webchat_test"
QTICKETKEY = "boo"
AUTH_SERVICE = "[email protected]"
AUTH_OK_REGEX = "^You are now logged in as [^ ]+\\.$"
import dummyauthgate as AUTHGATEPROVIDER


when i start the webirc page :
i got :

Code: Select all

[11:19] qwebirc v0.92
[11:19] Copyright (C) 2008-2012 Chris Porter and the qwebirc project.
[11:19] http://www.qwebirc.org
[11:19] Licensed under the GNU General Public License, Version 2.
[11:19] == *** (qwebirc) Looking up your hostname...
[11:19] == *** (qwebirc) Found your hostname.
[11:19] == Disconnected from server: Connection to IRC server failed.

Thank you very much in advance for your help

best regards

Re: Unrealircd 3.2.10.4 + qwebirc

Posted: Thu Jun 04, 2015 8:40 pm
by Syzop
Hm, not sure (sorry didn't look in-depth) but you could check if it works without SSL first, so on port 6667.

Then if it connects OK, work from there to resolve the rest of the problem.

Re: Unrealircd 3.2.10.4 + qwebirc

Posted: Fri Jun 05, 2015 8:58 pm
by lysitheas
i have commet line ssl-port
and i have put the default port 6667
but i still have an error :
when i try to connect with another local machine
ERROR: Closing Link: alice[192.168.1.32] (You are not authorized to connect to this server)
1.32 is my second machin ( client where i try to conect)

Re: Unrealircd 3.2.10.4 + qwebirc

Posted: Sun Jun 07, 2015 4:30 pm
by Syzop
I think that means your allow { } blocks are wrong / don't allow the client to connect.

Could you show us your allow blocks ? (Or just change it to hostname *@* and ip *@* straight away...)