Polymer

Polymer

763k Downloads

How does autohost work?

WalleoAndrew opened this issue · 3 comments

commented

I built a file server with nginx, and I can download files by accessing ip:port, but after I point autohost to this ip and port, minecraft will prompt that the download failed. My minecraft version is 1.21, and the server version is also 1.21

This is my auto-host config

  "_c1": "Enables Polymer's ResourcePack Auto Hosting",
  "enabled": true,
  "_c2": "Marks resource pack as required",
  "required": false,
  "_c3": "Type of resource pack provider. Default: 'polymer:automatic'",
  "type": "polymer:http_server",
  "_c4": "Configuration of type, see provider's source for more details",
  "settings": {
    "_c1": "Port used internally to run http server",
    "port": 6502,
    "_c2": "Public address used for sending requests",
    "external_address": "http://domain:6502/"
  },
  "_c5": "Message sent to clients before pack is loaded",
  "message": "This server uses resource pack to enhance gameplay with custom textures and models. It might be unplayable without them.",
  "_c6": "Disconnect message in case of failure",
  "disconnect_message": "Couldn't apply server resourcepack!",
  "external_resource_packs": [],
  "setup_early": false

What should I do...

commented

By the way, I'm using Velocity as a proxy server...

commented

Change the external address to place you proxy it to

commented

When I changed to any other port and did frp port forwarding, it worked.
Very strange🐧