Closed YoshiWalsh closed 5 years ago
Instead of changing the network why don't you leave it default and find out if it fails... instead of guessing that it will fail?
Sorry for the lack of clarity there. It fails for me unless I change it, I said 'probably' because I'm not sure if the same issue happens for others or if it's specific to my setup.
@parkervcp if I leave the network as default I get this error:
14:24:25.593Z INFO wings: + ------------------------------------ +
14:24:25.595Z INFO wings: | Running Pterodactyl Daemon v0.6.12 |
14:24:25.595Z INFO wings: | https://pterodactyl.io |
14:24:25.595Z INFO wings: | Copyright 2015 - 2019 Dane Everitt |
14:24:25.595Z INFO wings: + ------------------------------------ +
14:24:25.595Z INFO wings: Loading modules, this could take a few seconds.
14:24:26.016Z INFO wings: Modules loaded, starting Pterodactyl Daemon...
14:24:26.086Z INFO wings: Configuring user pterodactyl (id: 500) as the owner of all server files.
14:24:26.089Z INFO wings: Configuring timezone file location...
14:24:26.098Z INFO wings: Checking container networking environment...
14:24:26.106Z WARN wings: No isolated network interface for containers was detected, creating one now.
14:24:26.111Z FATAL wings: A fatal error caused the daemon to abort the startup.
Error: (HTTP code 403) unexpected - Pool overlaps with other one on this address space
at /srv/daemon/node_modules/docker-modem/lib/modem.js:254:17
at getCause (/srv/daemon/node_modules/docker-modem/lib/modem.js:284:7)
at Modem.buildPayload (/srv/daemon/node_modules/docker-modem/lib/modem.js:253:5)
at IncomingMessage.<anonymous> (/srv/daemon/node_modules/docker-modem/lib/modem.js:229:14)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickDomainCallback (internal/process/next_tick.js:219:9)
--
additional: {
"statusCode": 403,
"json": {
"message": "Pool overlaps with other one on this address space"
}
}
14:24:26.111Z ERROR wings: You should forcibly quit this process (CTRL+C) and attempt to fix the issue.
@JoshuaWalsh check out this documentation for how to change the interface used when creating the pterodactyl network.
Hi @DaneEveritt , that worked (after deleting my Server and recreating it). Thanks!
EDIT: I didn't want to use the host network so I changed back to pterodactyl_nw, but I specified a different subnet in interfaces
and it avoided the pool overlap error. Now everything is working just how I want it. Thanks!
@JoshuaWalsh check out this documentation for how to change the interface used when creating the pterodactyl network.
For those googling ye olde "Pool overlaps with other one on this address space" error on Docker Swarm, this documentation link is no longer around. But the error remains.
It moved from daemon to wings https://pterodactyl.io/wings/1.0/configuration.html#custom-network-interfaces
It moved from daemon to wings https://pterodactyl.io/wings/1.0/configuration.html#custom-network-interfaces
That fixed it! Doc site behaves weirdly in brave browser so subsections didn't come up in RTFM, but direct link to it worked.
i'm having a related problem, but not the same, i cannot set the pterodactyl when using a nginx reverse proxy in swarm mode, i have a swag reverse proxy and if i redirect the pterodactyl to be accessed trough there i cannot use mostly of the system, if i uses https on pterodactyl i cannot access it trough the reverse proxy anyway, but if i set the http to access pterodactyl i cannot access some features as create a new server or register a new node. ps: i'm using all the machines into the swarm to recive wings using the global distribution and each new machine i put i register a new reverse proxy to the swag access the wings host in a new subdomain
Background:
Describe the bug I'm trying to set up Pterodactyl on my homelab server. Docker is configured to use Swarm Mode as I intend to add a new physical server to my setup soon, I'm experimenting with a little bit of HA stuff.
The Daemon appears to be working, so I created a server using this egg. The install completed successfully, but when I try to actually start the server I get an error.
I was able to find additional details within
wings.log
. (Am I missing something, or is there no GUI way to view these logs?)As you can see, the issue is that the container is trying to attach to
ingress
, butingress
is not an attachable network. I've done a little bit of Googling about this and the only thing I can find is this which suggests that when Docker is configured with Swarm mode active it's impossible for standalone containers to attach to the ingress network. But that issue also says it was fixed in Docker 1.13. My Docker version is 19.03.0-beta4 (API version 1.40) so I assume that issue can't be the cause.To Reproduce Steps to reproduce the behavior:
pterodactyl_nw
todocker_gwbridge
, otherwise the Daemon will probably fail to start. Place the core.json file within the config directory of the daemon installation.Expected behavior I expect the created Server to start successfully.