Ubuntu/vsftpd - connection closed by remote host after entering password
1,997
Here was the solution:
https://unix.stackexchange.com/questions/37539/vsftpd-fails-pam-authentication
Basically comment out
auth required pam_shells.so
in /etc/pam.d/vsftpd
Was able to track that down after tailing auth.log. I hope there aren't serious downsides to this but at least it got me back in business today.
Related videos on Youtube
Author by
mihai constantinescu
Updated on September 18, 2022Comments
-
mihai constantinescu over 1 year
I am using zo0r react-native-push-notification library.
For some reason, when i open the
app
for the first time after i installed it on the mobile device (iOS
orAndroid
) the token is returned as null.PushNotification.configure({ onRegister: function(token) { console.log( 'TOKEN:', token ); }, onNotification: function(notification) { console.log( 'NOTIFICATION:', notification ); }, senderID: "YOUR GCM SENDER ID", permissions: { alert: true, badge: true, sound: true }, popInitialNotification: true, requestPermissions: true, });
My question is, which is the best approach to get the token if the onRegister method returns token as null? Do i have to recall this function in other screen of the app?
"react": "16.0.0-alpha.6", "react-native": "^0.44.3", "react-native-push-notification": "^3.0.1"
Thank you for your help,
Mikhi
-
Deepak Sachdeva over 6 yearsI have done push notification using FCM in react-native. If you need any help related to that then I can help you.
-
mihai constantinescu over 6 yearsHi Deepak, thanks for your message. The push notification feature is working for both versions of the app. The open/remaining issue is that i described above.
-
Deepak Sachdeva over 6 yearsyes, It works for both.
-
mihai constantinescu over 6 yearsDid you use the same package for push notifications?
-
Deepak Sachdeva over 6 yearsAre you asking about same package for firebase configuration ?
-
mihai constantinescu over 6 yearsyes, i'm asking if you use the same package. if not, what package did you use?
-
mihai constantinescu over 6 yearsThis question is closed...i found some workaround for this issue.
-