I replaced the placeholder video in the web application with an actual tutorial. It introduces the user to the basics of graphs and explains the app's different functionalities. Feel free to provide feedback on it.
What I did not get to work is properly linking the app to test.collec.repec.org. I am unexperienced with Apache and have no idea how to fix that configuration. The ShinyProxy website (https://www.shinyproxy.io/security/) mentions a configuration using Nginx:
server {
listen 80;
server_name shinyproxy.yourdomain.com;
rewrite ^(.*) https://$server_name$1 permanent;
}
server {
listen 443;
server_name shinyproxy.yourdomain.com;
access_log /var/log/nginx/shinyproxy.access.log;
error_log /var/log/nginx/shinyproxy.error.log error;
ssl on;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_certificate /etc/ssl/certs/yourdomain.com.crt;
ssl_certificate_key /etc/ssl/private/yourdomain.com.key;
location / {
proxy_pass http://127.0.0.1:8080/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 600s;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
My questions on Stack Overflow (https://stackoverflow.com/q/63112223/9084488) and Server Fault (https://serverfault.com/q/1029219/587099) asking to translate that code to Apache did, unfortunately, not invoke any answers or comments.
Does anyone on this list know how to do this? The current configuration is:
<VirtualHost *:80>
ServerName test.collec.repec.org
ServerAlias test.collec.openlib.org
ErrorLog /var/log/apache2/collec.proxy-error.log
CustomLog /var/log/apache2/collec-access.log combined
UseCanonicalName Off
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
RewriteEngine on
RewriteCond %{HTTP:Upgrade} =websocket
RewriteRule /(.*) ws://localhost:8080/$1 [P,L]
</VirtualHost>
Christian Düben
Research Associate
Chair of Macroeconomics
Hamburg University
Von-Melle-Park 5, Room 3102
20146 Hamburg
Germany
+49 40 42838 1898
christian.dueben(a)uni-hamburg.de<mailto:christian.dueben@uni-hamburg.de>
http://www.christian-dueben.com
Düben, Christian writes
> Any ideas why that happened?
that's what's in the journal.
Aug 10 15:47:31 darni sshd[3513693]: Received disconnect from 119.17.200.66 port 3323:11: Bye Bye [preauth]
Aug 10 15:47:31 darni sshd[3513693]: Disconnected from authenticating user root 119.17.200.66 port 3323 [preauth]
Aug 10 15:47:32 darni sshd[3513703]: Failed password for root from 124.93.160.82 port 52369 ssh2
Aug 10 15:47:33 darni sshd[3513703]: Received disconnect from 124.93.160.82 port 52369:11: Bye Bye [preauth]
Aug 10 15:47:33 darni sshd[3513703]: Disconnected from authenticating user root 124.93.160.82 port 52369 [preauth]
-- Reboot -Aug 10 16:34:29 darni kernel: microcode: microcode updated early to revision 0xd6, date = 2020-04-2Aug 10
16:34:29 darni kernel: Linux version 5.7.0-1-amd64 (debian-kernel(a)lists.debian.org) (gcc version 9.3.0 (Debian 9.3.0-14), GNU ld (GNU Binutils for Debian) 2.34) #1 SMP Debian 5.7.6-1 (2020-06-24)
Aug 10 16:34:29 darni kernel: Command line: BOOT_IMAGE=/vmlinuz-5.7.0-1-amd64 root=UUID=92d8b524-76e3-452c-b4ad-93765244e796 ro nomodeset consoleblank=0
Aug 10 16:34:29 darni kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Just similar scenario as with previous crashes.
> I do not think that it had anything to do with the app.
I wouldn't go that far. I simply have no idea.
--
Cheers,
Thomas Krichel http://openlib.org/home/krichel
skype:thomaskrichel