DevTest Portal is not connecting to registry with error "retrofit.RetrofitError: unexpected end of stream on Connection"

book

Article ID: 143435

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction

Portal service is running but not getting connected to registry. Unable to login into DevTest portal. Below error see in portal logs.
 
ERROR org.springframework.boot.context.web.ErrorPageFilter - Forwarding to error page from request [/api/login] due to exception [unexpected end of stream on Connection{localhost:1505, proxy=DIRECT hostAddress=127.0.0.1 cipherSuite=none protocol=http/1.1} (recycle count=0)]
retrofit.RetrofitError: unexpected end of stream on Connection{localhost:1505, proxy=DIRECT hostAddress=127.0.0.1 cipherSuite=none protocol=http/1.1} (recycle count=0)

Cause

Upon examination of local.properties is was found that Registry web server(through below properties) was configured with https and this was not reflected to Portal(via phoenix.properties file)

lisa.webserver.https.enabled
lisa.webserver.ssl.keystore.location
lisa.webserver.ssl.keystore.password
lisa.webserver.ssl.keymanager.password

 

Environment

Release : 10.4

Component : CA Application Test

All components running on one machine.

Resolution

There are two options to resolve this:


1. Remove the HTTPS configuration for registry web server from local.properties and restart all components, issue is resolved and could see that Portal was connected to the Registry.

2. Update phoenix.properties file as below:

registry.https.enabled=true