Closed kk-Aye closed 1 year ago
Are you running the docker in --privileged
mode?
Are you running the docker in
--privileged
mode?
I check the modes of the four docker containers running using the [docker inspect --format='{{.hostconfig.privileged}}'] command, where server_web_1 and server_worker_1 are true. server_monitor_1 and server_redis_1 are false.
Hrmz...must be something else internally. I'd suggest perhaps running the planutils lightweight server instead: https://github.com/AI-Planning/planutils/tree/main/environments/server
Thank you, I will try.
Hrmz...must be something else internally. I'd suggest perhaps running the planutils lightweight server instead: https://github.com/AI-Planning/planutils/tree/main/environments/server
I'm sorry, after i installed the planutils lightweight server, I don't know how can i use it (/(ㄒoㄒ)/~~). I cant't find the bash file for lama or other solver in my host machine, can it only be used in docker?
The server script is set up that way, ya. You don't have access to docker to run it?
The server script is set up that way, ya. You don't have access to docker to run it?
No, I‘m sorry i didn't make that clear. docker service is running, but i want to use vscode'PDDL plugin, Using 'localhost:5001/package/optic/solve' as planning engine but it failed and prompt "socket hang up".
Can you post what the browser shows for localhost:5001/packages
and localhost:5001/package/optic
?
Sorry, I was busy with another project before, so I didn't reply in time. About this question, result is can't. When I post data to localhost:5001/packages
or localhost:5001/package/optic
, they return no response. I now think that these failures may be due to the network configuration of my virtual machine. I previously successfully deployed and used the project on WLS(ubuntu20). I'll try to figure out what the network setting differences are between these two approaches. Or this can solve the problem.
Can you post what the browser shows for
localhost:5001/packages
andlocalhost:5001/package/optic
?
If heading to those URL's is giving nothing, then the server isn't even accessible. Either not running properly, or network issues as you hypothesized. My money's on the network config for your machine too ;).
If heading to those URL's is giving nothing, then the server isn't even accessible. Either not running properly, or network issues as you hypothesized. My money's on the network config for your machine too ;).
Thank you for your suggestion, but I‘m sorry, I don't understand what you mean by the last sentence. Why? X﹏X
I don't understand what you mean by the last sentence. Why?
Oh, just meant that my first hunch would be something funny going on with the port mapping (it's usually what breaks first when running servers via docker).
Any update on this, @kk-Aye ?
Any update on this, @kk-Aye ?
I'm sorry. I'm busy writing papers and exams afterwards. Virtual machine configuration is not progressing. I will continue the configuration under the virtual machine after the paper is passed. If you need, I can close this issue, and then I will open the issue when I make some progress.
Ya, let's close for now -- we're in the midst of launching the webserver equivalent (being demo'd at the ICAPS conference this summer), so that might make the issue a non-starter anyway. Hope the exams go well!
I use VM about Ubuntu20 and docker build method. After i make it successfully, i try to solve PDDL in vscode, but it report this error. I do not understand why this is.