m2049r / xmrwallet

monerujo: An Android Monero Wallet
https://www.monerujo.io/
Apache License 2.0
614 stars 273 forks source link

Issue connecting with node with SSL #834

Open vdo opened 2 years ago

vdo commented 2 years ago

Hello,

I'm running a node with SSL enabled at HTTPS port (443) and when I try to connect using Monerujo, I get "CONNECTION ERROR 400"

I'm sure the node works because I can use it with monero-wallet-cli without issues.

btw, the node is:

https://xmr.unknown.place

Does Monerujo support SSL connection transparently?

vdo commented 2 years ago

To add on this, with nodes deployed with xmr.sh , I cannot add the node if I specify the port 443 (I get CONNECTION ERROR), but I can actually use it if I use the port 80 (which gets automatically redirected to 443)

See logcat error below:

06-08 08:22:06.274  1449  1568 I ActivityTaskManager: Displayed com.m2049r.xmrwallet/.WalletActivity: +93ms
06-08 08:22:08.947 15105 15105 W ziparchive: Unable to open '/data/app/~~Ll-BAGySLYEKeFM7mIw3KQ==/com.m2049r.xmrwallet-edwPKi8PiE_Tn_zd1Jy8pw==/base.apk': No such file or directory
06-08 08:22:08.947 15105 15105 E ndroid.systemu: Failed to open APK '/data/app/~~Ll-BAGySLYEKeFM7mIw3KQ==/com.m2049r.xmrwallet-edwPKi8PiE_Tn_zd1Jy8pw==/base.apk': I/O error
06-08 08:22:08.949 15105 15105 W ResourcesManager: failed to preload asset path '/data/app/~~Ll-BAGySLYEKeFM7mIw3KQ==/com.m2049r.xmrwallet-edwPKi8PiE_Tn_zd1Jy8pw==/base.apk'
06-08 08:22:08.949 15105 15105 W ResourcesManager: java.io.IOException: Failed to load asset path /data/app/~~Ll-BAGySLYEKeFM7mIw3KQ==/com.m2049r.xmrwallet-edwPKi8PiE_Tn_zd1Jy8pw==/base.apk
06-08 08:22:08.950 15105 15105 W ziparchive: Unable to open '/data/app/~~Ll-BAGySLYEKeFM7mIw3KQ==/com.m2049r.xmrwallet-edwPKi8PiE_Tn_zd1Jy8pw==/base.apk': No such file or directory
06-08 08:22:08.950 15105 15105 E ndroid.systemu: Failed to open APK '/data/app/~~Ll-BAGySLYEKeFM7mIw3KQ==/com.m2049r.xmrwallet-edwPKi8PiE_Tn_zd1Jy8pw==/base.apk': I/O error
06-08 08:22:08.952 15105 15105 E ResourcesManager: failed to add asset path '/data/app/~~Ll-BAGySLYEKeFM7mIw3KQ==/com.m2049r.xmrwallet-edwPKi8PiE_Tn_zd1Jy8pw==/base.apk'
06-08 08:22:08.952 15105 15105 E ResourcesManager: java.io.IOException: Failed to load asset path /data/app/~~Ll-BAGySLYEKeFM7mIw3KQ==/com.m2049r.xmrwallet-edwPKi8PiE_Tn_zd1Jy8pw==/base.apk
06-08 08:22:08.952 15105 15105 W PackageManager: Failure retrieving resources for com.m2049r.xmrwallet
06-08 08:22:08.962  1449  8867 W ActivityManager: Receiver with filter android.content.IntentFilter@49c4c86 already registered for pid 2936, callerPackage is com.m2049r.xmrwallet
06-08 08:22:09.435  1449  8864 W InputManager-JNI: Input channel object 'a4d784e com.m2049r.xmrwallet/com.m2049r.xmrwallet.WalletActivity (client)' was disposed without first being removed with the input manager!
06-08 08:22:13.077  1449  9975 W NotificationService: Toast already killed. pkg=com.m2049r.xmrwallet token=android.os.BinderProxy@def85ca
shortwavesurfer2009 commented 11 months ago

I dont think monerujo supports SSL as when i require ssl on my node monerujo wont connect but cake works fine. If i set my node to autodetect or ssl off monerujo connects fine. I also wrote about this here on monero.town

cdenovo commented 5 months ago

Can confirm. SSL works in Cake Wallet but not Monerujo.