I am trying to make my way through the jupyterhub notebook tutorials one can link to from the documentation. However, if / when I stop and then want to come back, I get this 403:Forbidden error over and over and over again.
The only thing I’ve found that sort of looks like a solution is here: python 3.x - Jupyterhub service unavailable error and http :403 forbidden - Stack Overflow
The idea is that I have an expired API token, which causes me to get the 403. If so, why not give those an automatic - and much shorter - time out / self destruct switch / whatever?
The problem with this solution is that the pid seems to change at the blink of an eye:
malikarumi@Tetuoan2:~$ ps aux | grep configurable-http-proxy
malikar+ 6836 0.0 0.0 9040 712 pts/0 S+ 12:38 0:00 grep --color=auto configurable-http-proxy
malikarumi@Tetuoan2:~$ ps aux | grep configurable-http-proxy |awk '{print "kill -9 " $2}'|sh
malikarumi@Tetuoan2:~$ ps aux | grep configurable-http-proxy
malikar+ 7071 0.0 0.0 9040 652 pts/0 S+ 12:42 0:00 grep --color=auto configurable-http-proxy
malikarumi@Tetuoan2:~$ ps aux | grep configurable-http-proxy kill
grep: kill: No such file or directory
malikarumi@Tetuoan2:~$ ps aux | grep configurable-http-proxy | kill
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
malikarumi@Tetuoan2:~$
malikarumi@Tetuoan2:~$ kill configurable-http-proxy
bash: kill: configurable-http-proxy: arguments must be process or job IDs
malikarumi@Tetuoan2:~$ kill 7071
bash: kill: (7071) - No such process
I even switched from Chrome to Firefox, but I still got the 403. Despite showing up in the terminal, none of these pid have ever shown up in my system monitor.
Does anyone have a solution, please? Thank you.