localstack-docker-extension
localstack-docker-extension copied to clipboard
Can't run extension with Rancher Desktop
Describe the bug
Can't confirm the last configuration step on the first install.
Steps to Reproduce
- Install rancher-desktop
- Run
rdctl extension install localstack/localstack-docker-desktop:v0.5.3 - Open rancher-desktop app.
- Select LocalStack at the left pane.
- Press Next and Next.
Expected behavior
Continue setup.
Screenshots
Additional context
- rancher-desktop 1.17.1
- container engine: dockerd/moby
- virtual machine type: Apple VZ
- mount type: virtiofs
References
hi @ityshchenko thanks for submitting your issue....Seems like I'm unable to reproduce the behaviour...not sure if on rancher desktop works the same but could you
- uninstall the extension (or clear the volume)
- install it again
- run
docker extension dev debug localstack/localstack-docker-desktop - do the initial setup flow again and report eventual strange errors in happening in the console? Thanks
Hello @Pive01 ,
I have the same problem with Ubuntu on WSL2 and docker-desktop. Here the logs of the extension :
Any idea why it does not work ?
@Pive01, for Rancher Desktop, the process is slightly different:
I executed the command /Applications/Rancher Desktop.app/Contents/MacOS/Rancher Desktop —remote-debugging-port=“8315” —remote-allow-origins=http://localhost:8315 to collect debug logs from the browser. The “close” and “confirm” buttons are ineffective, and I’m stuck on the final screen.
GET
http://localhost:8315/favicon.ico
[HTTP/1.1 404 Not Found 0ms]
Main._createAppUI: 10ms - timer ended [main.js:1:5072](http://localhost:8315/devtools/entrypoints/main/main.js)
Main._showAppUI: 181ms - timer ended [main.js:1:5072](http://localhost:8315/devtools/entrypoints/main/main.js)
Main._initializeTarget: 7ms - timer ended [main.js:1:5072](http://localhost:8315/devtools/entrypoints/main/main.js)
Main._lateInitialization: 0ms - timer ended [main.js:1:5072](http://localhost:8315/devtools/entrypoints/main/main.js)
Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"} [protocol_client.js:1:6923](http://localhost:8315/devtools/core/protocol_client/protocol_client.js)
Uncaught (in promise) ReferenceError: Highlight is not defined
<anonymous> http://localhost:8315/devtools/ui/components/highlighting/highlighting.js:1
r http://localhost:8315/devtools/ui/components/highlighting/highlighting.js:1
instance http://localhost:8315/devtools/ui/components/highlighting/highlighting.js:1
hideSearchHighlights http://localhost:8315/devtools/panels/elements/elements.js:8
highlightSearchResultsInternal http://localhost:8315/devtools/panels/elements/elements.js:8
updateTitle http://localhost:8315/devtools/panels/elements/elements.js:8
onattach http://localhost:8315/devtools/panels/elements/elements.js:8
insertChild http://localhost:8315/devtools/ui/legacy/legacy.js:3
appendChild http://localhost:8315/devtools/ui/legacy/legacy.js:3
appendChild http://localhost:8315/devtools/ui/legacy/legacy.js:3
update http://localhost:8315/devtools/panels/elements/elements.js:8
set rootDOMNode http://localhost:8315/devtools/panels/elements/elements.js:8
documentUpdated http://localhost:8315/devtools/panels/elements/elements.js:8
dispatchEventToListeners http://localhost:8315/devtools/core/common/common.js:1
setDocument http://localhost:8315/devtools/core/sdk/sdk.js:1
requestDocumentInternal http://localhost:8315/devtools/core/sdk/sdk.js:1
requestDocument http://localhost:8315/devtools/core/sdk/sdk.js:1
wasShown http://localhost:8315/devtools/panels/elements/elements.js:8
notify http://localhost:8315/devtools/ui/legacy/legacy.js:1
processWasShown http://localhost:8315/devtools/ui/legacy/legacy.js:1
showWidgetInternal http://localhost:8315/devtools/ui/legacy/legacy.js:1
show http://localhost:8315/devtools/ui/legacy/legacy.js:1
materialize http://localhost:8315/devtools/ui/legacy/legacy.js:1
promise callback*materialize http://localhost:8315/devtools/ui/legacy/legacy.js:1
wasShown http://localhost:8315/devtools/ui/legacy/legacy.js:1
notify http://localhost:8315/devtools/ui/legacy/legacy.js:1
processWasShown http://localhost:8315/devtools/ui/legacy/legacy.js:1
callOnVisibleChildren http://localhost:8315/devtools/ui/legacy/legacy.js:1
processWasShown http://localhost:8315/devtools/ui/legacy/legacy.js:1
callOnVisibleChildren http://localhost:8315/devtools/ui/legacy/legacy.js:1
processWasShown http://localhost:8315/devtools/ui/legacy/legacy.js:1
callOnVisibleChildren http://localhost:8315/devtools/ui/legacy/legacy.js:1
processWasShown http://localhost:8315/devtools/ui/legacy/legacy.js:1
callOnVisibleChildren http://localhost:8315/devtools/ui/legacy/legacy.js:1
processWasShown http://localhost:8315/devtools/ui/legacy/legacy.js:1
callOnVisibleChildren http://localhost:8315/devtools/ui/legacy/legacy.js:1
processWasShown http://localhost:8315/devtools/ui/legacy/legacy.js:1
showWidgetInternal http://localhost:8315/devtools/ui/legacy/legacy.js:1
show http://localhost:8315/devtools/ui/legacy/legacy.js:1
attachToDocument http://localhost:8315/devtools/ui/legacy/legacy.js:3
presentUI http://localhost:8315/devtools/panels/screencast/screencast.js:1
#k http://localhost:8315/devtools/entrypoints/main/main.js:1
#S http://localhost:8315/devtools/entrypoints/main/main.js:1
#v http://localhost:8315/devtools/entrypoints/main/main.js:1
D http://localhost:8315/devtools/entrypoints/main/main.js:1
<anonymous> http://localhost:8315/devtools/entrypoints/devtools_app/devtools_app.js:1
From the logs of @ochaoui it looks like the frontend cannot talk to the backend...My next question is when you do start the extension is the backend also running? Aka can you guys see a container called localstack_localstack-docker-desktop-desktop-extension-service.
If so can you see anything strange in the logs? From where the issue occurs seems like when the extensions calls the backend to save config on the volume the call fails
@ityshchenko your seems an UI error but quite unrelated though 🤔 ...still thanks for providing some info!
@Pive01 I see no Service in docker desktop :( :
Besides installing the addon on docker desktop, do I need to install something else ?
Hi @ityshchenko @ochaoui , we released a new version of the extension...could you give it another try and tell me if it works now? Thanks