json rest problem
-
@juntiedt Are you sure that evok is running on localhost on port 8080?
-
evoc is running. I checked it with "systemctl status evok"
I checked "/etc/evoc.conf. port" which was set to 80. Actually I haven't changed anything since installation! Changed it now to 8080.
I am getting the same response as before: 404 Not Found ... see above - but now on port 8080Is there another file where I should/could change the port to 8080?
does body mean payload and title mean headers?
-
This post is deleted! -
@juntiedt After you changed the port in /etc/evok.conf to 8080, did you restart it? I think it should not work, because there is the some webserver running on 8080. Check it with
netstat -putan -
is it possible that I have a problem with tornadorpc-evok. I am not sure if it is installed the correct way. please let me know how to install it and where I can find the correct installation file.
regarding your question: no web server running
-
@juntiedt Some server is running because it responds with 404... The tornado-rpc evok is part of evok itself. Please try to reinstall evok and paste the output of the installation script
-
ok, I will reinstall evok.
Wich one would you recommend?
Legacy or Evok 2.0 on my unipi1.1 with stretch -
@juntiedt 2.0
-
new stretch image, new evok --> all works perfectly!
thanks Tomas -
Hi Tomas,
I was too optimistic yesterday. Today I tryed your websocket based sample programm with Python 3. Python can't find websocket. Do I have to install a websocket library? If yes which one?There is another problem I found when rebooting after installing evok.
During booting raspbian stretch I got this warning message:
"Failed to start load kernel modules"
Could this be the reason why websocket does not work?I am running plain stretch with latest update and upgrade
-
system Status:
● systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2017-11-17 12:50:58 CET; 2min 17s ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 126 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) Main PID: 126 (code=exited, status=1/FAILURE) Nov 17 12:50:58 raspberrypi systemd-modules-load[126]: Inserted module 'i2c_dev' Nov 17 12:50:58 raspberrypi systemd-modules-load[126]: Inserted module 'i2c_bcm2708' Nov 17 12:50:58 raspberrypi systemd-modules-load[126]: Error running install command for unipi_eprom Nov 17 12:50:58 raspberrypi systemd-modules-load[126]: Failed to insert 'unipi_eprom': No such file or directory Nov 17 12:50:58 raspberrypi systemd-modules-load[126]: /etc/opt/unipi_eprom: 24: /etc/opt/unipi_eprom: cannot create /sys/class/i2c-dev/i2c-1/device/new_device: Directory none Nov 17 12:50:58 raspberrypi systemd-modules-load[126]: sh: 1: cannot create /sys/bus/i2c/devices/i2c-1/new_device: Directory nonexistent Nov 17 12:50:58 raspberrypi systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE Nov 17 12:50:58 raspberrypi systemd[1]: Failed to start Load Kernel Modules. Nov 17 12:50:58 raspberrypi systemd[1]: systemd-modules-load.service: Unit entered failed state. Nov 17 12:50:58 raspberrypi systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. ~ -
sorry for the websocket issue. Its now running.
the only thing left is the unipi_eprom problem in the boot process of Raspbian
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login