Comments (28)
Without any logs it's hard to tell what's wrong. Maybe #162.
You'll have to check the apps logs, through CLI I guess.
from kresus_ynh.
OK @nicofrand , I can connect as admin via ssh in a terminal.
Which command should I type that would be the most informative to help debug this ?
I've found this log file thus far: /var/log/kresus/kresus.log
It's attached too
kresus.log
from kresus_ynh.
OK, Kresus seems to be running.
What is the output of curl http://127.0.0.1:9876 -v
?
from kresus_ynh.
This, does it help?
Looks like the port is open
from kresus_ynh.
What about curl http://[::1]:9876
then?
from kresus_ynh.
This one fails:
It's not mentionned in the Yunohost port-forwarding page:
https://yunohost.org/en/isp_box_config
What does it correspond to ? how shall I configure it ?
from kresus_ynh.
I just wanted to see if it was reachable through IP6.
What is the output of netstat -plnt | grep 9876
?
from kresus_ynh.
Does that help ?
from kresus_ynh.
We are now sure Kresus is running, on localhost and port 9876. It's a shame we don't see past the "LISTEN" part. I guess it is "node"?
That also means the curl http://127.0.0.1:9876
should work. Can you try again? You are doing it from the raspberry right?
What about nc -zv 127.0.0.1 9876
?
from kresus_ynh.
So I'm doing everything from the raspberry (I connect to it via ssh from my pc).
There was nothing after the "LISTEN" in the previous screenshot, I've done it again below:
In that test I had to interrupt the curl http://127.0.0.1:9876
because nothing was happening (I waited ~30 seconds). This particular command does not seem to work.
from kresus_ynh.
Ah, can you try running the netstat
command as sudo please?
That should look like this:
tcp 0 0 127.0.0.1:33060 0.0.0.0:* LISTEN 1365/mysqld
from kresus_ynh.
It's indeed listening to something:
If I try to sudo
the curl
command however it still does not work (nothing happens and after a while I interrupt it with ctrl+C
from kresus_ynh.
@nicofrand any chance there is a solution to this ?
from kresus_ynh.
Does it occur every time you try to install it? As far as I can tell from the logs, Kresus in running alright. The issue comes from your network I guess but I don't know what is going onβ¦
You might want to try to get some help on the Yunohost room on Matrix, or on the forum.
from kresus_ynh.
So I tried uninstalling and re-installing => same behaviour.
Like you suggested @nicofrand, I understand this may to do with how my network and / or yunohost is configured.
I tried reaching out to the yunohost folks both on the Matrix chatroom and on the forum.
It's been 22 days now and I haven't received a single answer, I'm not even sure anyone has actually looked at the messages.
I think I'll give up, I'm stuck and don't know how to solve the probem.
Do you know any other good open source client-side app for personal finance that does not require to run on a server ?
Thanks for your help,
from kresus_ynh.
ok, looks like someone (you?) just answered on Matrix after I re-posted the same message again, thanks
from kresus_ynh.
Yup, it was me.
Can you try curl -4 http://127.0.0.1:9876
?
And service kresus status
?
from kresus_ynh.
done, posted on Matrix,
Thanks for your help ! very appreciated
from kresus_ynh.
Answers from Matrix:
curl -4 http://127.0.0.1:47603
(port has changed meanwhile) hangs as wellcurl http://[::1]:47603
returns "connection refused"service kresus status
is OK
I still don't know why the request times out.
from kresus_ynh.
Can you try curl http://127.0.0.1:47603/kresus
please?
Also the content of /etc/nginx/conf.d/warren.nohost.me.d/kresus.conf
(or something like that).
from kresus_ynh.
Do you have set a firewall?
from kresus_ynh.
curl http://127.0.0.1:47603/kresus
from kresus_ynh.
content of /etc/nginx/conf.d/warren.nohost.me.d/kresus.conf
rewrite ^/kresus$ /kresus/ permanent;
location /kresus/ {
alias /var/www/kresus/build/client/;
try_files $uri $uri/index.html @kresus;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}
location ~ /kresus/\.(css|js|png|jpe?g|svg|eot|woff2?)$ {
more_set_headers 'Cache-Control: max-age=2592000, must-revalidate, public';
gzip_types text/plain text/css application/javascript text/javascript;
try_files $uri $uri/index.html @kresus;
}
location @kresus {
client_max_body_size 8M;
send_timeout 600;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:47603;
proxy_redirect off;
}
from kresus_ynh.
Do you have set a firewall?
Not sure actually.
I did not install one myself, that's for sure.
Maybe my Internet Service Provider (ISP) implements one in the router by default ?
I'm living in the USA since 4 month, not sure what the habits are here, I'll ask some colleagues
from kresus_ynh.
Also here the logs from the diagnostics (someone asked for it on Matrix):
https://paste.yunohost.org/raw/ociyonizup
from kresus_ynh.
OK, I think I see what's going on and it has nothing to do with this package nor Kresus.
How do you access your YunoHost admin?
Please try accessing https://warren.nohost.me from a different network.
If that works please take a look at https://yunohost.org/en/dns_local_network.
from kresus_ynh.
OK, thanks
- I tried accessing it via my mobile phone using the 4G network => it worked
- Hence it does not work only when I try to access it via my local PC which is on the same local domestic network (router) as the raspberry pi
- My ISP does not seem to allow me to implement a custom domain name in the DNS (or I don't understand how to do it)
- But I could modify my /etc/hosts file to include the local IP vs domain correspondence => it works now π
Now I can access Kresus and try to create a first account / connection to my bank
Thanks a lot
I have a new question directly concerning Kresus:
I see that to create a direct connection to my bank I nee to give my login and password.
How are these credentials saved in Kresus ? Are they crypted ? how can I be sure they are not saved in plain text ?
Also, is there an option to manually enter them everytime I want to update / download data from the bank instead of storing them permanently ?
from kresus_ynh.
OK, I'll close this issue then.
For any question directly related to Kresus please refer to the FAQ (https://kresus.org/en/faq.html#how-is-my-banking-data-stored-in-kresus) or the forum (https://community.kresus.org).
You can also see open issues/feature requests on Kresus' repository: https://framagit.org/kresusapp/kresus/.
from kresus_ynh.
Related Issues (20)
- Build folder not cleaned on upgrade
- Error upgrading to 0.18.1~ynh7 (in the Typescript compilation) HOT 2
- Installation on yunohost image 11.0.10.2 does not work. HOT 2
- node-pre-gyp install --fallback-to-build error during installation HOT 9
- Conflict between virtualenv from pip (from an external installation) and apt HOT 9
- [multi-instance] : nginx conf for new instance and @ directives HOT 1
- No module named 'woob.tools.url' HOT 5
- two factors auth failure HOT 4
- Boursorama unsupported or Woob out HOT 2
- Install failing on Olimex Lime 2 HOT 20
- Installation failure on raspberry 4
- request entity too large on json import HOT 7
- Error upgrade from 0.19.4~ynh3 to 0.19.4~ynh4 HOT 4
- Error during upgrade 0.19.4~ynh4 to 0.20.0~ynh1 HOT 16
- Kresus does not work after upgrade from 0.19.4~ynh4 to 0.20.0~ynh1 HOT 4
- Alerts mail do not work HOT 4
- ERREUR en mise Γ jour Kresus HOT 10
- python-jose not installed during install HOT 4
- 0.20.1~ynh3 upgrade : Please install Woob 3.5 or later HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kresus_ynh.