No error running CLS or THUMBNAIL LIST command
Exeption thrown running CLS command.
Exception: C:\Code\casparcg\official-master\src\protocol\util\http_request.cpp(72): Throw in function struct caspar::http::HTTPResponse __cdecl caspar::http::request(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)
Dynamic exception type: class boost::exception_detail::clone_impl<struct caspar::io_error>"
(detailed log below)
-> Execution fails
Start CasparCG Server
Start MediaScanner
Run CLS command (or connect client, running such commands)
[2020-06-09 14:04:20.547] [info] Received message from 127.0.0.1: CLS\r\n
[2020-06-09 14:04:20.550] [info] Received message from 127.0.0.1: THUMBNAIL LIST\r\n
[2020-06-09 14:04:20.561] [error] Exception: C:\Code\casparcg\official-master\src\protocol\util\http_request.cpp(72): Throw in function struct caspar::http::HTTPResponse __cdecl caspar::http::request(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)
[2020-06-09 14:04:20.561] [error] Dynamic exception type: class boost::exception_detail::clone_impl<struct caspar::io_error>
[2020-06-09 14:04:20.561] [error] [struct caspar::tag_msg_info * __ptr64] = Invalid Response
[2020-06-09 14:04:20.561] [error] [struct caspar::tag_stacktrace_info * __ptr64] = 0# 0x00007FF7B1245287 in casparcg
[2020-06-09 14:04:20.561] [error] 1# 0x00007FF7B1264B17 in casparcg
[2020-06-09 14:04:20.561] [error] 2# 0x00007FF7B1358698 in casparcg
[2020-06-09 14:04:20.561] [error] 3# 0x00007FF7B132F7E1 in casparcg
[2020-06-09 14:04:20.561] [error] 4# 0x00007FF7B132752C in casparcg
[2020-06-09 14:04:20.561] [error] 5# 0x00007FF7B1322A63 in casparcg
[2020-06-09 14:04:20.561] [error] 6# 0x00007FF7B1353765 in casparcg
[2020-06-09 14:04:20.561] [error] 7# 0x00007FF7B1352C8A in casparcg
[2020-06-09 14:04:20.561] [error] 8# 0x00007FF7B1272E9F in casparcg
[2020-06-09 14:04:20.561] [error] 9# 0x00007FF7B12D14CE in casparcg
[2020-06-09 14:04:20.561] [error] 10# 0x00007FF7B12CC166 in casparcg
[2020-06-09 14:04:20.561] [error] 11# beginthreadex in ucrtbase
[2020-06-09 14:04:20.561] [error] 12# BaseThreadInitThunk in KERNEL32
[2020-06-09 14:04:20.561] [error] 13# RtlUserThreadStart in ntdll
[2020-06-09 14:04:20.561] [error]
[2020-06-09 14:04:20.561] [error]
[2020-06-09 14:04:20.561] [error] 0# 0x00007FF7B1245287 in casparcg
[2020-06-09 14:04:20.561] [error] 1# 0x00007FF7B1244D25 in casparcg
[2020-06-09 14:04:20.561] [error] 2# 0x00007FF7B14D9D77 in casparcg
[2020-06-09 14:04:20.561] [error] 3# 0x00007FFB714D1080 in VCRUNTIME140_1
[2020-06-09 14:04:20.561] [error] 4# _NLG_Return2 in VCRUNTIME140_1
[2020-06-09 14:04:20.561] [error] 5# RtlCaptureContext in ntdll
[2020-06-09 14:04:20.561] [error] 6# 0x00007FF7B1352C8A in casparcg
[2020-06-09 14:04:20.561] [error] 7# 0x00007FF7B1272E9F in casparcg
[2020-06-09 14:04:20.561] [error] 8# 0x00007FF7B12D14CE in casparcg
[2020-06-09 14:04:20.561] [error] 9# 0x00007FF7B12CC166 in casparcg
[2020-06-09 14:04:20.561] [error] 10# beginthreadex in ucrtbase
[2020-06-09 14:04:20.561] [error] 11# BaseThreadInitThunk in KERNEL32
[2020-06-09 14:04:20.561] [error] 12# RtlUserThreadStart in ntdll
[2020-06-09 14:04:20.561] [error]
[2020-06-09 14:04:20.904] [error] Failed to execute command: CLS
[2020-06-09 14:04:20.904] [info] Sent message to 127.0.0.1:501 CLS FAILED\r\n
[2020-06-09 14:04:20.934] [error] Exception: C:\Code\casparcg\official-master\src\protocol\util\http_request.cpp(72): Throw in function struct caspar::http::HTTPResponse __cdecl caspar::http::request(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)
[2020-06-09 14:04:20.934] [error] Dynamic exception type: class boost::exception_detail::clone_impl<struct caspar::io_error>
[2020-06-09 14:04:20.934] [error] [struct caspar::tag_msg_info * __ptr64] = Invalid Response
[2020-06-09 14:04:20.934] [error] [struct caspar::tag_stacktrace_info * __ptr64] = 0# 0x00007FF7B1245287 in casparcg
[2020-06-09 14:04:20.934] [error] 1# 0x00007FF7B1264B17 in casparcg
[2020-06-09 14:04:20.934] [error] 2# 0x00007FF7B1358698 in casparcg
[2020-06-09 14:04:20.934] [error] 3# 0x00007FF7B132F7E1 in casparcg
[2020-06-09 14:04:20.934] [error] 4# 0x00007FF7B133CECC in casparcg
[2020-06-09 14:04:20.934] [error] 5# 0x00007FF7B1322A63 in casparcg
[2020-06-09 14:04:20.934] [error] 6# 0x00007FF7B1353765 in casparcg
[2020-06-09 14:04:20.934] [error] 7# 0x00007FF7B1352C8A in casparcg
[2020-06-09 14:04:20.934] [error] 8# 0x00007FF7B1272E9F in casparcg
[2020-06-09 14:04:20.934] [error] 9# 0x00007FF7B12D14CE in casparcg
[2020-06-09 14:04:20.934] [error] 10# 0x00007FF7B12CC166 in casparcg
[2020-06-09 14:04:20.934] [error] 11# beginthreadex in ucrtbase
[2020-06-09 14:04:20.934] [error] 12# BaseThreadInitThunk in KERNEL32
[2020-06-09 14:04:20.934] [error] 13# RtlUserThreadStart in ntdll
[2020-06-09 14:04:20.934] [error]
[2020-06-09 14:04:20.934] [error]
[2020-06-09 14:04:20.934] [error] 0# 0x00007FF7B1245287 in casparcg
[2020-06-09 14:04:20.934] [error] 1# 0x00007FF7B1244D25 in casparcg
[2020-06-09 14:04:20.934] [error] 2# 0x00007FF7B14D9D77 in casparcg
[2020-06-09 14:04:20.934] [error] 3# 0x00007FFB714D1080 in VCRUNTIME140_1
[2020-06-09 14:04:20.934] [error] 4# _NLG_Return2 in VCRUNTIME140_1
[2020-06-09 14:04:20.934] [error] 5# RtlCaptureContext in ntdll
[2020-06-09 14:04:20.934] [error] 6# 0x00007FF7B1352C8A in casparcg
[2020-06-09 14:04:20.934] [error] 7# 0x00007FF7B1272E9F in casparcg
[2020-06-09 14:04:20.934] [error] 8# 0x00007FF7B12D14CE in casparcg
[2020-06-09 14:04:20.934] [error] 9# 0x00007FF7B12CC166 in casparcg
[2020-06-09 14:04:20.934] [error] 10# beginthreadex in ucrtbase
[2020-06-09 14:04:20.934] [error] 11# BaseThreadInitThunk in KERNEL32
[2020-06-09 14:04:20.934] [error] 12# RtlUserThreadStart in ntdll
[2020-06-09 14:04:20.934] [error]
[2020-06-09 14:04:21.239] [error] Failed to execute command: THUMBNAIL LIST
[2020-06-09 14:04:21.239] [info] Sent message to 127.0.0.1:501 THUMBNAIL LIST FAILED\r\n
Thanks for report. Have you tried to start it using the provided bat file or start scanner first and then server?
Thanks
Can you check what accessing the scanner directly in your browser returns? Perhaps it is returning an error page and not valid data?
It should be http://127.0.0.1:8000/cls and http://127.0.0.1:8000/thumbnail
Have you tried to start it using the provided bat file or start scanner first and then server?
Yes, I use the CasparCG Launcher to start both.
Can you check what accessing the scanner directly in your browser returns? Perhaps it is returning an error page and not valid data?
Interestingly enough, it now works since I updated the vcredist libraries. No more error messages and I also get valid responses back when checking directly in the browser. So perhaps a now fixed bug in the visual c++ redistributable?
Hi everybody
I downloaded and start trying the new build of CasparCG server version, and i noticed huge improvements in media play, actually my only problem is with the media scanning folder or refreshing, it's seems that this new version don't allow me to perform this task.
I have tried almost all the advices present in this issue debate, I am sure that I am not having the right skills for some kind of interventions, but in the previous versions of the CasparCG server software I never got in this problem, actually I am solving this issue running by first the older version i have of the server (2.0.7. Stable Release) e, running the client version 2.2.0, then i close the server version 2.0.7, and I start the server version 2.3.0 d49b5bc8 dev, then finally i can play the videos from the client.
Here is the log of the server software with the errors:
[2020-06-13 14:58:10.852] [info] Starting CasparCG Video and Graphics Playout Server 2.3.0 d49b5bc8 Dev
[2020-06-13 14:58:11.575] [info] Initializing OpenGL Device.
[2020-06-13 14:58:11.585] [info] Initialized OpenGL 4.5.0 NVIDIA 446.14 NVIDIA Corporation
[2020-06-13 14:58:11.590] [info] Initialized ffmpeg module.
[2020-06-13 14:58:11.590] [info] Initialized oal module.
[2020-06-13 14:58:11.590] [info] Initialized decklink module.
[2020-06-13 14:58:11.591] [info] Initialized screen module.
[2020-06-13 14:58:11.591] [info] Initialized newtek module.
[2020-06-13 14:58:11.632] [info] Initialized html module.
[2020-06-13 14:58:11.650] [info] Initialized flash module.
[2020-06-13 14:58:11.653] [info] Initialized bluefish module.
[2020-06-13 14:58:11.653] [info] Initialized image module.
[2020-06-13 14:58:11.653] [info] "D:/APPSNEW CASPARCGcasparcg-server-d49b5bc8f7e5490ba7dee8784c349d4136eb07e6-windowscasparcg.config":
[2020-06-13 14:58:11.653] [info] -----------------------------------------
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info]
[2020-06-13 14:58:11.653] [info] -----------------------------------------
[2020-06-13 14:58:11.661] [info] Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2020-06-13 14:58:11.663] [info] video_channel[1|1080p5000] Successfully Initialized.
[2020-06-13 14:58:11.664] [info] Screen consumer [1|1080p5000] Initialized.
[2020-06-13 14:58:11.672] [info] Loaded C:\WINDOWS\SYSTEM32\Processing.AirSend.x64.dll
[2020-06-13 14:58:11.697] [info] newtek-ivga[not connected] Initialized.
[2020-06-13 14:58:11.945] [info] oal[1|1080p5000] Initialized.
[2020-06-13 14:58:11.945] [info] Initialized channels.
[2020-06-13 14:58:11.947] [info] Initialized controllers.
[2020-06-13 14:58:11.947] [info] Initialized osc.
[2020-06-13 14:58:12.247] [info] async_event_server[:5250] Accepted connection from 127.0.0.1 (1 connections).
[2020-06-13 14:58:12.248] [info] Received message from 127.0.0.1: VERSION SERVER\r\n
[2020-06-13 14:58:12.248] [info] Sent message to 127.0.0.1:201 VERSION OK\r\n2.3.0 d49b5bc8 Dev\r\n
[2020-06-13 14:58:12.248] [info] Received message from 127.0.0.1: INFO\r\n
[2020-06-13 14:58:12.249] [info] Sent message to 127.0.0.1:200 INFO OK\r\n1 1080p5000 PLAYING\r\n\r\n
[2020-06-13 14:58:12.249] [info] Received message from 127.0.0.1: CLS\r\n
[2020-06-13 14:58:12.249] [info] Received message from 127.0.0.1: TLS\r\n
[2020-06-13 14:58:12.250] [info] Received message from 127.0.0.1: DATA LIST\r\n
[2020-06-13 14:58:12.250] [info] Received message from 127.0.0.1: THUMBNAIL LIST\r\n
[2020-06-13 14:58:16.257] [error] Failed to connect to media-scanner. Is it running?
[2020-06-13 14:58:16.257] [error] Reason: Connection refused
[2020-06-13 14:58:16.257] [info] Sent message to 127.0.0.1:501 CLS FAILED\r\n
[2020-06-13 14:58:20.262] [error] Failed to connect to media-scanner. Is it running?
[2020-06-13 14:58:20.262] [error] Reason: Connection refused
[2020-06-13 14:58:20.262] [info] Sent message to 127.0.0.1:501 TLS FAILED\r\n
[2020-06-13 14:58:20.262] [info] Sent message to 127.0.0.1:200 DATA LIST OK\r\n\r\n
[2020-06-13 14:58:24.265] [error] Failed to connect to media-scanner. Is it running?
[2020-06-13 14:58:24.265] [error] Reason: Connection refused
[2020-06-13 14:58:24.265] [info] Sent message to 127.0.0.1:501 THUMBNAIL LIST FAILED\r\n
[2020-06-13 15:00:53.027] [info] Received message from Console: q\r\n
[2020-06-13 15:00:53.028] [info] async_event_server[:5250] Client 127.0.0.1 disconnected (0 connections).
[2020-06-13 15:00:53.028] [info] [asio] Shutting down global io_service.
[2020-06-13 15:00:53.029] [info] [asio] Global io_service uninitialized.
[2020-06-13 15:00:53.140] [info] video_channel[1|1080p5000] Uninitializing.
[2020-06-13 15:00:54.308] [info] newtek-ivga[not connected] Uninitialized.
[2020-06-13 15:00:54.334] [info] Screen consumer [1|1080p5000] Uninitialized.
[2020-06-13 15:00:54.335] [info] oal[1|1080p5000] Uninitialized.
[2020-06-13 15:00:54.336] [info] Successfully shutdown CasparCG Server.
I hope to not causing you a loss of time, if there is any advice to try to fix this issue, then I will be able to study the software more deeply as I am finding him very interesting.
Thanks in advance
@pedrag8:
[2020-06-13 14:58:16.257] [error] Failed to connect to media-scanner. Is it running?
You started scanner.exe?
@hreinnbeck Thanks for your quick reply!
If you intend starting the scanner.exe by double clicking on the scanner.exe, yes i did it
In both situations, before starting the server soft and after, I also downloaded the scanner build separately, I substituted the one in the server folder, nothing change, when I am clicking on it just open for one second a cmd window and closing it.
I am sure that I am not doing the right thing for starting the scanner.exe
I will grateful if some one can help me in this simple task.
So ! At this point my real question is simply how to start "scanner.exe", if it's not just by double clicking on it...!
The server version 2.1.11NRK is working fine without this problem and without the need to start the scanner.exe, just there is a problem with the client version 2.2.0, is not displaying the remaining time and the audio meters....with client 2.08 it can be fix...
For today it is all, thanks to all the comunity!
So ! At this point my real question is simply how to start "scanner.exe", if it's not just by double clicking on it...!
There are multiple ways:
casparcg_auto_restart.bat ScriptThe server version 2.1.11NRK is working fine without this problem and without the need to start the scanner.exe, just there is a problem with the client version 2.2.0, is not displaying the remaining time and the audio meters....with client 2.08 it can be fix...
I have also run into the issue with the client not displaying the times and audio levels correctly in version 2.2.0 of the client, but I believe this has been a known bug for some time, with no plans to be fixed in the near future?
So I finally was able to find the error - it was quite dumb of me to not think of it in the first place: The error only happens when Companion is running because Companion uses the same port for its web interface as the media scanner for its api.
But that is not a server error so I'll close this issue.
Most helpful comment
So I finally was able to find the error - it was quite dumb of me to not think of it in the first place: The error only happens when Companion is running because Companion uses the same port for its web interface as the media scanner for its api.
But that is not a server error so I'll close this issue.