Ssl_client_socket_impl.cc(976)] handshake failed

I am getting follwing error in casparcg latest or even old.
Actualy the https has been the cause of error. When I load it on normal browser it shows like this.
image

[2023-12-14 10:48:46.375] [info]    Received message from 127.0.0.1: play 1-94 [html] "https://localhost:10000/ReactCasparClient/Tsparticles2" \r\n
[2023-12-14 10:48:46.378] [info]    Sent message to 127.0.0.1:202 PLAY OK\r\n
[1214/104846.697:ERROR:ssl_client_socket_impl.cc(976)] handshake failed; returned -1, SSL error code 1, net_error -202
[1214/104846.946:ERROR:ssl_client_socket_impl.cc(976)] handshake failed; returned -1, SSL error code 1, net_error -202

Have you tried stating Caspar with this commandline:
casparcg.exe casparcg.config --disable-web-security?

My guess is that you accidentally typed https://localhost instead of http://localhost at some point in you browser. This can cause it to begin to always redirect to https, even if you manually type http (very infuriating).

See this link for how to reset the cached redirects in chrome: How to stop an automatic redirect from “http://” to “https://” in Chrome - Super User

@didikunz Yes I tried it, but same error.


E:\__00vimlesh\software\casparcg-server191023>casparcg.exe casparcg.config --disable-web-security
Type "q" to close application.
Logging [info] or higher severity to log/

[2023-12-14 15:50:51.321] [info]    ############################################################################
[2023-12-14 15:50:51.322] [info]    CasparCG Server is distributed by the Swedish Broadcasting Corporation (SVT)
[2023-12-14 15:50:51.322] [info]    under the GNU General Public License GPLv3 or higher.
[2023-12-14 15:50:51.322] [info]    Please see LICENSE.TXT for details.
[2023-12-14 15:50:51.322] [info]    http://www.casparcg.com/
[2023-12-14 15:50:51.322] [info]    ############################################################################
[2023-12-14 15:50:51.322] [info]    Starting CasparCG Video and Graphics Playout Server 2.4.0 3816e08 Dev
[2023-12-14 15:50:51.323] [info]    "E:/__00vimlesh\software\casparcg-server191023\casparcg.config":
[2023-12-14 15:50:51.323] [info]    -----------------------------------------
[2023-12-14 15:50:51.323] [info]    <?xml version="1.0" encoding="utf-8"?>
[2023-12-14 15:50:51.323] [info]    <configuration>
[2023-12-14 15:50:51.323] [info]       <paths>
[2023-12-14 15:50:51.323] [info]          <media-path>c:/casparcg/_media/</media-path>
[2023-12-14 15:50:51.323] [info]          <log-path>log/</log-path>
[2023-12-14 15:50:51.323] [info]          <data-path>data/</data-path>
[2023-12-14 15:50:51.323] [info]          <template-path>c:/casparcg/</template-path>
[2023-12-14 15:50:51.323] [info]       </paths>
[2023-12-14 15:50:51.323] [info]       <lock-clear-phrase>secret</lock-clear-phrase>
[2023-12-14 15:50:51.323] [info]       <channels>
[2023-12-14 15:50:51.323] [info]          <channel>
[2023-12-14 15:50:51.323] [info]             <video-mode>1080i5000</video-mode>
[2023-12-14 15:50:51.323] [info]             <consumers>
[2023-12-14 15:50:51.323] [info]                <decklink>
[2023-12-14 15:50:51.323] [info]                   <device>1</device>
[2023-12-14 15:50:51.323] [info]                   <embedded-audio>true</embedded-audio>
[2023-12-14 15:50:51.323] [info]                </decklink>
[2023-12-14 15:50:51.323] [info]                <screen>
[2023-12-14 15:50:51.323] [info]                   <always-on-top>true</always-on-top>
[2023-12-14 15:50:51.323] [info]                   <x>0</x>
[2023-12-14 15:50:51.323] [info]                   <y>680</y>
[2023-12-14 15:50:51.323] [info]                   <width>690</width>
[2023-12-14 15:50:51.323] [info]                   <height>325</height>
[2023-12-14 15:50:51.323] [info]                </screen>
[2023-12-14 15:50:51.323] [info]                <system-audio/>
[2023-12-14 15:50:51.323] [info]             </consumers>
[2023-12-14 15:50:51.323] [info]             <producers>
[2023-12-14 15:50:51.323] [info]                <producer id="1">AMB LOOP</producer>
[2023-12-14 15:50:51.323] [info]             </producers>
[2023-12-14 15:50:51.323] [info]          </channel>
[2023-12-14 15:50:51.323] [info]       </channels>
[2023-12-14 15:50:51.323] [info]       <controllers>
[2023-12-14 15:50:51.323] [info]          <tcp>
[2023-12-14 15:50:51.323] [info]             <port>5250</port>
[2023-12-14 15:50:51.323] [info]             <protocol>AMCP</protocol>
[2023-12-14 15:50:51.323] [info]          </tcp>
[2023-12-14 15:50:51.323] [info]       </controllers>
[2023-12-14 15:50:51.323] [info]       <amcp>
[2023-12-14 15:50:51.323] [info]          <media-server>
[2023-12-14 15:50:51.323] [info]             <host>localhost</host>
[2023-12-14 15:50:51.323] [info]             <port>8000</port>
[2023-12-14 15:50:51.323] [info]          </media-server>
[2023-12-14 15:50:51.323] [info]       </amcp>
[2023-12-14 15:50:51.323] [info]       <ffmpeg>
[2023-12-14 15:50:51.323] [info]          <producer>
[2023-12-14 15:50:51.323] [info]             <auto-deinterlace>interlaced</auto-deinterlace>
[2023-12-14 15:50:51.323] [info]          </producer>
[2023-12-14 15:50:51.323] [info]       </ffmpeg>
[2023-12-14 15:50:51.323] [info]       <html>
[2023-12-14 15:50:51.323] [info]          <remote-debugging-port>1024</remote-debugging-port>
[2023-12-14 15:50:51.323] [info]          <enable-gpu>false</enable-gpu>
[2023-12-14 15:50:51.323] [info]       </html>
[2023-12-14 15:50:51.323] [info]       <flash>
[2023-12-14 15:50:51.323] [info]          <enabled>true</enabled>
[2023-12-14 15:50:51.323] [info]       </flash>
[2023-12-14 15:50:51.323] [info]       <osc>
[2023-12-14 15:50:51.323] [info]          <default-port>6250</default-port>
[2023-12-14 15:50:51.323] [info]          <predefined-clients>
[2023-12-14 15:50:51.323] [info]             <predefined-client>
[2023-12-14 15:50:51.323] [info]                <address>127.0.0.1</address>
[2023-12-14 15:50:51.323] [info]                <port>6251</port>
[2023-12-14 15:50:51.323] [info]             </predefined-client>
[2023-12-14 15:50:51.323] [info]          </predefined-clients>
[2023-12-14 15:50:51.323] [info]       </osc>
[2023-12-14 15:50:51.323] [info]    </configuration>
[2023-12-14 15:50:51.323] [info]    -----------------------------------------
[2023-12-14 15:50:51.323] [info]    Initialized video modes.
[2023-12-14 15:50:51.556] [info]    Initializing OpenGL Device.
[2023-12-14 15:50:51.556] [info]    Initialized OpenGL 4.5.0 NVIDIA 526.67 NVIDIA Corporation
[2023-12-14 15:50:51.589] [info]    Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2023-12-14 15:50:51.590] [info]    video_channel[1|1080i5000] Successfully Initialized.
[2023-12-14 15:50:51.590] [info]    Initialized channels.
[2023-12-14 15:50:51.590] [info]    Initialized command repository.
[2023-12-14 15:50:51.590] [info]    Initialized image module.
[2023-12-14 15:50:51.590] [info]    Initialized ffmpeg module.
[2023-12-14 15:50:51.590] [info]    Initialized oal module.
[2023-12-14 15:50:51.590] [info]    Initialized decklink module.
[2023-12-14 15:50:51.590] [info]    Initialized screen module.
[2023-12-14 15:50:51.590] [info]    Initialized newtek module.
[2023-12-14 15:50:51.590] [info]    Initialized artnet module.

DevTools listening on ws://127.0.0.1:1024/devtools/browser/7caa347f-2779-469e-83b5-4552efe745b5
[2023-12-14 15:50:51.631] [info]    Initialized html module.
[2023-12-14 15:50:51.632] [warning] Flash is no longer a recommended way of creating dynamic templates. Adobe have declared flash end-of-life at the end of 2020, and we cannot guarantee it will continue to work in any version after that time.
[2023-12-14 15:50:51.632] [warning] All support for flash templates will be removed in a future release of CasparCG
[2023-12-14 15:50:51.697] [info]    Initialized flash module.
[2023-12-14 15:50:51.697] [info]    Initialized bluefish module.
[2023-12-14 15:50:51.697] [info]    Initialized modules.
[2023-12-14 15:50:51.705] [warning] Device supports video-format with conversion: 1080i50
[2023-12-14 15:50:51.705] [info]    DeckLink Duo 2 [1-1|1080i5000] Enabled embedded-audio.
[2023-12-14 15:50:51.705] [info]    DeckLink Duo 2 [1-1|1080i5000] Disabled low-latency mode.
[2023-12-14 15:50:51.705] [info]    DeckLink Duo 2 [1-1|1080i5000] Enabled external keyer.
[2023-12-14 15:50:51.709] [info]    DeckLink Duo 2 [1-1|1080i5000] Initialized.
[2023-12-14 15:50:51.709] [info]    Screen consumer [1|1080i5000] Initialized.
[2023-12-14 15:50:51.749] [info]    oal[1|1080i5000] Initialized.
#202 PLAY OK
[2023-12-14 15:50:51.753] [info]    Initialized startup producers.
[2023-12-14 15:50:51.753] [info]    Initialized controllers.
[2023-12-14 15:50:51.754] [info]    Initialized osc.
[2023-12-14 15:50:51.790] [info]    DeckLink Duo 2 [1-1|1080i5000] Reference signal: not detected.
[2023-12-14 15:50:51.870] [warning] ffmpeg[AMB.mp4|0.0000/10.7200] Latency: 4
[2023-12-14 15:51:02.591] [warning] ffmpeg[AMB.mp4|10.6600/10.7200] Latency: 0
[2023-12-14 15:51:13.311] [warning] ffmpeg[AMB.mp4|10.6600/10.7200] Latency: 0
[2023-12-14 15:51:24.031] [warning] ffmpeg[AMB.mp4|10.6600/10.7200] Latency: 0
[2023-12-14 15:51:34.751] [warning] ffmpeg[AMB.mp4|10.6600/10.7200] Latency: 0
play 1-1 [[2023-12-14 15:51:45.472] [warning] ffmpeg[AMB.mp4|10.6600/10.7200] Latency: 0
html] "https://localhost:10000/"
[2023-12-14 15:51:54.019] [info]    Received message from Console: play 1-1 [html] "https://localhost:10000/"\r\n
[2023-12-14 15:51:54.081] [info]    D3D11: Selected adapter: NVIDIA Quadro RTX 4000
#202 PLAY OK
[2023-12-14 15:51:54.081] [info]    D3D11: Selected feature level: 45312
[2023-12-14 15:51:54.112] [info]    ffmpeg[c:/casparcg/_media/AMB.mp4|431/536] Destroyed.
[1214/155154.412:ERROR:ssl_client_socket_impl.cc(976)] handshake failed; returned -1, SSL error code 1, net_error -202
[1214/155154.672:ERROR:ssl_client_socket_impl.cc(976)] handshake failed; returned -1, SSL error code 1, net_error -202

I am actually trying my localhost to make https. It is working but insecured mode.