Traffic not arriving at container

I have deployed a small app that functions as a asterisk based PBX server.

I want to handle all TCP and UDP traffic directly. When I first set up the server, it works well. I needed to assign a static IP address.

However, yesterday suddenly inbound traffic no longer was flowing to the server. Outbound traffic was working.

Here is what my configuration file looks like:

# fly.toml app configuration file generated for my-app on 2024-10-12T18:28:04-05:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'my-app'
primary_region = 'yyz'

[build]
  image = 'imagename'

[[mounts]]
  source = 'data'
  destination = '/data'
  initial_size = '1GB'
  auto_extend_size_threshold = 80
  auto_extend_size_increment = '1GB'
  auto_extend_size_limit = '5GB'
  processes = ["app"]

  
[processes]
  app = 'supervisord'


[[services]]
  protocol = 'tcp'
  internal_port = 80
  processes = ["app"]
  min_machines_running = 1
  auto_start_machines = true
  auto_stop_machines = 'stop'

  [[services.ports]]
    port = 80

[[services]]
  protocol = 'tcp'
  internal_port = 443
  processes = ["app"]

  [[services.ports]]
    port = 443

[[services]]
  protocol = 'tcp'
  internal_port = 5060
  processes = ["app"]

  [[services.ports]]
    port = 5060

[[services]]
  protocol = 'tcp'
  internal_port = 5061
  processes = ["app"]

  [[services.ports]]
    port = 5061

[[services]]
  protocol = 'udp'
  internal_port = 5060
  processes = ["app"]

  [[services.ports]]
    port = 5060

[[services]]
  protocol = 'udp'
  internal_port = 0
  processes = ["app"]

  [[services.ports]]
    start_port = 10000
    end_port = 20000

[[vm]]
  memory = '1gb'
  cpu_kind = 'shared'
  cpus = 1

Can you be more specific about which inbound traffic isn’t reaching your server? This is an app with a bunch of different network services, and they’re handled differently in our networking stack. What are you doing to test?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.