question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

host-access not working

See original GitHub issue

Summary

I have enabled host-access

ubuntu@brahman:~$ microk8s status
microk8s is running
high-availability: no
  datastore master nodes: 10.0.0.15:19001
  datastore standby nodes: none
addons:
  enabled:
    community            # (core) The community addons repository
    dashboard            # (core) The Kubernetes dashboard
    dns                  # (core) CoreDNS
    ha-cluster           # (core) Configure high availability on the current node
    helm                 # (core) Helm - the package manager for Kubernetes
    helm3                # (core) Helm 3 - the package manager for Kubernetes
    host-access          # (core) Allow Pods connecting to Host services smoothly
    hostpath-storage     # (core) Storage class; allocates storage from host directory
    registry             # (core) Private image registry exposed on localhost:32000
    storage              # (core) Alias to hostpath-storage add-on, deprecated

From a pod running on a node with an app listening to port 8081, I get this error

curl http://10.0.1.1:8081
curl: (7) Failed to connect to 10.0.1.1 port 8081 after 1 ms: No route to host

What Should Happen Instead?

Reproduction Steps

Is there any logs somewhere I can look?

Introspection Report

Can you suggest a fix?

Are you interested in contributing with a fix?

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
olamycommented, Nov 9, 2022

Thanks for the answer.

0reactions
olamycommented, Nov 9, 2022

Thanks for the answer! my use case is to use docker within a pod. To build images and to use this https://www.testcontainers.org/ (see https://www.testcontainers.org/features/configuration and the env var TESTCONTAINERS_HOST_OVERRIDE which is set to 10.0.1.1)

Read more comments on GitHub >

github_iconTop Results From Across the Web

HostAccess User Guide - Documentation
HostAccess User Guide. 7 information. It is designed to be used by one person and can work in standalone mode, which is not...
Read more >
IBM Host Access Transformation Services: Troubleshooting
Welcome to IBM® Host Access Transformation Services (HATS) Troubleshooting guide. This guide provides information to assist you with problems you might.
Read more >
Known Issues - Host Access for the Cloud - Micro Focus
While Host Access for the Cloud supports Microsoft Internet Explorer (IE) 11, there are known performance issues with Internet Explorer's JavaScript engine ...
Read more >
java - GraalVM JavaScript suffers from "host access" issues
I'm assuming you are missing the --jvm flag to run the js launcher in jvm mode which is required for Java interop.
Read more >
allowHostAccess(HostAccess.ALL) does not provide access to ...
It does not allow lookup of classes from the guest application. ... I've got GraalVM up and running (Java 17 -- GraalVM CE...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found