Skip to content
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

Closed
ytvnr opened this issue Jun 2, 2021 · 2 comments
Closed

[gateway] ipv6 with network interface send to es causes error #5664

ytvnr opened this issue Jun 2, 2021 · 2 comments

Comments

@ytvnr
Copy link
Member

ytvnr commented Jun 2, 2021

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() and localAddress() returns 0: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)

  1. In the console, create and deploy an API
  2. Try to call this API
  3. Verify there is no analytics related to the call

Version

No problem in 3.8.x but do not work from 3.9.x

Your Environment

  • Version used: 3.9.0-SNAPSHOT
  • IDE version: IntelliJ 2021.1.1
  • Browser Name and version:
  • Operating System and version: MacOS 11.4
@phiz71
Copy link
Member

phiz71 commented Aug 11, 2021

@stale
Copy link

stale bot commented May 13, 2022

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.

@stale stale bot added the wontfix label May 13, 2022
@stale stale bot closed this as completed May 27, 2022
@phiz71 phiz71 removed this from the APIM - 3.10.x milestone Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants