Webinterface

Questions and answers on how to get the most out of FFAStrans
Russ3lHD
Posts: 11
Joined: Tue Jun 02, 2020 11:21 am

Re: Webinterface

Post by Russ3lHD »

This is the Log after i connected via the Browser. It put me right to the Area where i can place files. The folder is the normal Desktop folder and i have on my main drive 100 of 119 gb free space so the Folder cant be this big.
Attached is a screenshot of my desktop folder

Sorry for the German windows and the Music video wich is in the German Youtube Trends.

I use this as example.

I just saw another Problem not only arent files showing up also are the folders wich are at the desktop arent showing up aswell.

Code: Select all

[[14:52:58.662]] [LOG]    New socket io client connected, client: UfTG_NnA_8vfEXfrAAAB
[[14:52:58.664]] [LOG]    Count of concurrent connections: 2
[[14:52:58.841]] [ERROR]  Trace: Global unexpected error: RangeError [ERR_OUT_OF_RANGE]: The value of "start" is out of range. It must be <= "end" (here: 49629647). Received 49629648
    at process.<anonymous> (C:\Users\Administrator\Desktop\FFAStrans1.0.0\Webinterface\server.js:38:11)
    at process.emit (events.js:196:13)
    at process._fatalException (internal/process/execution.js:146:25)
[[14:52:58.844]] [ERROR]  RangeError [ERR_OUT_OF_RANGE]: The value of "start" is out of range. It must be <= "end" (here: 49629647). Received 49629648
    at new ReadStream (internal/fs/streams.js:93:13)
    at Object.createReadStream (fs.js:1794:10)
    at Object.createReadStream (C:\Users\Administrator\Desktop\FFAStrans1.0.0\Webinterface\server.exe:192:38)
    at SendStream.stream (C:\Users\Administrator\Desktop\FFAStrans1.0.0\Webinterface\node_modules\send\index.js:796:19)
    at SendStream.send (C:\Users\Administrator\Desktop\FFAStrans1.0.0\Webinterface\node_modules\send\index.js:707:8)
    at onstat (C:\Users\Administrator\Desktop\FFAStrans1.0.0\Webinterface\node_modules\send\index.js:729:10)
    at C:\Users\Administrator\Desktop\FFAStrans1.0.0\Webinterface\server.exe:223:21
    at processTicksAndRejections (internal/process/task_queues.js:81:9)
[[14:52:58.853]] [LOG]    Calling http://localhost:65445/api/json/v2/workflows
[[14:52:58.860]] [LOG]    Filebrowser request to: c:\Users\Administrator\
Attachments
screenshot.PNG
screenshot.PNG (25.48 KiB) Viewed 10025 times
emcodem
Posts: 1749
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

OK, thats totally new to me and i am a little unsure which of my modules is really the cause of this.
Can you please try and see what happens using another browser? Which browser are you using?
emcodem, wrapping since 2009 you got the rhyme?
Russ3lHD
Posts: 11
Joined: Tue Jun 02, 2020 11:21 am

Re: Webinterface

Post by Russ3lHD »

I did test different Browsers same Problem only Internet Explorer is different

Internet Explorer Prompt of Anything no folders and no files
Microsoft Edge No Prompt but no folders and files
Firefox same No Prompt but no folders and files
Chrome No Prompt but no folders and files
Opera No Prompt but no folders and files

Code: Select all

    at processTicksAndRejections (internal/process/task_queues.js:81:9)
[[15:20:57.797]] [LOG]    Calling http://localhost:65445/api/json/v2/workflows
[[15:20:57.803]] [LOG]    Filebrowser request to: c:\
[[15:20:59.117]] [LOG]    Filebrowser request to: c:\Users
[[15:20:59.691]] [LOG]    Filebrowser request to: c:\Users\Administrator
[[15:21:00.307]] [LOG]    Filebrowser request to: c:\Users\Administrator\Desktop
[[15:21:14.906]] [ERROR]  Trace: Global unexpected error: RangeError [ERR_OUT_OF_RANGE]: The value of "start" is out of range. It must be <= "end" (here: 49629647). Received 49629648
    at process.<anonymous> (C:\Users\Administrator\Desktop\FFAStrans1.0.0\Webinterface\server.js:38:11)
    at process.emit (events.js:196:13)
    at process._fatalException (internal/process/execution.js:146:25)
[[15:21:14.912]] [ERROR]  RangeError [ERR_OUT_OF_RANGE]: The value of "start" is out of range. It must be <= "end" (here: 49629647). Received 49629648
    at new ReadStream (internal/fs/streams.js:93:13)
    at Object.createReadStream (fs.js:1794:10)
    at Object.createReadStream (C:\Users\Administrator\Desktop\FFAStrans1.0.0\Webinterface\server.exe:192:38)
    at SendStream.stream (C:\Users\Administrator\Desktop\FFAStrans1.0.0\Webinterface\node_modules\send\index.js:796:19)
    at SendStream.send (C:\Users\Administrator\Desktop\FFAStrans1.0.0\Webinterface\node_modules\send\index.js:707:8)
    at onstat (C:\Users\Administrator\Desktop\FFAStrans1.0.0\Webinterface\node_modules\send\index.js:729:10)
    at C:\Users\Administrator\Desktop\FFAStrans1.0.0\Webinterface\server.exe:223:21
    at processTicksAndRejections (internal/process/task_queues.js:81:9)
emcodem
Posts: 1749
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

Thats nasty... i need some time to think and figure out a way how to get out whats the problem. I might be able to send you a debug version that gives me more information tomorrow.
One more question:
the "time stamps show me that you clicked on the "Desktop" folder at 15:21:00 and 14 seconds later, the error occured. So do you see a "Loading" symbol for these 14 seconds?
Also whats this link on the Desktop, can you try to remove the link and try if it works then? If yes i'd like to know what kind of link it is
emcodem, wrapping since 2009 you got the rhyme?
Russ3lHD
Posts: 11
Joined: Tue Jun 02, 2020 11:21 am

Re: Webinterface

Post by Russ3lHD »

no this is the time difference when i try to connect to the Webinterface.
Im directly loading into the part where i can start a process also it is directly showin me the Folders.

No presure my error is in no running machine. its a test system.
emcodem
Posts: 1749
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

Russ3lHD wrote: Tue Jun 02, 2020 2:10 pm no this is the time difference when i try to connect to the Webinterface.
how can i imagine that, because i see you navigating from C: up to the desktop at 15:20:57 to 15:21:00 but then i see an error 14 seconds later, so the webinterface was obviously already open at 15:20:57.
Sorry for the questions but as i cannot reproduce, i need to know some details, it makes my life much easier.

Also, can you tell me about the link on the desktop "SHIRIN DAVID" and if it changes the behaviour when the link is not there?
I am native German languaged, if you like we can go via PM in german if it eases your life ;-)
emcodem, wrapping since 2009 you got the rhyme?
mrazik
Posts: 36
Joined: Sat May 30, 2020 9:48 pm

Re: Webinterface

Post by mrazik »

Hi gents,

I'm getting issue with MediaInfo - when trying to get info in File Browser (local or UNC clip) - I get error message "ERROR getting mediainfo for file"

Versions:
- FFAStrans is 1.0.0.178
- Webinterface is 1.0.3

Weird is that when running the web server in devel mode (node server.js), everything is working, but when FFAStrans and Webinterface are running as services, it's not working.

Next check was direct API GET to http://IP:3002/new_proxy/getmediainfo?filepath=FILE:
- standard mode - returns message "Error getting mediainfo"
- devel mode - return full HTML MediaInfo

Can you please point me out where could be the issue?

Many thanks!!!
FFAStrans 1.2.2
Webinterface 1.2.0.4
- - - - - - - - - - - - - - - -
Intel Xeon CPU E5-1620 v3 @ 3.5GHz
8.00 GB RAM
NVIDIA Quadro K620
256GB SSD
1GB NIC
- - - - - - - - - - - - - - - -
Windows 10 Pro 64b
emcodem
Posts: 1749
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

@mrazik

interesting that it works when running as nodejs script, well done debugging work from you :-)
I have 2 questions:
1: when running as exe, do you run as service or just execute the server.exe?
2: when you start server.exe and reproduce the issue, do you see interesting messages in the commandline?

From the informations i currently have it could be anything, starting from credential issue up to a bug...
emcodem, wrapping since 2009 you got the rhyme?
mrazik
Posts: 36
Joined: Sat May 30, 2020 9:48 pm

Re: Webinterface

Post by mrazik »

Hi @emcodem
emcodem wrote: Fri Jun 05, 2020 12:10 pm 1: when running as exe, do you run as service or just execute the server.exe?
good point, tested and results are:
A. as service - error message "ERROR getting MediaInfo for file"
B. only running server.exe - MediaInfo opens blank
mediainfo-blank.png
mediainfo-blank.png (19.14 KiB) Viewed 9927 times
emcodem wrote: Fri Jun 05, 2020 12:10 pm 2: when you start server.exe and reproduce the issue, do you see interesting messages in the commandline?
This is from devel node - working
ok-devel.png
ok-devel.png (66.44 KiB) Viewed 9928 times
This is from started server.exe - not working - as it looks there is missing cmd to the server itself
nok-standard.png
nok-standard.png (28.51 KiB) Viewed 9928 times
emcodem wrote: Fri Jun 05, 2020 12:10 pm From the informations i currently have it could be anything, starting from credential issue up to a bug...
FFAStrans 1.2.2
Webinterface 1.2.0.4
- - - - - - - - - - - - - - - -
Intel Xeon CPU E5-1620 v3 @ 3.5GHz
8.00 GB RAM
NVIDIA Quadro K620
256GB SSD
1GB NIC
- - - - - - - - - - - - - - - -
Windows 10 Pro 64b
mrazik
Posts: 36
Joined: Sat May 30, 2020 9:48 pm

Re: Webinterface

Post by mrazik »

What I also found out is the difference between devel and server.exe when checking MediaInfo GET page (http://IP:3002/new_proxy/getmediainfo?filepath=FILE):
server.exe
web-url-server.exe.png
web-url-server.exe.png (79.18 KiB) Viewed 9926 times
devel
web-url-devel.png
web-url-devel.png (33.78 KiB) Viewed 9926 times
So it looks that "/getmediainfo" is not listed when running as server.exe or as a service....
FFAStrans 1.2.2
Webinterface 1.2.0.4
- - - - - - - - - - - - - - - -
Intel Xeon CPU E5-1620 v3 @ 3.5GHz
8.00 GB RAM
NVIDIA Quadro K620
256GB SSD
1GB NIC
- - - - - - - - - - - - - - - -
Windows 10 Pro 64b
Post Reply