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

does not route properly #2983

Open
Chaho12 opened this issue Nov 21, 2024 · 4 comments
Open

does not route properly #2983

Chaho12 opened this issue Nov 21, 2024 · 4 comments

Comments

@Chaho12
Copy link

Chaho12 commented Nov 21, 2024

Hi guys, i am simply following quick start (git clone + ./docker/up) but things is not going as the way I expected

gives 504 Gateway Timeout when i access web.

  • is fine if i change api address to port 5000 (idk why proxy routing is not working properly)
marquez-web     | [HPM] Proxy created: /api/v1  -> http://api:5000/
marquez-web     | [HPM] Proxy created: /api/v2beta  -> http://api:5000/
marquez-web     | App listening on port 3000!
...
marquez-web     | [HPM] Error occurred while proxying request xx.xx.x.xxx:3000/api/v1/namespaces to http://api:5000/ [ENOTFOUND] (https://nodejs.org/api/errors.html#errors_common_system_errors)
...
-- 0.49.0 version shows this error too
^[[24~seed-marquez-with-metadata  | wait-for-it.sh: timeout occurred after waiting 120 seconds for api:5000
seed-marquez-with-metadata  | io.openlineage.client.OpenLineageClientException: java.net.UnknownHostException: api: No address associated with hostname
seed-marquez-with-metadata  |   at io.openlineage.client.transports.HttpTransport.emit(HttpTransport.java:153)
seed-marquez-with-metadata  |   at io.openlineage.client.transports.HttpTransport.emit(HttpTransport.java:118)
seed-marquez-with-metadata  |   at io.openlineage.client.OpenLineageClient.lambda$emit$0(OpenLineageClient.java:86)
seed-marquez-with-metadata  |   at io.micrometer.core.instrument.composite.CompositeTimer.record(CompositeTimer.java:141)
seed-marquez-with-metadata  |   at io.openlineage.client.OpenLineageClient.emit(OpenLineageClient.java:86)
seed-marquez-with-metadata  |   at marquez.cli.SeedCommand.run(SeedCommand.java:139)
seed-marquez-with-metadata  |   at io.dropwizard.cli.Cli.run(Cli.java:78)
seed-marquez-with-metadata  |   at io.dropwizard.Application.run(Application.java:94)
seed-marquez-with-metadata  |   at marquez.MarquezApp.main(MarquezApp.java:68)
seed-marquez-with-metadata  | Caused by: java.net.UnknownHostException: api: No address associated with hostname
seed-marquez-with-metadata  |   at java.base/java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
seed-marquez-with-metadata  |   at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:934)
seed-marquez-with-metadata  |   at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1543)
seed-marquez-with-metadata  |   at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:852)
seed-marquez-with-metadata  |   at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1533)
seed-marquez-with-metadata  |   at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1385)
seed-marquez-with-metadata  |   at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1306)
seed-marquez-with-metadata  |   at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
seed-marquez-with-metadata  |   at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112)
seed-marquez-with-metadata  |   at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
seed-marquez-with-metadata  |   at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
seed-marquez-with-metadata  |   at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
seed-marquez-with-metadata  |   at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
seed-marquez-with-metadata  |   at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
seed-marquez-with-metadata  |   at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
seed-marquez-with-metadata  |   at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
seed-marquez-with-metadata  |   at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
seed-marquez-with-metadata  |   at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
seed-marquez-with-metadata  |   at io.openlineage.client.transports.HttpTransport.emit(HttpTransport.java:148)

marquez version : 0.50.0

$ docker version
Client: Docker Engine - Community
Version: 20.10.21
API version: 1.41
Go version: go1.18.7
Git commit: baeda1f
Built: Tue Oct 25 18:04:24 2022
OS/Arch: linux/amd64
Context: default
Experimental: true

Copy link

boring-cyborg bot commented Nov 21, 2024

Thanks for opening your first issue in the Marquez project! Please be sure to follow the issue template!

@Chaho12
Copy link
Author

Chaho12 commented Nov 22, 2024

@dolfinus
Copy link
Contributor

You should check logs of api container, it is probably failing and restarting over and over.

@hansonglingege
Copy link

i notice this is because of code here

Do you solved this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants