I'm trying to make unrealircd and qwebirc play together.
In my unrealircd.conf I have:
cgiirc {
type webirc;
hostname "server.somewhere.com";
password "passwd";
};
And in qwebirc's config.py I have:
IRCSERVER, IRCPORT = "server.somewhere.com", 6667
WEBIRC_MODE = "webirc"
WEBIRC_PASSWORD = "passwd"
When I try to connect to unrealircs via qwebirc, I get this error message:
ERROR: Closing Link: [z.z.z.z] (CGI:IRC -- No access)
The documentation talks about the cgiirc block in unrealircd.conf but then also mentions a cgiirc.conf. I have created cgiirc.conf and followed all of the documentation but nothing works. Now, I'm not sure if the problem is on unrealircd's end or on qwebirc's end, but I would appreciate any help that could be provided.
Question regarding CGI:IRC
Re: Question regarding CGI:IRC
The hostname field of the cgiirc block needs to contain the IP or rDNS host name that UnrealIRCd sees qwebirc connecting FROM.
Your IP: 
Your Country:

Your Country:

Re: Question regarding CGI:IRC
The IP address that is shown in the "Closing Link" error message has the appropriate reverse DNS entry. I'll try using the IP address explicitly.
Re: Question regarding CGI:IRC
Using the IP address explicitly didn't work either.
Re: Question regarding CGI:IRC
That sounds like either A) the password is WRONG in either unrealircd.conf or config.py (or you havnt recompiled qwebirc after changing the config, see below) or B) the IP youre giving it is NOT the IP CGIIRC is connecting from.Westoya wrote:Using the IP address explicitly didn't work either.
config.py wrote:# Note that some changes to this configuration file require re-running
# compile.py and others require restarting qwebirc (and some require
# both!)
# If in doubt always re-compile and restart.
Your IP: 
Your Country:

Your Country:

Re: Question regarding CGI:IRC
Problem solved: I put the IP address in my cgiirc block in unrealircd.conf and it works. Apparently it doesn't like to use hostnames as the IP address resolves correctly.