Don't see any media in my client, media scanner running, but show errors

Can anyone tell me what’s going on?
Last week, everything worked without problems.

Type "q" to close application.
Logging [info] or higher severity to log/

[2021-08-28 22:10:10.292] [info]    ############################################################################
[2021-08-28 22:10:10.292] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2021-08-28 22:10:10.292] [info]    under the GNU General Public License GPLv3 or higher.
[2021-08-28 22:10:10.292] [info]    Please see LICENSE.TXT for details.
[2021-08-28 22:10:10.292] [info]    http://www.casparcg.com/
[2021-08-28 22:10:10.292] [info]    ############################################################################
[2021-08-28 22:10:10.292] [info]    Starting CasparCG Video and Graphics Playout Server 2.3.0 a4a7c053 Dev
[2021-08-28 22:10:10.563] [info]    Initializing OpenGL Device.
[2021-08-28 22:10:10.565] [info]    Initialized OpenGL 4.5.0 NVIDIA 441.66 NVIDIA Corporation
[2021-08-28 22:10:10.567] [info]    Initialized ffmpeg module.
[2021-08-28 22:10:10.567] [info]    Initialized oal module.
[2021-08-28 22:10:10.567] [info]    Initialized decklink module.
[2021-08-28 22:10:10.567] [info]    Initialized screen module.
[2021-08-28 22:10:10.567] [i[0828/221010.578:WARNING:dns_config_service_win.cc(669)] Failed to read DnsConfig.
nfo]    I[0828/221010.579:ERROR:gpu_process_transport_factory.cc(990)] Lost UI shared context.
nitialized newtek module.
[2021-08-28 22:10:10.586] [info]    Initialized html module.
[2021-08-28 22:10:10.586] [warning] Flash is no longer a recommended way of creating dynamic templates. Adobe have decla
red flash end-of-life at the end of 2020, and we cannot guarantee it will continue to work in any version after that tim
e.
[2021-08-28 22:10:10.586] [warning] All support for flash templates will be removed in a future release of CasparCG
[2021-08-28 22:10:10.601] [info]    Initialized flash module.
[2021-08-28 22:10:10.603] [info]    Initialized bluefish module.
[2021-08-28 22:10:10.603] [info]    Initialized image module.
[2021-08-28 22:10:10.604] [info]    "C:/casparcg-server-v2.3.0-lts-stable\casparcg.config":
[2021-08-28 22:10:10.604] [info]    -----------------------------------------
[2021-08-28 22:10:10.604] [info]    <?xml version="1.0" encoding="utf-8"?>
[2021-08-28 22:10:10.604] [info]    <configuration>
[2021-08-28 22:10:10.604] [info]       <paths>
[2021-08-28 22:10:10.604] [info]          <media-path>media/</media-path>
[2021-08-28 22:10:10.604] [info]          <log-path>log/</log-path>
[2021-08-28 22:10:10.604] [info]          <data-path>data/</data-path>
[2021-08-28 22:10:10.604] [info]          <template-path>template/</template-path>
[2021-08-28 22:10:10.604] [info]       </paths>
[2021-08-28 22:10:10.604] [info]       <lock-clear-phrase>secret</lock-clear-phrase>
[2021-08-28 22:10:10.604] [info]       <flash>
[2021-08-28 22:10:10.604] [info]          <enabled>true</enabled>
[2021-08-28 22:10:10.604] [info]          <buffer-depth>auto</buffer-depth>
[2021-08-28 22:10:10.604] [info]       </flash>
[2021-08-28 22:10:10.604] [info]       <channels>
[2021-08-28 22:10:10.604] [info]          <channel>
[2021-08-28 22:10:10.604] [info]             <video-mode>1080i5000</video-mode>
[2021-08-28 22:10:10.604] [info]             <consumers>
[2021-08-28 22:10:10.604] [info]                <bluefish>
[2021-08-28 22:10:10.604] [info]                   <device>1</device>
[2021-08-28 22:10:10.604] [info]                   <sdi-stream>1</sdi-stream>
[2021-08-28 22:10:10.604] [info]                   <embedded-audio>true</embedded-audio>
[2021-08-28 22:10:10.604] [info]                   <keyer>external</keyer>
[2021-08-28 22:10:10.604] [info]                </bluefish>
[2021-08-28 22:10:10.604] [info]             </consumers>
[2021-08-28 22:10:10.604] [info]          </channel>
[2021-08-28 22:10:10.604] [info]          <channel>
[2021-08-28 22:10:10.604] [info]             <video-mode>1080i5000</video-mode>
[2021-08-28 22:10:10.604] [info]             <consumers>
[2021-08-28 22:10:10.604] [info]                <bluefish>
[2021-08-28 22:10:10.604] [info]                   <device>1</device>
[2021-08-28 22:10:10.604] [info]                   <sdi-stream>3</sdi-stream>
[2021-08-28 22:10:10.604] [info]                   <embedded-audio>true</embedded-audio>
[2021-08-28 22:10:10.604] [info]                   <keyer>external</keyer>
[2021-08-28 22:10:10.604] [info]                </bluefish>
[2021-08-28 22:10:10.604] [info]             </consumers>
[2021-08-28 22:10:10.604] [info]          </channel>
[2021-08-28 22:10:10.604] [info]       </channels>
[2021-08-28 22:10:10.604] [info]       <controllers>
[2021-08-28 22:10:10.604] [info]          <tcp>
[2021-08-28 22:10:10.604] [info]             <port>5250</port>
[2021-08-28 22:10:10.604] [info]             <protocol>AMCP</protocol>
[2021-08-28 22:10:10.604] [info]          </tcp>
[2021-08-28 22:10:10.604] [info]       </controllers>
[2021-08-28 22:10:10.604] [info]       <amcp>
[2021-08-28 22:10:10.604] [info]          <media-server>
[2021-08-28 22:10:10.604] [info]             <host>localhost</host>
[2021-08-28 22:10:10.604] [info]             <port>8000</port>
[2021-08-28 22:10:10.604] [info]          </media-server>
[2021-08-28 22:10:10.604] [info]       </amcp>
[2021-08-28 22:10:10.604] [info]       <osc>
[2021-08-28 22:10:10.604] [info]          <default-port>6250</default-port>
[2021-08-28 22:10:10.604] [info]          <disable-send-to-amcp-clients>false</disable-send-to-amcp-clients>
[2021-08-28 22:10:10.604] [info]          <predefined-clients>
[2021-08-28 22:10:10.604] [info]             <predefined-client>
[2021-08-28 22:10:10.604] [info]                <address>127.0.0.1</address>
[2021-08-28 22:10:10.604] [info]                <port>5253</port>
[2021-08-28 22:10:10.604] [info]             </predefined-client>
[2021-08-28 22:10:10.604] [info]          </predefined-clients>
[2021-08-28 22:10:10.604] [info]       </osc>
[2021-08-28 22:10:10.604] [info]    </configuration>
[2021-08-28 22:10:10.604] [info]    -----------------------------------------
[2021-08-28 22:10:10.608] [info]    Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2021-08-28 22:10:10.608] [info]    video_channel[1|1080i5000] Successfully Initialized.
[2021-08-28 22:10:10.608] [info]    Initialized OpenGL Accelerated GPU Image Mixer for channel 2
[2021-08-28 22:10:10.608] [info]    video_channel[2|1080i5000] Successfully Initialized.
[2021-08-28 22:10:10.611] [info]    Bluefish SuperNova [1-1Stream: 1|1080i5000] Enabled embedded-audio.
[2021-08-28 22:10:10.651] [info]    Bluefish SuperNova [1-1Stream: 1|1080i5000] Initialized.
[2021-08-28 22:10:10.654] [info]    Bluefish SuperNova [2-1Stream: 3|1080i5000] Enabled embedded-audio.
[2021-08-28 22:10:10.692] [info]    Bluefish SuperNova [2-1Stream: 3|1080i5000] Initialized.
[2021-08-28 22:10:10.692] [info]    Initialized channels.
[2021-08-28 22:10:10.693] [info]    Initialized controllers.
[2021-08-28 22:10:10.693] [info]    Initialized osc.
[0828/221015.580:WARNING:dns_config_service_win.cc(669)] Failed to read DnsConfig.
[0828/221020.583:WARNING:dns_config_service_win.cc(669)] Failed to read DnsConfig.
[0828/221025.584:WARNING:dns_config_service_win.cc(669)] Failed to read DnsConfig.
[0828/221030.585:WARNING:dns_config_service_win.cc(669)] Failed to read DnsConfig.
[0828/221037.164:WARNING:dns_config_service_win.cc(669)] Failed to read DnsConfig.
[2021-08-28T20:10:13.925Z] INFO (scanner/2656 on test-PC):
    caspar: {
      "config": "./casparcg.config"
    }
    paths: {
      "template": "template/",
      "media": "media/",
      "font": "./font",
      "ffmpeg": "ffmpeg.exe",
      "ffprobe": "ffprobe.exe",
      "log": "log/",
      "data": "data/"
    }
    scanner: {
      "paths": "media/"
    }
    thumbnails: {
      "width": 256,
      "height": -1
    }
    isProduction: false
    logger: {
      "level": "trace",
      "name": "scanner",
      "prettyPrint": true
    }
    http: {
      "port": 8000
    }
    type: "literal"
    ALLUSERSPROFILE: "C:\\ProgramData"
    APPDATA: "C:\\Users\\chyron\\AppData\\Roaming"
    CommonProgramFiles: "C:\\Program Files\\Common Files"
    CommonProgramFiles(x86): "C:\\Program Files (x86)\\Common Files"
    CommonProgramW6432: "C:\\Program Files\\Common Files"
    COMPUTERNAME: "TEST-PC"
    ComSpec: "C:\\Windows\\system32\\cmd.exe"
    FP_NO_HOST_CHECK: "NO"
    GS2CONFIG: "C:\\gs2\\cfg\\gfx.cfg"
    GS2HOST: "localhost"
    HOMEDRIVE: "C:"
    HOMEPATH: "\\Users\\chyron"
    JRE_HOME: "C:\\Program Files\\Adaptec\\maxView Storage Manager\\\\jre"
    LOCALAPPDATA: "C:\\Users\\chyron\\AppData\\Local"
    LOGONSERVER: "\\\\TEST-PC"
    MAXVIEW_INSTALLDIR: "C:\\Program Files\\Adaptec\\maxView Storage Manager\\"
    NUMBER_OF_PROCESSORS: "8"
    OPENSSL_BIN: "C:\\Program Files\\Adaptec\\maxView Storage Manager\\\\ssl\\bi
n"
    OPENSSL_HOME: "C:\\Program Files\\Adaptec\\maxView Storage Manager\\ssl"
    OS: "Windows_NT"
    Path: "C:\\Program Files\\BlueFish444\\DrasticMediaReactor\\;C:\\Program Fil
es\\Adaptec\\maxView Storage Manager\\;C:\\Program Files\\Adaptec\\maxView Stora
ge Manager\\ssl\\bin;C:\\Program Files\\Adaptec\\maxView Storage Manager\\pegasu
s\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows
\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Microsoft SQL Ser
ver\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Bin
n\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementS
tudio\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Prog
ram Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files\\PuTTY\\"
    PATHEXT: ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
    PEGASUS_HOME: "C:\\Program Files\\Adaptec\\maxView Storage Manager\\pegasus"

    PEGASUS_ROOT: "C:\\Program Files\\Adaptec\\maxView Storage Manager\\pegasus"

    PROCESSOR_ARCHITECTURE: "AMD64"
    PROCESSOR_IDENTIFIER: "Intel64 Family 6 Model 45 Stepping 7, GenuineIntel"
    PROCESSOR_LEVEL: "6"
    PROCESSOR_REVISION: "2d07"
    ProgramData: "C:\\ProgramData"
    ProgramFiles: "C:\\Program Files"
    ProgramFiles(x86): "C:\\Program Files (x86)"
    ProgramW6432: "C:\\Program Files"
    PSModulePath: "C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\
\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\"
    PUBLIC: "C:\\Users\\Public"
    SCRATCH_SDI_MODULE: "C:\\Program Files\\BlueFish444\\Scratch\\BlueVideoIO.dl
l"
    SESSIONNAME: "Console"
    SystemDrive: "C:"
    SystemRoot: "C:\\Windows"
    TEMP: "C:\\Users\\chyron\\AppData\\Local\\Temp"
    TMP: "C:\\Users\\chyron\\AppData\\Local\\Temp"
    USERDOMAIN: "test-PC"
    USERNAME: "chyron"
    USERPROFILE: "C:\\Users\\chyron"
    windir: "C:\\Windows"
    windows_tracing_flags: "3"
    windows_tracing_logfile: "C:\\BVTBin\\Tests\\installpackage\\csilogfile.log"

    _: []
    $0: "C:\\casparcg-server-v2.3.0-lts-stable\\scanner.exe C:\\snapshot\\media-
scanner\\src\\index.js"
[2021-08-28T20:10:13.934Z] INFO (scanner/2656 on test-PC): Checking for dead med
ia
(node:2656) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejec
tion id: 3): Error: getaddrinfo ENOENT localhost:8000
(node:2656) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre
cated. In the future, promise rejections that are not handled will terminate the
 Node.js process with a non-zero exit code.
[2021-08-28T20:10:14.109Z] ERROR (scanner/2656 on test-PC):
    err: {
      "type": "Error",
      "message": "getaddrinfo ENOENT localhost:8000",
      "stack": "Error: getaddrinfo ENOENT localhost:8000\n    at Object._errnoEx
ception (util.js:1024:11)\n    at errnoException (dns.js:55:15)\n    at GetAddrI
nfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)",
      "code": "ENOENT",
      "errno": "ENOENT",
      "syscall": "getaddrinfo",
      "hostname": "localhost",
      "host": "localhost",
      "port": "8000",
      "status": 500
    }
[2021-08-28T20:10:14.310Z] ERROR (scanner/2656 on test-PC):
    err: {
      "type": "Error",
      "message": "getaddrinfo ENOENT localhost:8000",
      "stack": "Error: getaddrinfo ENOENT localhost:8000\n    at Object._errnoEx
ception (util.js:1024:11)\n    at errnoException (dns.js:55:15)\n    at GetAddrI
nfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)",
      "code": "ENOENT",
      "errno": "ENOENT",
      "syscall": "getaddrinfo",
      "hostname": "localhost",
      "host": "localhost",
      "port": "8000",
      "status": 500
    }
[2021-08-28T20:10:14.392Z] ERROR (scanner/2656 on test-PC):
    err: {
      "type": "Error",
      "message": "getaddrinfo ENOENT localhost:8000",
      "stack": "Error: getaddrinfo ENOENT localhost:8000\n    at Object._errnoEx
ception (util.js:1024:11)\n    at errnoException (dns.js:55:15)\n    at GetAddrI
nfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)",
      "code": "ENOENT",
      "errno": "ENOENT",
      "syscall": "getaddrinfo",
      "hostname": "localhost",
      "host": "localhost",
      "port": "8000",
      "status": 500
    }
[2021-08-28T20:10:14.503Z] ERROR (scanner/2656 on test-PC):
    err: {
      "type": "Error",
      "message": "getaddrinfo ENOENT localhost:8000",
      "stack": "Error: getaddrinfo ENOENT localhost:8000\n    at Object._errnoEx
ception (util.js:1024:11)\n    at errnoException (dns.js:55:15)\n    at GetAddrI
nfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)",
      "code": "ENOENT",
      "errno": "ENOENT",
      "syscall": "getaddrinfo",
      "hostname": "localhost",
      "host": "localhost",
      "port": "8000",
      "status": 500
    }
[2021-08-28T20:10:14.613Z] ERROR (scanner/2656 on test-PC):
    err: {
      "type": "Error",
      "message": "getaddrinfo ENOENT localhost:8000",
      "stack": "Error: getaddrinfo ENOENT localhost:8000\n    at Object._errnoEx
ception (util.js:1024:11)\n    at errnoException (dns.js:55:15)\n    at GetAddrI
nfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)",
      "code": "ENOENT",
      "errno": "ENOENT",
      "syscall": "getaddrinfo",
      "hostname": "localhost",
      "host": "localhost",
      "port": "8000",
      "status": 500
    }
[2021-08-28T20:10:14.719Z] ERROR (scanner/2656 on test-PC):
    err: {
      "type": "Error",
      "message": "getaddrinfo ENOENT localhost:8000",
      "stack": "Error: getaddrinfo ENOENT localhost:8000\n    at Object._errnoEx
ception (util.js:1024:11)\n    at errnoException (dns.js:55:15)\n    at GetAddrI
nfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)",
      "code": "ENOENT",
      "errno": "ENOENT",
      "syscall": "getaddrinfo",
      "hostname": "localhost",
      "host": "localhost",
      "port": "8000",
      "status": 500
    }
[2021-08-28T20:10:14.825Z] ERROR (scanner/2656 on test-PC):
    err: {
      "type": "Error",
      "message": "getaddrinfo ENOENT localhost:8000",
      "stack": "Error: getaddrinfo ENOENT localhost:8000\n    at Object._errnoEx
ception (util.js:1024:11)\n    at errnoException (dns.js:55:15)\n    at GetAddrI
nfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)",
      "code": "ENOENT",
      "errno": "ENOENT",
      "syscall": "getaddrinfo",
      "hostname": "localhost",
      "host": "localhost",
      "port": "8000",
      "status": 500
    }
[2021-08-28T20:10:14.908Z] ERROR (scanner/2656 on test-PC):
    err: {
      "type": "Error",
      "message": "getaddrinfo ENOENT localhost:8000",
      "stack": "Error: getaddrinfo ENOENT localhost:8000\n    at Object._errnoEx
ception (util.js:1024:11)\n    at errnoException (dns.js:55:15)\n    at GetAddrI
nfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)",
      "code": "ENOENT",
      "errno": "ENOENT",
      "syscall": "getaddrinfo",
      "hostname": "localhost",
      "host": "localhost",
      "port": "8000",
      "status": 500
    }
[2021-08-28T20:10:15.014Z] ERROR (scanner/2656 on test-PC):
    err: {
      "type": "Error",
      "message": "getaddrinfo ENOENT localhost:8000",
      "stack": "Error: getaddrinfo ENOENT localhost:8000\n    at Object._errnoEx
ception (util.js:1024:11)\n    at errnoException (dns.js:55:15)\n    at GetAddrI
nfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)",
      "code": "ENOENT",
      "errno": "ENOENT",
      "syscall": "getaddrinfo",
      "hostname": "localhost",
      "host": "localhost",
      "port": "8000",
      "status": 500
    }
[2021-08-28T20:10:15.121Z] ERROR (scanner/2656 on test-PC):
    err: {
      "type": "Error",
      "message": "getaddrinfo ENOENT localhost:8000",
      "stack": "Error: getaddrinfo ENOENT localhost:8000\n    at Object._errnoEx
ception (util.js:1024:11)\n    at errnoException (dns.js:55:15)\n    at GetAddrI
nfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)",
      "code": "ENOENT",
      "errno": "ENOENT",
      "syscall": "getaddrinfo",
      "hostname": "localhost",
      "host": "localhost",
      "port": "8000",
      "status": 500
    }

I can’t find the reason.

Do you have something else running on port 8000?

I actually don’t know?
Tried netstat -aof in a cmd prompt.
Could’nt see anything.

Do you see anything when you do http://localhost:8000/cls in your browser

Only a page telling me that it’s not possible to get connection.
When media scanner is running, I get a blank page.

Are you sure, that Scanner.exe has the rights to access these folders. It is sometimes better to move the media and template folders to a data drive were everybody has full access.

I’ve had the folders on another drive, but had problems, so I just changed to the local folders in the server…

And now you still have problems :smiley: So you better check the rights Scanner.exe has, as it looks like it is not able to access your files. Is the user an administrator?

just to check does the page say

Cannot GET /cls

or the usual can not make connection ?

It is a user that is administrator.
How to check the rights of scanner.exe?

It is a usual ‘can not make connection’ page

Without mediascanner running:

With mediascanner running:

Hmm seams like scanner does not want to bind to port 8000.
are you really sure no other service is running on that port.

you can use netstat resmon or tcpview for this.

i think a other proccess has kidnapped that port. or a firewall rule is preventing it to be used

Here is netstat:

And here is firewall:

I don’t get it?

Have you run netstat after you lanched Caspar and the Scanner? Because port 5250 (AMCP comands) and 8000 (Scanner.exe) should be visible.

No, this is without CasparCG and Scanner

You need to run netstat -a to list listening ports.

Without CasparCG server and mediascanner running:


With CasparCG server and mediascanner running:


I remembered something!
First time I had it running, I’ve put the machine on a local network, without internet connection, just to be able to reach the server from a client on the network.

Now I found an old modem with router in, connected the machine, witout internet access and no other computers on the network.

So now it works!
It simply has to be connected to a router or a switch.

Yes that’s one of those anoying things that you forget about until that moment it does not work :wink:

It actually is a Bug. Maybe you should report that on github

.