App not found



  • Hi there,
    I deployed an application but I can't access it
    When I try to access the log I get the following reply:

    @$ curl -H "Authorization: Bearer y1no4mrEWXpkNlc+D3qj77GI0SlmBJcy9RuoXsxCIrLlhA
    MRdIbHg00mgZ6mBGRn" -k https://mar-eu-1.qtc.io/v1/apps/:mar-eu-1-79uhkp47/logs
    {"error":{"reason":"NotFound","message":"App not found"}}@

    I deployed the Websocket Server from the Qt5.3 examples
    (\Qt\Examples\Qt-5.3\websockets\echoserver).

    This is the log of the deployment:

    @$ git push qtc master
    Enter passphrase for key '/c/Users/Labor/.ssh/id_rsa':
    Counting objects: 8, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (8/8), done.
    Writing objects: 100% (8/8), 5.15 KiB | 0 bytes/s, done.
    Total 8 (delta 2), reused 0 (delta 0)
    -----> Qt app detected
    -----> Setting up Qt 5.3.0
    -----> Configuring with qmake
    -----> Compiling with make
    g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WEBSOCKET
    S_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/opt/Qt5.3.0/5.3/gcc_64/mksp
    ecs/linux-g++ -I. -I/opt/Qt5.3.0/5.3/gcc_64/include -I/opt/Qt5.3.0/5.3/gcc_64/in
    clude/QtWebSockets -I/opt/Qt5.3.0/5.3/gcc_64/include/QtSql -I/opt/Qt5.3.0/5.3/gc
    c_64/include/QtNetwork -I/opt/Qt5.3.0/5.3/gcc_64/include/QtCore -I. -o main.o ma
    in.cpp
    g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WEBSOCKET
    S_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/opt/Qt5.3.0/5.3/gcc_64/mksp
    ecs/linux-g++ -I. -I/opt/Qt5.3.0/5.3/gcc_64/include -I/opt/Qt5.3.0/5.3/gcc_64/in
    clude/QtWebSockets -I/opt/Qt5.3.0/5.3/gcc_64/include/QtSql -I/opt/Qt5.3.0/5.3/gc
    c_64/include/QtNetwork -I/opt/Qt5.3.0/5.3/gcc_64/include/QtCore -I. -o echoserve
    r.o echoserver.cpp
    /opt/Qt5.3.0/5.3/gcc_64/bin/moc -DQT_NO_DEBUG -DQT_WEBSOCKETS_LIB -DQT_SQ
    L_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/opt/Qt5.3.0/5.3/gcc_64/mkspecs/linux-g++
    -I/tmp/build -I/opt/Qt5.3.0/5.3/gcc_64/include -I/opt/Qt5.3.0/5.3/gcc_64/includ
    e/QtWebSockets -I/opt/Qt5.3.0/5.3/gcc_64/include/QtSql -I/opt/Qt5.3.0/5.3/gcc_64
    /include/QtNetwork -I/opt/Qt5.3.0/5.3/gcc_64/include/QtCore echoserver.h -o moc_
    echoserver.cpp
    g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WEBSOCKET
    S_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/opt/Qt5.3.0/5.3/gcc_64/mksp
    ecs/linux-g++ -I. -I/opt/Qt5.3.0/5.3/gcc_64/include -I/opt/Qt5.3.0/5.3/gcc_64/in
    clude/QtWebSockets -I/opt/Qt5.3.0/5.3/gcc_64/include/QtSql -I/opt/Qt5.3.0/5.3/gc
    c_64/include/QtNetwork -I/opt/Qt5.3.0/5.3/gcc_64/include/QtCore -I. -o moc_echos
    erver.o moc_echoserver.cpp
    g++ -Wl,-O1 -Wl,-rpath,/opt/Qt5.3.0/5.3/gcc_64 -Wl,-rpath,/opt/Qt5.3.0/5.
    3/gcc_64/lib -o echoserver main.o echoserver.o moc_echoserver.o -L/opt/Qt5.3.0
    /5.3/gcc_64/lib -lQt5WebSockets -lQt5Sql -lQt5Network -lQt5Core -lpthread
    -----> Discovering process types
    -----> Compiled slug size is 32K
    -----> Deploying app
    mar-eu-1-79uhkp47 deployed to http://mar-eu-1-79uhkp47.qtcloudapp.com
    To git@git-mar-eu-1.qtc.io:mar-eu-1-79uhkp47

    • [new branch] master -> master
      @

    What could be the problem here?


  • cid:52:privileges:purge

    There are currently some issues that prevent deploying Qt WebSocket echoserver example to MAR. We are investigating the issue and inform you when it is resolved.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.