Getting error playing mp3 thru google assistant

OpenHab running in Docker in Raspberry Pi 4 environment.

When I send an mp3 sometimes it plays fine sometimes i see error in the log and it doesn’t play. But every time i hear google setting its volume by makes some blah sound before playing the mp3. When it doesn’t play the mp3 I still hear the audio volume setting but the file just doesn’t play. Any fix or is the issue on my end? Thank you.

2020-05-07 15:00:03.325 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while handling, caused by com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'LOAD_CANCELLED' as a subtype of [simple type, class su.litvak.chromecast.api.v2.StandardResponse]: known type ids = [CLOSE, DEVICE_ADDED, DEVICE_REMOVED, DEVICE_UPDATED, GET_APP_AVAILABILITY, INVALID_REQUEST, LAUNCH_ERROR, LOAD_FAILED, MEDIA_STATUS, MULTIZONE_STATUS, PING, PONG, RECEIVER_STATUS]
 at [Source: (String)"{"requestId":4124,"responseType":"LOAD_CANCELLED","itemId":1}"; line: 1, column: 34]
2020-05-07 15:00:03.440 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while handling, caused by com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'LOAD_CANCELLED' as a subtype of [simple type, class su.litvak.chromecast.api.v2.StandardResponse]: known type ids = [CLOSE, DEVICE_ADDED, DEVICE_REMOVED, DEVICE_UPDATED, GET_APP_AVAILABILITY, INVALID_REQUEST, LAUNCH_ERROR, LOAD_FAILED, MEDIA_STATUS, MULTIZONE_STATUS, PING, PONG, RECEIVER_STATUS]
 at [Source: (String)"{"requestId":4126,"responseType":"LOAD_CANCELLED","itemId":1}"; line: 1, column: 34]
2020-05-07 17:00:02.993 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while handling, caused by com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'LOAD_CANCELLED' as a subtype of [simple type, class su.litvak.chromecast.api.v2.StandardResponse]: known type ids = [CLOSE, DEVICE_ADDED, DEVICE_REMOVED, DEVICE_UPDATED, GET_APP_AVAILABILITY, INVALID_REQUEST, LAUNCH_ERROR, LOAD_FAILED, MEDIA_STATUS, MULTIZONE_STATUS, PING, PONG, RECEIVER_STATUS]
 at [Source: (String)"{"requestId":5001,"responseType":"LOAD_CANCELLED","itemId":1}"; line: 1, column: 34]
2020-05-07 17:00:03.091 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while handling, caused by com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'LOAD_CANCELLED' as a subtype of [simple type, class su.litvak.chromecast.api.v2.StandardResponse]: known type ids = [CLOSE, DEVICE_ADDED, DEVICE_REMOVED, DEVICE_UPDATED, GET_APP_AVAILABILITY, INVALID_REQUEST, LAUNCH_ERROR, LOAD_FAILED, MEDIA_STATUS, MULTIZONE_STATUS, PING, PONG, RECEIVER_STATUS]
 at [Source: (String)"{"requestId":5002,"responseType":"LOAD_CANCELLED","itemId":1}"; line: 1, column: 34]
2020-05-07 17:00:03.355 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while handling, caused by com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve type id 'LOAD_CANCELLED' as a subtype of [simple type, class su.litvak.chromecast.api.v2.StandardResponse]: known type ids = [CLOSE, DEVICE_ADDED, DEVICE_REMOVED, DEVICE_UPDATED, GET_APP_AVAILABILITY, INVALID_REQUEST, LAUNCH_ERROR, LOAD_FAILED, MEDIA_STATUS, MULTIZONE_STATUS, PING, PONG, RECEIVER_STATUS]
 at [Source: (String)"{"requestId":5005,"responseType":"LOAD_CANCELLED","itemId":1}"; line: 1, column: 34]
2020-05-08 02:15:42.689 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading, caused by java.net.SocketException: Connection reset
2020-05-08 02:15:42.689 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading, caused by java.net.SocketException: Connection reset
2020-05-08 02:15:42.692 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message 
2020-05-08 02:15:42.693 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message 
2020-05-08 02:18:54.031 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading, caused by java.net.SocketException: Connection reset
2020-05-08 02:18:54.033 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message 
2020-05-08 02:19:03.012 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading, caused by java.net.SocketException: Connection reset
2020-05-08 02:19:03.013 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message 
2020-05-08 03:36:44.254 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading, caused by su.litvak.chromecast.api.v2.ChromeCastException: Remote socket closed
2020-05-08 03:36:44.255 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message 
2020-05-08 04:10:08.592 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading, caused by java.net.SocketException: Connection reset
2020-05-08 04:10:08.595 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message 
2020-05-08 04:10:09.880 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading, caused by java.net.SocketException: Connection reset
2020-05-08 04:10:09.882 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message 
2020-05-08 09:18:27.634 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading, caused by su.litvak.chromecast.api.v2.ChromeCastException: Remote socket closed
2020-05-08 09:18:27.635 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message 
2020-05-08 15:00:02.133 [WARN ] [su.litvak.chromecast.api.v2.Channel ] - Error while reading, caused by su.litvak.chromecast.api.v2.ChromeCastException: Remote socket closed
2020-05-08 15:00:02.135 [WARN ] [su.litvak.chromecast.api.v2.Channel ] -  <--  null payload in message

Same problem here on Ubuntu without Docker.

I created a PR in the underlying library.

Unfortunately we have to wait for a new release of that library before we can increase our dependency. This may take some time. In the meantime the warnings can be suppressed by raising the log level in the openHAB Console with:

log:set ERROR su.litvak.chromecast.api.v2