Page 1 of 1

Serviio 2 - Returning error code to the REST layer: Bad Requ

PostPosted: Tue Jun 25, 2019 5:41 pm
by AndrewW
Hi,
Has anyone seen this after upgrading to Serviio 2.x
Serviio is online and streaming ok via DLNA, however when you go into the console using

http://MyHostName:23423/console

everything appears ok, however every time you click on Status, or the Sub menus inside Library you get a pop up saying Hostname:23423 says Cannot connect to Serviio server, it does not seem to be running

in the log the following appears
WARN [ServiioStatusService] Returning error code to the REST layer: Bad Request (400) - The request could not be understood by the server due to malformed syntax


The serviio process is running with the following parameters
serviio 4188 1 21 18:23 ? 00:01:57 java -Xmx512M -Xms20M -XX:+UseG1GC -XX:GCTimeRatio=1 -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dorg.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade -Dderby.system.home=/opt/serviio/library -Dserviio.home=/opt/serviio -Dffmpeg.location=ffmpeg -Ddcraw.location=dcraw -classpath /opt/serviio/lib/*:/opt/serviio/config org.serviio.MediaServer

It also looks like the library is being updated as for each of the files in the archive I’m getting
[MediaFileIndexer] Updated filename.
If this takes as long as an index rebuild I will be 1-2 days.

Kind Regards
Andrew

Re: Serviio 2 - Returning error code to the REST layer: Bad

PostPosted: Tue Jun 25, 2019 7:19 pm
by atc98092
It's possible the browser errors you are getting are due to your browser cache trying to use parts of the old version. First try clearing your browser cache and see if that clears it up. If not, come back and let us know.

Re: Serviio 2 - Returning error code to the REST layer: Bad

PostPosted: Wed Jun 26, 2019 5:05 am
by AndrewW
It worked this morning, nothing has changed , even the old browser still open. However the "Updating" has finished.
When serviio returned to the main screen there was a new item "Users" appeared between Status and Library.
Wondering if this new item only appeared after the first "Updating " Check