Anope Support > 2.0.x/1.9.x Support
Error during starting Anope (connection reset by peer)
low:
Anope 2.0.11, build #2, compiled 05:28:08 Dec 6 2022, flags D
Using configuration file conf/services.conf
Attempting to connect to uplink #1 127.0.0.1 (127.0.0.1/7001) with protocol UnrealIRCd 4+
Successfully connected to uplink #1 127.0.0.1:7001
Lost connection from uplink #1 (127.0.0.1:7001): Connection reset by peer
Lord255:
did you set a listen port on unrealircd side for port 7001?
did you do a /rehash ?
can you please paste your unreal's link and listen block and anope's uplink block?
CrazyCat:
And you can also turn on debug: https://wiki.anope.org/index.php/2.0/Configuration#Logging and https://www.unrealircd.org/docs/Configuration#Step_2:_specify_where_to_log_to
low:
This is on unrealircd:-
/* Special SSL/TLS servers-only port for linking */
listen {
ip 127.0.0.1;
port 7001;
options { tls; serversonly; }
/* The link block for services is usually much simpler.
* For more information about what Services are,
* see https://www.unrealircd.org/docs/Services
*/
link services.venom.org
{
incoming {
mask *@127.0.0.1;
port 7001;
}
password "mypassword";
class servers;
}
This is on anope:-
uplink
{
/*
* The IP or hostname of the IRC server you wish to connect Services to.
* Usually, you will want to connect Services over 127.0.0.1 (aka localhost).
*
* NOTE: On some shell providers, this will not be an option.
*/
host = "127.0.0.1"
/*
* Enable if Services should connect using IPv6.
*/
ipv6 = no
/*
* Enable if Services should connect using SSL.
* You must have an SSL module loaded for this to work.
*/
ssl = no
/*
* The port to connect to.
* The IRCd *MUST* be configured to listen on this port, and to accept
* server connections.
*
* Refer to your IRCd documentation for how this is to be done.
*/
port = 7001
/*
* The password to send to the IRC server for authentication.
* This must match the link block on your IRCd.
*
* Refer to your IRCd documentation for more information on link blocks.
*/
password = "mypassword"
}
Lord255:
i see one problem here:
options { tls; serversonly; }
remove tls; :)
also in the link block the port is not needed. :)
some help (its in your conf too): https://github.com/anope/anope/blob/211bd80061fd02004c7c2ef258f6404ff708bee6/data/example.conf#L141-L160
Navigation
[0] Message Index
[#] Next page
Go to full version