Mlb.tv update

I can't even get the container to start anymore or show logs. It says port 9999 unavailable. I deleted stack and container and tried to start over and got his error in portainer:

Failed to deploy a stack: compose up operation failed: Error response from daemon: ports are not available: exposing port TCP 192.168.150.170:9999 -> 127.0.0.1:0: listen tcp4 192.168.150.170:9999: bind: can't assign requested address

Here's what I enter in the stack but then it tells me another on is running but it's not:

services:
  # 2025.02.13
  # GitHub home for this project: https://github.com/tonywagner/mlbserver
  # Docker Hub home for this project: https://hub.docker.com/r/tonywagner/mlbserver
  mlbserver:
    image: tonywagner/mlbserver:latest
    container_name: mlbserver
    ports:
      - 192.168.150.175:9999:9999
    environment:
      - TZ=America/Chicago
      - data_directory=/mlbserver/data_directory
      - [email protected]
      - account_password=---------
      - zip_code=36093
    volumes:
      - /volume1/docker/mlbserver/data
    restart: unless-stopped

Where did you get this Docker Compose? It has multiple potential issues:

In this form, you can ONLY access this container via that exact ip:port combo, it's not listening on any other interface. Why are you doing this?

Here, since you're not mapping anything to this folder, it ends up being bound to a non-persistent volume. This is the opposite of what you want.

Any reason you're not using Project One-Click to do this for you?

I don't know where I got it but I just went to the github and followed the install and got it running again. Thanks for trying to help me get it figure out

What kind of a host are you using for Docker/Portainer here?

Not sure what you mean by host. To get it running again I followed the github to run as node and then added the container

Are you running Docker/Portainer on MacOS, Windows, Synology, or some other Linux host?

Sorry, I'm running m4 mac mini. Also, I just quick using the node version and added as a stack and now I'm back up and running in Docker.

It looks to me like the node version is an alternative to using Docker on the mlbserver GitHub page. If you're trying to run both that would explain your port conflict. You need to pick a horse and ride it.

Thank you. I did. I'm going with the container version

OK, so then you should fix those two issues I pointed out:

I'd suggest this under ports:

    ports:
      - 9999:9999

And to fix the issue with your data not being persistent:

    volumes:
      - /Users/jasontrippe/mlbserver:/mlbserver/data_directory
1 Like

Thank you. I’ll make sure I make the change.

Absolutely because same as last year and when logging into MLB it shows the subscription. But mlbserver won't get past auth.

It's running in a Docker container inside VirtualBox on MacMini. Worked perfectly last year and I pulled latest, rebuilt and fired up to this and then of course it exits. (I changed username/password to 'REDACTED' for this post.)

Edit: It runs as long as I don't try to login at which point it logs as below.

I appreciate any suggestions as it's so much more convenient than the app.

5/9/2026, 1:58:47 PM mlbserver started at http://172.18.0.2:9999
5/9/2026, 2:03:47 PM homepage request : / from: ::ffff:10.0.1.22 using: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.4 Safari/605.1.15
http post failed : 400 - "{\"error\":\"invalid_grant\",\"error_description\":\"The credentials provided were invalid.\"}"
{
  url: 'https://ids.mlb.com/oauth2/aus1m088yK07noBfh356/v1/token',
  headers: {
    'user-agent': 'okhttp/3.12.1',
    'content-type': 'application/x-www-form-urlencoded'
  },
  form: {
    username: 'REDACTED',
    password: 'REDACTED',
    grant_type: 'password',
    scope: 'openid offline_access',
    client_id: '0oa3e1nutA1HLzAKG356'
  },
  jar: RequestJar {
    _jar: CookieJar { enableLooseMode: true, store: [FileCookieStore] }
  }
}

Do you have special characters in your password? You may want to try removing them: https://www.reddit.com/r/MLBtv/comments/1bq51lv/mlbserver_crashing_on_every_play_attempt_logs_say/

No, all numbers and upper and lower case (15 characters).
The team.tv is new this year of course and previously I had all teams.
Would it matter that my credentials.json has fav_team:""
Are others are using with single team purchase?
I don't understand it either. I have no idea what client_id is but could it be stale?

Is there anything weird with the network setup in your Mac/Virtualbox/Docker stack? VPN, DNS, etc.?

Can you try mlbserver on a different device for comparison? Perhaps just via Node or Docker directly in Mac OS.

The only thing weird is me. I looked at your code and tried your headers and form in PostMan and got same result. Then I determined I was using a vestigial password. I'm sorry to waste your time and kicked myself twice.

@tonywagner

For me on the last two nights both Game Changer and Stream Finder show in the mlbserver webpage as available but only play the “event about to start” loop. Big Inning works.

Thoughts?

long time occasional lurker, someday i'll retire and can watch baseball all day. thought ya'all might be able to help.

1 Like

This Game Changer / Stream Finder bug is fixed in version 2026.5.27