NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR v5 Support Windows v
« Previous 1 … 11 12 13 14 15 … 39 Next »
Incorrect NAS username or password error for recordings, but not for playback

 
  • 0 Vote(s) - 0 Average
Incorrect NAS username or password error for recordings, but not for playback
MrReis
Offline

Member

Posts: 51
Threads: 5
Joined: Oct 2013
#1
2020-09-26, 04:48 PM
After upgrading to version 5 I am unable to record to NAS but can playback from the same NAS. The error message displayed in recordings says 'HDHR stream not available', but the log shows the actual reason is the recording file can not be created because The user name or password is incorrect. for accessing the NAS. I start the NextPVR service using my user account which can access the NAS for reading and writing. If I change the recording directory to a local drive, then there are no errors. 

I do not understand why this happens.

I dropped my zipped log files in the editor, but they do not show as attachement.


2020-09-26 08:46:32.185 [DEBUG][10] DefaultDirectoryChoice: first
2020-09-26 08:46:32.401 [DEBUG][10] allocating recording target filename: \\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts
2020-09-26 08:46:32.403 [DEBUG][10] About to start recording (920 on 21): \\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts...
2020-09-26 08:46:32.404 [DEBUG][10] (Recording is due to be stopped at 9/26/2020 9:00 AM)
2020-09-26 08:46:32.427 [DEBUG][10] HDHomeRunRecorder.StartStream()
2020-09-26 08:46:32.427 [DEBUG][10] ipaddress is 192.168.1.68
2020-09-26 08:46:32.428 [DEBUG][10] building graph
2020-09-26 08:46:32.428 [DEBUG][10] About to load channel from tuning
2020-09-26 08:46:32.537 [DEBUG][10] source@1
2020-09-26 08:46:32.538 [DEBUG][10] Requesting: http://192.168.1.68:5004/tuner0/v2
2020-09-26 08:46:33.064 [DEBUG][83] HTTP input source starting
2020-09-26 08:46:33.271 [DEBUG][10] Creating writer: \\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts
2020-09-26 08:46:33.723 [ERROR][10] Unexpected error creating TSWriter map: System.IO.IOException: The user name or password is incorrect. : '\\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts.map'
  at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
  at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes)
  at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
  at NShared.Writer.OutputSink..ctor(String filename)
2020-09-26 08:46:33.761 [ERROR][10] Failed to start stream: System.IO.IOException: The user name or password is incorrect. : '\\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts'
  at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
  at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
  at NShared.Writer.OutputSink..ctor(String filename)
  at NShared.Shim.InputSource.StartStream(String target)
  at NShared.Shim.InputSourceHTTP.StartStream(String target)
  at NShared.Shim.GenericCapture.StartStream(String target, String& reason)
2020-09-26 08:46:33.773 [DEBUG][10] Failed to start recording on allocated device (920:\\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts): 'HDHR stream not available'
2020-09-26 08:46:33.773 [DEBUG][10] Looking for second chance device to perform recording...
2020-09-26 08:46:33.806 [DEBUG][10] Found possible backup device
2020-09-26 08:46:33.827 [DEBUG][10] HDHomeRunRecorder.StartStream()
2020-09-26 08:46:33.827 [DEBUG][10] ipaddress is 192.168.1.68
2020-09-26 08:46:33.828 [DEBUG][10] building graph
2020-09-26 08:46:33.829 [DEBUG][10] About to load channel from tuning
2020-09-26 08:46:33.928 [DEBUG][10] source@1
2020-09-26 08:46:33.929 [DEBUG][10] Requesting: http://192.168.1.68:5004/tuner1/v2
2020-09-26 08:46:34.435 [DEBUG][10] Creating writer: \\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts
2020-09-26 08:46:34.435 [DEBUG][9] HTTP input source starting
2020-09-26 08:46:34.473 [ERROR][10] Unexpected error creating TSWriter map: System.IO.IOException: The user name or password is incorrect. : '\\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts.map'
  at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
  at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes)
  at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
  at NShared.Writer.OutputSink..ctor(String filename)
2020-09-26 08:46:34.531 [ERROR][10] Failed to start stream: System.IO.IOException: TThe user name or password is incorrect. : '\\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts'
  at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
  at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share)
  at NShared.Writer.OutputSink..ctor(String filename)
  at NShared.Shim.InputSource.StartStream(String target)
  at NShared.Shim.InputSourceHTTP.StartStream(String target)
  at NShared.Shim.GenericCapture.StartStream(String target, String& reason)
2020-09-26 08:46:34.558 [DEBUG][10] Failed to start recording on backup device too: 'HDHR stream not available'
2020-09-26 08:46:34.584 [DEBUG][10] Found possible backup device
2020-09-26 08:46:34.601 [DEBUG][10] HDHomeRunRecorder.StartStream()
2020-09-26 08:46:34.601 [DEBUG][10] ipaddress is 192.168.1.68
2020-09-26 08:46:34.602 [DEBUG][10] building graph
2020-09-26 08:46:34.602 [DEBUG][10] About to load channel from tuning
2020-09-26 08:46:34.697 [DEBUG][10] source@1
2020-09-26 08:46:34.698 [DEBUG][10] Requesting: http://192.168.1.68:5004/tuner2/v2
2020-09-26 08:46:35.190 [DEBUG][10] Creating writer: \\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts
2020-09-26 08:46:35.190 [DEBUG][6] HTTP input source starting
2020-09-26 08:46:35.219 [ERROR][10] Unexpected error creating TSWriter map: System.IO.IOException: The user name or password is incorrect. : '\\NUS2000\Media2\RECORDINGS\Big Noon Kickoff\Big Noon Kickoff_20200926_07000900.ts.map'
Graham
Offline

Posting Freak

UK
Posts: 4,062
Threads: 102
Joined: Dec 2005
#2
2020-09-26, 05:00 PM
(2020-09-26, 04:48 PM)MrReis Wrote: I dropped my zipped log files in the editor, but they do not show as attachement.

The forum only accepts files up to 2 Meg in size.  If your zipped logs are bigger than 2 Meg ... please put the zip on Dropbox or another cloud service and post a link ... Thanks
Graham
Offline

Posting Freak

UK
Posts: 4,062
Threads: 102
Joined: Dec 2005
#3
2020-09-26, 05:01 PM
(2020-09-26, 04:48 PM)MrReis Wrote: After upgrading to version 5 I am unable to record to NAS but can playback from the same NAS. The error message displayed in recordings says 'HDHR stream not available', but the log shows the actual reason is the recording file can not be created because The user name or password is incorrect. for accessing the NAS. I start the NextPVR service using my user account which can access the NAS for reading and writing. If I change the recording directory to a local drive, then there are no errors. 

What happens if you map a drive to the recording folder on the NAS?
MrReis
Offline

Member

Posts: 51
Threads: 5
Joined: Oct 2013
#4
2020-09-26, 08:00 PM
(2020-09-26, 05:00 PM)Graham Wrote:
(2020-09-26, 04:48 PM)MrReis Wrote: I dropped my zipped log files in the editor, but they do not show as attachement.

The forum only accepts files up to 2 Meg in size. 

My zipped log files are only 1.33 MB.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 37,402
Threads: 744
Joined: May 2006
#5
2020-09-26, 08:50 PM
Not the editor the little "Drop files here to upload" area.  Clicking that area will open a dialog too.

You mind need to hit preview post to see it.

Martin
MrReis
Offline

Member

Posts: 51
Threads: 5
Joined: Oct 2013
#6
2020-09-26, 10:34 PM
(2020-09-26, 08:50 PM)mvallevand Wrote: Not the editor the little "Drop files here to upload" area.  Clicking that area will open a dialog too.

Yes. Dropping files on "Drop files here to upload" or the "Drop files here to upload" area does not work for me, but clicking the mouse cursor on "Drop files here to upload" works. My zipped logs are attached to this post.


Attached Files
.zip   logs-20200926-0933.zip (Size: 1.34 MB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 37,402
Threads: 744
Joined: May 2006
#7
2020-09-26, 11:07 PM
If it a password protected share then the error is correct. If it is PreStartup.bat I suggest trying

net use \\NUS2000\Media2 password

Martin
MrReis
Offline

Member

Posts: 51
Threads: 5
Joined: Oct 2013
#8
2020-09-27, 12:52 AM (This post was last modified: 2020-09-27, 01:22 AM by MrReis.)
(2020-09-26, 11:07 PM)mvallevand Wrote: PreStartup.bat I suggest trying

net use \\NUS2000\Media2 password

I can not find anything about PreStartup.bat. Do you mean wakeup.bat? The documentation says it is run after the PC resumes from sleep, before any recordings are started. I do not sleep and resume my PC so I am not sure it would work and just starting a recording does not trigger it. 

Or perhaps do you mean ParallelProcessing.bat? It is run as soon as a recording begins, but that may be too late because the recording file need to be created before the recording starts.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 37,402
Threads: 744
Joined: May 2006
#9
2020-09-27, 12:55 AM
No but you need to check the wiki too

Martin
MrReis
Offline

Member

Posts: 51
Threads: 5
Joined: Oct 2013
#10
2020-09-27, 01:27 AM
(2020-09-27, 12:55 AM)mvallevand Wrote: No but you need  to check the wiki.


Do you mean ParallelProcessing.bat? It is run as soon as a recording begins, but that may be too late because the recording file needs to be created before the recording starts.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  The remote server returned an error. 500 Internal Server Error mjccox 55 390 2021-04-16, 09:27 PM
Last Post: sub
  HDHR Prime Recordings Failing BrettB 2 57 2021-04-15, 02:28 AM
Last Post: BrettB
  EPG Update via command line nscripthelper failing .net error spe109 8 175 2021-04-03, 03:41 PM
Last Post: spe109
  Incorrect Time/EPG after Time Change buckeyestargazer 4 163 2021-03-15, 08:03 PM
Last Post: sub
  Recordings truncated lkraus 5 233 2021-03-12, 04:11 PM
Last Post: lkraus
  Error parsing EntityName Line 10 position 28 Chas0967 11 494 2021-03-08, 01:04 AM
Last Post: mvallevand
  Multiple recordings of the same program drmongrain 6 145 2021-03-03, 05:26 AM
Last Post: drmongrain
  How remove all recordings pnickisson 2 193 2021-03-01, 03:00 AM
Last Post: shuturney
  Record Error: Root element is missing. seattlefog 21 535 2021-02-18, 12:17 PM
Last Post: Graham
  Web App and Desktop App have inconsistent information in Pending Recordings MovieWiz 21 594 2021-02-13, 07:03 PM
Last Post: MovieWiz

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode