apache / apache/servicecomb-java-chassis

registering third party rest service with DNS/https enabled with SC throws error <java.lang.IllegalArgumentException: port not specified.>

Open
#3,297 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
814
Avg merge
8d 23h
Merged PRs (30d)
1

Description

We have a third party rest service with https enabled eg:`https://pos-dev.test.com`. We can register it to the service center.
But the gateway cannot route to it at run time and it is failing with the below error.

`
java.lang.IllegalArgumentException: port not specified.
`
And the service center instance is disabled eventually. Getting this error

`
{
"message": "No available address found."
}
`
How to handle this? Urgent info required

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing registration and gateway routing for the HTTPS DNS service described in the issue, then trace the `port not specified` exception through service discovery and gateway routing. Done means the service remains enabled, the gateway routes requests successfully, and the `No available address found` error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.