-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gateway] ipv6 with network interface send to es causes error #5664
Labels
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Locally, when calling an API through the gateway, the data is indexed in ElasticSearch (for analytics).
Some users have an error at this moment
ERROR i.g.e.client.http.HttpClient - An error occurs while indexing data into ES: indice[gravitee-request-2021.06.02] error['0:0:0:0:0:0:0:1%0' is not an IP string literal.]
The call to
VertxHttpServerRequest
remoteAddress()
andlocalAddress()
returns0:0:0:0:0:0:0:1%0
with %0 as the network interface number.Expected Behavior
The data should be indexed with no problem.
Current Behavior
The data is no indexed because of this error.
Possible Solution
Remove the suffix starting with
%
from the string.Steps to Reproduce (for bugs)
Version
No problem in 3.8.x but do not work from 3.9.x
Your Environment
The text was updated successfully, but these errors were encountered: