Unable to view spark web UI

unable to view spark web UI,

Spark context Web UI available at http://gw03.itversity.com:4040

its throwing error

Hi @nirmal_gaprial,

please use below command to launch spark session.

For spark-with python
to launch pyspark use-
pyspark2 --master yarn --conf spark.ui.port=0

to get the spark web UI-
spark.sparkContext.uiWebUrl

for spark-with-scala:
to launch spark-shell-
spark2-shell --master yarn --conf spark.ui.port=0

to get the spark web UI-
spark.sparkContext.uiWebUrl

still the same
[nirmalgaprialdevanesan@gw03 ~]$ spark2-shell --master yarn --conf spark.ui.port=0
SPARK_MAJOR_VERSION is set to 2, using Spark2
Setting default log level to “WARN”.
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
Spark context Web UI available at http://gw03.itversity.com:43116
Spark context available as ‘sc’ (master = yarn, app id = application_1589064448439_32623).
Spark session available as ‘spark’.
Welcome to
____ __
/ / ___ / /
\ / _ / _ `/ __/ '/
/
/ .__/_,// //_\ version 2.3.0.2.6.5.0-292
/
/

Using Scala version 2.11.8 (OpenJDK 64-Bit Server VM, Java 1.8.0_222)
Type in expressions to have them evaluated.
Type :help for more information.

scala> spark.sparkContext.uiWebUrl
res0: Option[String] = Some(http://gw03.itversity.com:43116)

scala> 20/08/02 09:39:26 WARN HttpParser: Illegal character 0x16 in state=START for buffer HeapByteBuffer@33ebfb0f[p=1,l=517,c=8192,r=516]={\x16<<<\x03\x01\x02\x00\x01\x00\x01\xFc\x03\x03\x8br\xCeQ\x05\xB4\x1c…\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00…\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
20/08/02 09:39:26 WARN HttpParser: Illegal character 0x16 in state=START for buffer HeapByteBuffer@2aed8c4c[p=1,l=517,c=8192,r=516]={\x16<<<\x03\x01\x02\x00\x01\x00\x01\xFc\x03\x03O\xE4\xA0\xBb\xAc^\x03…\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00…\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
20/08/02 09:39:26 WARN HttpParser: bad HTTP parsed: 400 Illegal character 0x16 for HttpChannelOverHttp@5ecae899{r=0,c=false,a=IDLE,uri=null}

there is a link associated with that command, after running the command please visit this type of link to see the spark web ui.