ERROR: for webapp Cannot start service webapp: driver failed programming external connectivity on endpoint webapp

  1. I’m trying to follow the instructions and start WebODM via GitBash but I can’t.
    This is what happens: (before tried it multiple times with different commands.

  2. Also before this tried to run WebODM manager and open it on chrome and firefox but localhost:8000 leads me to page with no webODM interface but with info posted in the end of this:

$ ./webodm.sh restart
Checking for docker… OK
Checking for git… OK
Checking for docker-compose… OK
Restarting WebODM…
docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml -f docker-compose.nodemicmac.yml down --remove-orpha ns
Stopping worker … done
Stopping db … done
Stopping webodm_node-odm_1 … done
Stopping broker … done
Removing webapp … done
Removing worker … done
Removing db … done
Removing webodm_node-odm_1 … done
Removing broker … done
Removing network webodm_default
Starting WebODM…

Using the following environment:

Host: localhost
Port: 8000
Media directory: appmedia
SSL: NO
SSL key:
SSL certificate:
SSL insecure port redirect: 80
Celery Broker: redis://broker
Default Nodes: 1

Make sure to issue a ./webodm.sh down if you decide to change the environment.

docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml start || docker-compose -f docker-compose.yml -f doc ker-compose.nodeodm.yml up --scale node-odm=1
Starting node-odm … done
Starting db … done
Starting broker … done
Starting worker … done
Starting webapp … done
No containers to start
Creating network “webodm_default” with the default driver
Creating broker … done
Creating db … done
Creating webodm_node-odm_1 … done
Creating worker … done
Creating webapp … error

ERROR: for webapp Cannot start service webapp: driver failed programming external connectivity on endpoint webapp (d59 8c81c7271d128202898e78075f1a4755ea1e97c7a57f08334ac45b15635f9): Error starting userland proxy: Bind for 0.0.0.0:8000: u nexpected error Permission denied

ERROR: for webapp Cannot start service webapp: driver failed programming external connectivity on endpoint webapp (d59 8c81c7271d128202898e78075f1a4755ea1e97c7a57f08334ac45b15635f9): Error starting userland proxy: Bind for 0.0.0.0:8000: u nexpected error Permission denied
Encountered errors while bringing up the project.

Olet luonut palvelun.

Voit testata tätä palvelua luomalla asiakkaan ja käyttämällä sitä palvelun kutsumiseen. Tämän voi tehdä svcutil.exe-työkalulla komentoriviltä käyttämällä seuraavaa syntaksia:

svcutil.exe http://localhost:8000/?wsdl
Voit käyttää palvelukuvausta myös yksittäisenä tiedostona:

http://localhost:8000/?singleWsdl
Tämä luo määritystiedoston ja kooditiedoston, joka sisältää asiakasluokan. Lisää nämä kaksi tiedostoa asiakassovellukseen ja käytä luotua asiakasluokkaa palvelun kutsumiseen. Esimerkki:

C#

class Test
{
static void Main()
{
AppDetectClient client = new AppDetectClient();

    // Kutsu palvelun toimintoja client-muuttujan avulla.

    // Sulje aina asiakas.
    client.Close();
}

}

Visual Basic

Class Test
Shared Sub Main()
Dim client As AppDetectClient = New AppDetectClient()
’ Kutsu palvelun toimintoja client-muuttujan avulla.

    ' Sulje aina asiakas.
    client.Close()
End Sub

Hi @Paavo_Hurskainen,

It seems like you have already started something on tcp port 8000 on the system. Maybe it is another docker container? Can you stop webodm and see if any other container is running?

$ ./webodm.sh stop
$ sudo docker ps
CONTAINER ID        IMAGE                        COMMAND                  CREATED             STATUS              PORTS                     NAMES
2e6d06297b1e        my_project/my_webapp   "/bin/bash -c 'chmod…"   4 hours ago         Up 4 hours          0.0.0.0:8000->8000/tcp    my_webapp

You may see a container listed like here. In this case the container ‘my_webapp’ is running and connected to tcp port 8000; and must be stopped for WebODM to start correctly.

$ docker stop my_webapp

If this is the case; you should now be able to restart WebODM and see the project on localhost.

Good Luck!

1 Like

Thanks for the reply @Pircs

I could understand that something is running in port 8000 from other forums I did read before posting.
However I could not find out how to shut it down. My terminal/command prompt skills are basically non existant.

Anyhow I did what you instructed.
This is the output:
1)

Apparently shutting webodm down goes fluently

image
“command not found”
Apparently I’m missing something. (+ I use windows) I have docker installed and I’m using git bash (which I start from Git Gui D:/WebODM) as my command input window. However I ran the command without sudo (is this a linux command) and this is what i get:
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

So everything seems empty.
Next I ran ./webodm.sh start and this is what i get:

Paavo@MININT-9K9LMHQ MINGW64 /d/WebODM (master)
$ ./webodm.sh start
Checking for docker… OK
Checking for git… OK
Checking for docker-compose… OK
Starting WebODM…

Using the following environment:

Host: localhost
Port: 8000
Media directory: appmedia
SSL: NO
SSL key:
SSL certificate:
SSL insecure port redirect: 80
Celery Broker: redis://broker
Default Nodes: 1

Make sure to issue a ./webodm.sh down if you decide to change the environment.

docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml start || dock er-compose -f docker-compose.yml -f docker-compose.nodeodm.yml up --scale node-o dm=1
Starting node-odm … done
Starting broker … done
Starting db … done
Starting worker … done
Starting webapp … error

ERROR: for webapp Cannot start service webapp: driver failed programming extern al connectivity on endpoint webapp (d5161bd5bc3115b9a8488f3b9cd4e4d597987259f7a2 8e9eb30a2b68f8a60f5c): Error starting userland proxy: Bind for 0.0.0.0:8000: une xpected error Permission denied

SO I ran again:
docker ps
CONTAINER ID IMAGE COMMAND CREATE D STATUS PORTS NAMES
5845c450903d opendronemap/webodm_webapp “/bin/bash -c '/webo…” 7 days ago Up 11 seconds worker
70c286c11d9e opendronemap/webodm_db “docker-entrypoint.s…” 7 days ago Up 12 seconds 0.0.0.0:32770->5432/tcp db
ccbbfb0ec00b opendronemap/nodeodm “/usr/bin/nodejs /va…” 7 days ago Up 12 seconds 0.0.0.0:32771->3000/tcp webodm_node-odm_1
26ae5a95429e redis “docker-entrypoint.s…” 7 days ago Up 12 seconds 6379/tcp broker

So I get some results but I have no idea what is going on…

Any ideas what I’m doing wrong?

it is not only docker may using that port (8000). u may check it by

$ netstat -tulpn | grep LISTEN

I’m not 100% sure is it right. I’m new to it too.
in my case 8000 is using, so I just switch the port to others by
& ./webodm.sh restart --port 1020
this solved the problem for my case, I have the same error with u before

1 Like