GithubHelp home page GithubHelp logo

Error: Arc api not running about arclight HOT 11 CLOSED

chatnaut avatar chatnaut commented on May 9, 2024
Error: Arc api not running

from arclight.

Comments (11)

MikuMikuMe avatar MikuMikuMe commented on May 9, 2024 1

Run the following commands to kill api processes.

pm2 kill
pm2 flush
cd /var/www/html/arclight
pm2 start npm --name "arc"  --log-date-format 'DD-MM HH:mm:ss.SSS' -- start

Thank you. That worked, but I already ran those commands before the certbot.

from arclight.

elondust avatar elondust commented on May 9, 2024

Run the following commands to kill api processes.

pm2 kill
pm2 flush
cd /var/www/html/arclight
pm2 start npm --name "arc"  --log-date-format 'DD-MM HH:mm:ss.SSS' -- start

from arclight.

MikuMikuMe avatar MikuMikuMe commented on May 9, 2024

Run the following commands to kill api processes.

pm2 kill
pm2 flush
cd /var/www/html/arclight
pm2 start npm --name "arc"  --log-date-format 'DD-MM HH:mm:ss.SSS' -- start

Hi, it also looks like novnc is not running, I didn't get any output after running netstat -tulpn | grep 6080.

In the vm page it stated VNC Port: 5900, but the console is trying to open port 6080.

from arclight.

elondust avatar elondust commented on May 9, 2024

Signout and Signin again and see if it works, also u can check out the errors in the noVNC logs. Which version of ubuntu are you using right now?

from arclight.

MikuMikuMe avatar MikuMikuMe commented on May 9, 2024

I did try to log out and login again but it didn't work. I am using Ubuntu20.04.4LTS

Sorry for asking this but how to check the logs of novnc?

from arclight.

S4nfs avatar S4nfs commented on May 9, 2024

@Dep0s1t You can check the log files either in the logs section of the dashboard or by going to /var/www/html/arclight/logs. If everything's correct you won't see any errors in the timestamps.

from arclight.

MikuMikuMe avatar MikuMikuMe commented on May 9, 2024
/var/www/html/arclight/apps/noVNC/utils/websockify/websockify/websocket.py:30: UserWarning: no 'numpy' module, HyBi protocol will be slower
  warnings.warn("no 'numpy' module, HyBi protocol will be slower")
WebSocket server settings:
  - Listen on :6080
  - Web server. Web root: /var/www/html/arclight/apps/noVNC
  - No SSL/TLS support (no cert file)
Traceback (most recent call last):
  File "./apps/noVNC/utils/websockify/run", line 5, in <module>
    websockify.websocketproxy.websockify_init()
  File "/var/www/html/arclight/apps/noVNC/utils/websockify/websockify/websocketproxy.py", line 582, in websockify_init
    server.start_server()
  File "/var/www/html/arclight/apps/noVNC/utils/websockify/websockify/websockifyserver.py", line 714, in start_server
    lsock = self.socket(self.listen_host, self.listen_port, False,
  File "/var/www/html/arclight/apps/noVNC/utils/websockify/websockify/websockifyserver.py", line 468, in socket
    sock.bind(addrs[0][4])
OSError: [Errno 98] Address already in use

This is what I got. At first it was /usr/bin/env: python: No such file or directory so I created a symlink for it.

from arclight.

elondust avatar elondust commented on May 9, 2024

According to last line the noVNC process is already in use. Kill the python process tied to noVNC sudo netstat -tulpn | grep 6080 with PID number and signin again.

from arclight.

MikuMikuMe avatar MikuMikuMe commented on May 9, 2024

According to last line the noVNC process is already in use. Kill the python process tied to noVNC sudo netstat -tulpn | grep 6080 with PID number and signin again.

Sorry for the late reply, I almost forgot about this, I did what you said and after that it's just a blank page for console.
Image

from arclight.

elondust avatar elondust commented on May 9, 2024

It should be running properly after this. Are you using self-signed certificate for the console, if not then i recommend you to go for the second method by attaching your own domain and encrypt using Let's encrypt.

Also the SSH Terminal and noVNC uses the same configuration path and if there is some mistake after the post-installation configuration, both will throw errors in the logs. Try to post logs here.

from arclight.

elondust avatar elondust commented on May 9, 2024

I am closing this issue because it has not had recent activity. Also, there's a new patch update available, make sure to update the console to the latest version.

from arclight.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.