Forum

Failover not working

Paul 2019-03-03 20:04:36 UTC in WMSPanel functionality

Do failover URL app name and stream name need to be indentical?

E.g., I have stream "bbcone" on my "hlshigh" app.
if it is offline I want to pull backup stream "bbconelight" from "backup" app.

Live Pull Settings:
edge server app - hlshigh
pulls from origin app - tvhigh
primary: rtmp://1.1.1.11936/tvhigh
backup: rtmp://1.1.1.11936/backup

the backup stream works in VLC - rtmp://1.1.1.11936/backup/bbconelight

in a test web page set to play "bbconelight" via the hlshigh app on edge server, it does not pull the backup.
When bbconelight is not found on "hlshigh" (or "tvhigh" on origin) should it then pull from "backup"?

Thank you.

Denis Slobodskoy 2019-03-04 02:16:05 UTC 

Certainly Nimble should switch to backup stream when primary is not available, but probably source server reports offline stream incorrectly.
Does VLC show any error for primary stream when you trying to playing it while it offline?

Paul 2019-03-04 12:30:44 UTC 

The primary stream does not exist.
bbconelight is published to origin backup app with nothing on origin primary app - this is to test failover working.

Web page is set to play bbconelight - which is not found on primary app, so failover should happen?

But, there has never been bbconelight on the primary app.
Here is something strange:

Today I published bbconelight to primary app, then stopped it and published to backup app again.
Now the failover works on the origin server!

Edge server still does not failover when pulling from origin.
Edge server pulls correctly from primary app normally, so this works.
Edge server will also play from backup app if I set the playlist to play backup app (not via failover).

So everything works, apps, streams, live pull from origin etc.
But not when it's all together - failover not working on edge pulling from origin.

edge server 2.2.2.2
hlshigh app pull from
rtmp://1.1.1.1:1936/tvhigh - works on its own
rtmp://1.1.1.1:1936/backup - works on its own
no failover on edge. (set playlist to origin server (same app names) and failover works).

What if source server was offline? Is failover calculated on origin server and not on edge?

Thank you

Denis Slobodskoy 2019-03-05 02:28:04 UTC 

There should be no difference between origin and edge server. I guess it may not work properly with dynamic stream names. Try to set log mode to "verbose" and check nimble.log for messages related to livepull.
Also I would recommend to submit support ticket on https://wmspanel.com/help and provide more details.

Paul 2019-03-05 16:20:44 UTC 

Thank you for the reply.

I tried a live pull rule with naming the stream and not dynamic but it was the same.

I enabled verbose log, it said "no route for url 'eu2-domain.com':'/hlshigh/bbconelight/playlist.m3u8"

So I tried the test on a different edge server and it seems to be working!

So one of my edge servers must have a configuration error. Despite that I copied and pasted the config from the other working edge server just yesterday! I will set the server up like from new again...

But thanks for the replies. Will open a support ticket if I find it is still not working correctly.

Regards

Post a reply


Post a new question

Categories:

Tags:

nimbleNimble StreamerFAQHLSDVRRTMPhlsnimble streamerABRwmsauthcacheNimbleffmpegAPIapitranscoderdvrVODstreamingfailoverDASHwmspanelrtmpvodudprtsppaywallsubtitlesRTSPDispersayoutubelivelivestreamingmp4MPEG-DASHWMSAuthgeopay-per-viewdashstreamerabrWindowsencryptionUDPwhite labelconfiguser agentsmilvideoFFMPEGmulticastMPEG-TSaudioedgere-streamingCORSraspberry pichunksandroidsldpbandwidthmpeg-dashadvertizerDRMvlcrules.confadvertisingipv6FastSpringRAMwms panelthumbnailFMLEVATcrossdomainupdatehttpsmpegtsRecordingSMILplaylistpushaesakamaiserverssslSRTwowzam3u8TranscodeerrorSSLbalanceplaylist_dvrWowzachromecastconfigurationreportingsrtbugIDdownloadS3corsnimblestreamerdomainperformanceIPmpeg-tschunkraspianawspublish controlcodecmobileWMSPanelrepublishingloopVidillionHttpsnimble webcam html5UIRegistration Issuedirect link32-bit Windowstwitchanalysecache_controlitworkmelive abr support mpeg-dashrtmp abrbeirutWWDCdubaideep statshls to multicast udplogIIS Smooth StreamingcloudmediaCDNHTTPSAbrHot-linking protectionHDSvaddioMPEGTSalertsNDIViewer Statsjwplayer websitewhmcsbaselineAuthentication in HLSnginx rtmp nimbleCentOS v6.4durationAV BridgepricelimitOld logsVaddioscreencastPI3 Ubuntuview timewmspanelapiattaching domainsinterfacesDVRRecordingWMSCONFIG_HOMEmessageloadbalancingrestreamcostmetadatamod_rewriteoriginprofileAxisgbpsID3 tagsanalisyswmsauthsignhighhds streamhls restreamingciscolocalVLCresumenibler.net hotlinkVideo Playertransocding republishingdecodergentoo install server nimbleAliastranscoding using NvidiaPublic IpPaywall Authlost trafficdocumentationofflineconcurrent-connectionsTrancoderfilelebanonlocationmanifestipMP4 not playedspaceicecast urlruleServer-sidetasks-controlhot linkingseekingchangestoppedamfmainplayoutPlayReadylimuxamazon web servicedvr streamconnectivityunique visitordvr stream twiceonAXVVGhot-linkpay per viewaliasdata slicesblockHLS vodmpeg dash7TCOanalyticsapplicationpaywalbrandingopenssltrialMP4microsoft streamerrorsrocksoftlog traffic statsExpression EncoderdebianABR DASHprogressive downloadHLS Playermultiple originsFFmpegnimblesessionidDASH Playerlive video on demandbandwithCSSserverlog nimble analysertmp playbackvideojsbitrateadaptiveAV1 codecprivate networkJWPLAYERNGINX-RTMPSnapshotsno WMSPanellive videoPullmac osx installsourcecrossdomain more then 1 domain4KwotermarksoundHLS Meta Tag editing.streamsattachmenthelp errorvimeoload balanceconcurrent connectionvod no soundbuttcdnvsomFairplayfallbackamazonControl APIlive streamTranscoderLive streamingWidevineRemote StorageWowza Agentsecuritynot foundpullmpeg2tsServer-Side-Task-ControlAS3disk migrationstereo to monoscreen captureinstall players setup ready to goDVRSettingstwitch larix broadcaster androidAppleDelete recordsicecastdrmresourceaes encryptionsubscriptionlive pull settingsABR HLS Bitratesvideo looprtmp for YouTubestarttime duration seekpointrebootdvr streamsmonitornimble streamer web server php script pageautomationNimble Streamer APIlivestreamoutrateIIS Media Servicsrtmp republishing transcodenimble.confDeep statsapi accessNimble CapacityABR DVR probleminterleavingweb playernimble streamer vod hls transmuxingloggingLive SwitcherlearnerCross Domainscreen freezecan't registercontent-dispositionnot to stealLive Broadcastinsert logoheaderactionscript 3block downloadAVCaptureMovieFileOutputNimble ServerbroadcasterUbuntu artful 17.10Transcoder MPEG DASHMPEG DASHadd_chunk failedPost processingfake extensiontranscodingFFMPEG;RTMP;I/O errorstatus:errorHotlinking ProtectionStreaming routeMPEG-Dashlarix broadcasternimble on cloudroutesprerollThumbnailsserver incorrect timepremium featureLIVELivepaymentincoming streamno soundstatsHow to do live stream with multiple audio tracknimble aliasesProgressivereloadRTMP republishrmtpno internetvp9addemandSecurelivestreamintransocderraspberryavoid refreshreportsAndroiduser_agentdvr on wmspanelS3 AWScloudfrontIOSrestartPIDHLS Streamingthumbnail dvr-thumbnailwmsAuthSignnimble streamer mpeg-ts multiple inputsLoad-BalancingcredentialslatencytranscodeRepublishingadjustDVR SettingPORTHTML5 playerdelaympeg4issuepricingtranscoder nimbleBroadcastLarixABR bitratesPacketizingbuildTeradek Decoderubuntu 18SLDPav1 codec21server iphttp servera recordVR-360Failoverstorage space availablediskNimble connectionsabr fallbackDVRStreamsrulesError when installingdissapointmentpay-per-minuteAWSSO_RCVBUFbuffering videolivestream bitrateUDP Multicastlogo in streamMPEG2 VideossaiDVR Setting limitbufferprogressivewebhookdvr to livefastspringmp2 audiocache expiryQuickTimevideo streamingrtsp push androidartifactstraffichd25publish streamAArch64storagealias route.movdistributionoutputVOD HLS streaming on public IPdomain lockRTMP Republishcontentspeedup my videoiOSqataritworkscdnvideo.js

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.