Jump to content

MethodNotAllowed when trying to watch Live Stream


Go to solution Solved by HappyGilmour,

Recommended Posts

HappyGilmour
Posted

I will apologize up front. I know I did this. Everything was working ok. And then I wanted to move/change the folder I use for recordings. So I moved the data from one folder to another. Deleted the old folder. Set the default recording folder. And....not I can't watch or record any streams. I get the dreaded "methodnotallowed" error. 

Hopefully this gives you what you need. If not I can append the whole server log.

2026-02-09 15:41:31.871 Info LiveTvManager: Opening channel stream, external channel Id: m3u_29a0c35af7dab73f063c4899a3988b46d2f16c264f3a0383da895af60c29a61d_KJRH.us
2026-02-09 15:41:31.871 Info LiveTV: Streaming Channel m3u_29a0c35af7dab73f063c4899a3988b46d2f16c264f3a0383da895af60c29a61d_KJRH.us, with streamId: d3b910c4a5e3c4a389e44408e6504a84
2026-02-09 15:41:31.872 Info SharedHttpPipelineSource: Opening SharedHttpPipelineSource Live stream from Http-http://host6:80/x_path1_x/x_path2_x/x_path3_x/x_path25_x
2026-02-09 15:41:31.872 Info HttpClient: GET http://host6:80/x_path1_x/x_path2_x/x_path3_x/x_path25_x
2026-02-09 15:41:32.174 Info HttpClient: Http response 405 from http://host6:80/x_path1_x/x_path2_x/x_path3_x/x_path25_x after 301ms. Headers Date=Mon, 09 Feb 2026 20:41:32 GMT, Transfer-Encoding=chunked, Connection=keep-alive, Server=cloudflare, Nel={"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}, Access-Control-Allow-Origin=*, cf-cache-status=DYNAMIC, Report-To={"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=z46RdAIg0V%2FwBPjHiTg9kzbarV2HntlJXYrL4fr4u7Qt0KAWJ%2F6y2scw%2Bv7OOyJRS0dTZZmZ3FQIvMvReO%2F%2B6WleGQxMl4NfXJmK3tx%2BWsRAVi3%2FEt8b"}]}, CF-RAY=9cb63027585843ee-EWR
2026-02-09 15:41:32.176 Error LiveTV: Error in GetChannelStreamWithDirectStreamProvider
    *** Error Report ***
    Version: 4.9.3.0
    Command line: C:\Users\donmo\AppData\Roaming\Emby-Server\system\EmbyServer.dll
    Operating system: Microsoft Windows 10.0.19045
    OS/Process: x64/x64
    Framework: .NET 8.0.22
    Runtime: C:/Users/donmo/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 16
    Data path: C:\Users\donmo\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\donmo\AppData\Roaming\Emby-Server\system
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: MethodNotAllowed
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
       at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource.OpenStream(IDisposable connectionContext, MediaSourceInfo mediaSource, String url, MediaProtocol protocol, CancellationToken cancellationToken, Int32 recursion)
       at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource.OpenInternal(CancellationToken openCancellationToken)
       at Emby.LiveTV.TunerHosts.LiveStream.Open(CancellationToken openCancellationToken)
       at MediaBrowser.Controller.LiveTv.BaseTunerHost.GetChannelStream(TunerHostInfo tuner, BaseItem dbChannnel, String tunerChannelId, String mediaSourceId, List`1 currentLiveStreams, CancellationToken cancellationToken)
       at Emby.LiveTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(BaseItem dbChannel, String providerChannelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
    Source: Emby.Server.Implementations
    TargetSite: Void MoveNext()
    
2026-02-09 15:41:32.177 Error MediaSourceManager: Error opening live stream
    *** Error Report ***
    Version: 4.9.3.0
    Command line: C:\Users\donmo\AppData\Roaming\Emby-Server\system\EmbyServer.dll
    Operating system: Microsoft Windows 10.0.19045
    OS/Process: x64/x64
    Framework: .NET 8.0.22
    Runtime: C:/Users/donmo/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 16
    Data path: C:\Users\donmo\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\donmo\AppData\Roaming\Emby-Server\system
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: MethodNotAllowed
       at Emby.LiveTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(BaseItem dbChannel, String providerChannelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
       at Emby.LiveTV.LiveTvManager.GetChannelStream(String id, String mediaSourceId, List`1 currentLiveStreams, CancellationToken cancellationToken)
       at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal2(LiveStreamRequest request, CancellationToken cancellationToken)
    Source: Emby.Server.Implementations
    TargetSite: Void MoveNext()
    
2026-02-09 15:41:32.178 Error MediaInfoService-0HNJ837UQ4BV5:00000020: Error processing request
    *** Error Report ***
    Version: 4.9.3.0
    Command line: C:\Users\donmo\AppData\Roaming\Emby-Server\system\EmbyServer.dll
    Operating system: Microsoft Windows 10.0.19045
    OS/Process: x64/x64
    Framework: .NET 8.0.22
    Runtime: C:/Users/donmo/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 16
    Data path: C:\Users\donmo\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\donmo\AppData\Roaming\Emby-Server\system
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: MethodNotAllowed
       at Emby.LiveTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(BaseItem dbChannel, String providerChannelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
       at Emby.LiveTV.LiveTvManager.GetChannelStream(String id, String mediaSourceId, List`1 currentLiveStreams, CancellationToken cancellationToken)
       at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal2(LiveStreamRequest request, CancellationToken cancellationToken)
       at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal2(LiveStreamRequest request, CancellationToken cancellationToken)
       at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal(LiveStreamRequest request, CancellationToken cancellationToken)
       at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStream(LiveStreamRequest request, CancellationToken cancellationToken)
       at Emby.Server.MediaEncoding.Api.MediaInfoService.OpenMediaSource(OpenMediaSource request, CancellationToken cancellationToken)
       at Emby.Server.MediaEncoding.Api.MediaInfoService.GetPlaybackInfo(GetPostedPlaybackInfo request, Boolean allowMediaProbe, String newPlaySessionId, CancellationToken cancellationToken)
       at Emby.Server.MediaEncoding.Api.MediaInfoService.Post(GetPostedPlaybackInfo request)
       at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
       at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
       at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, RestPath restPath, String urlString, String localPath, String contentTypeInPath, CancellationToken cancellationToken)
    Source: Emby.Server.Implementations
    TargetSite: Void MoveNext()
    
2026-02-09 15:41:32.178 Info MediaInfoService-0HNJ837UQ4BV5:00000020: http/1.1 Response 500 to host7. Time: 312ms. POST http://host1:8096/emby/Items/427099/PlaybackInfo?UserId=x_secret6_x&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=7000000&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=4e2d4b74-1fce-4b46-bb67-596a4500731f&X-Emby-Client-Version=4.9.3.0&X-Emby-Token=x_secret1_x&X-Emby-Language=en-us&reqformat=json. 
 

  • Solution
HappyGilmour
Posted

Ok. This issue fixed itself. Turned out to be provider related and the fact that it happened right after I made the changes....pure coincidence. Marking it as solved.

Posted

Hi, to answer your question, your provider was returning a 405 error code when trying to open a stream. A 405 response code means not allowed.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...