You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/06/19 08:10:05 UTC
[GitHub] [openwhisk-wskdebug] alexkli edited a comment on issue #67: wskdebug inside theia
alexkli edited a comment on issue #67:
URL: https://github.com/apache/openwhisk-wskdebug/issues/67#issuecomment-646502844
Where exactly do you see the error? What command do you run? What is “theia”? The port that fails - is that the debugger failing to connect to the debug port of the container started by openwisk? Where does the debugger run?
—
I think I have seen a similar problem before. Not with wskdebug but another use case of running openwhisk runtime containers locally. This was inside Jenkins, which ran in a container itself.
The solution there was to look at an environment variable that contains the host ip under which exposed ports of containers are “visible”.
AFAICS that is something that has to be passed in as even the docker daemon itself does not know the ip address of the host - at least the docker apis never include a hostname or ip when retrieving the exposed ports.
Hence a solution could be another cli argument with that host ip, if it cannot be retrieved automatically.
Note that the docker logic was just refactored in #61 and will be in the next 1.3.0 release.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org