Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Error during starting Anope (connection reset by peer)  (Read 5451 times)

0 Members and 1 Guest are viewing this topic.

low

  • Anope User
  • Offline Offline
  • Posts: 7
Error during starting Anope (connection reset by peer)
« on: December 06, 2022, 04:48:52 PM »

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
Logged

Lord255

  • Anope User
  • Offline Offline
  • Posts: 136
Re: Error during starting Anope (connection reset by peer)
« Reply #1 on: December 06, 2022, 04:56:43 PM »

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?
Logged

low

  • Anope User
  • Offline Offline
  • Posts: 7
Re: Error during starting Anope (connection reset by peer)
« Reply #3 on: December 07, 2022, 02:43:14 PM »

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"
}
Logged

Lord255

  • Anope User
  • Offline Offline
  • Posts: 136
Re: Error during starting Anope (connection reset by peer)
« Reply #4 on: December 07, 2022, 02:55:26 PM »

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
Logged

low

  • Anope User
  • Offline Offline
  • Posts: 7
Re: Error during starting Anope (connection reset by peer)
« Reply #5 on: December 08, 2022, 04:17:24 PM »

Thanks Lord255, it's working now :-)

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
Successfully linked, launching into background...



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
Logged

Lord255

  • Anope User
  • Offline Offline
  • Posts: 136
Re: Error during starting Anope (connection reset by peer)
« Reply #6 on: December 08, 2022, 04:53:39 PM »

suresies. you are welcome! enjoy. :)
Logged
Pages: [1]   Go Up