Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Exception: java.lang.IllegalArgumentException Invalid URL host: ".pushnotifications.pusher.com" #144

Open
kcw-grunt opened this issue Apr 20, 2024 · 0 comments

Comments

@kcw-grunt
Copy link

Background

Followed Get Started and followed instructions precisely. This was implemented in Android 2 projects and a majority of the users are able to subscribe and our analytics show that they are successfully registering 1000s.

Yet we have this issue and these users are not showing in the Pusher Console. In the pusher console, there are only 70-80 devices. But in the similar iOS implementation there are 1000s.

There is a huge discrepenancy and this issue may have part of the problem. There is also a Support ticket open in Pusher Support ticket #201465

Trace Log

okhttp3.HttpUrl$Builder.parse$okhttp (HttpUrl.kt:1338)
okhttp3.HttpUrl$Companion.get (HttpUrl.kt:1634)
okhttp3.HttpUrl.get (Unknown Source:2)
retrofit2.Retrofit$Builder.baseUrl (Retrofit.java:458)
com.pusher.pushnotifications.api.PushNotificationsAPI.<init> (PushNotificationsAPI.kt:98)
com.pusher.pushnotifications.PushNotificationsInstance$serverSyncHandler$1.invoke (PushNotificationsInstance.kt:108)
com.pusher.pushnotifications.PushNotificationsInstance$serverSyncHandler$1.invoke (PushNotificationsInstance.kt:93)
com.pusher.pushnotifications.PushNotificationsInstance.<init> (PushNotificationsInstance.kt:105)
com.pusher.pushnotifications.PushNotifications.start (PushNotifications.java:30)
com.breadwallet.BreadApp.finishedLoadingPushService (BreadApp.java:163)
com.breadwallet.BreadApp.access$100 (BreadApp.java:48)
com.breadwallet.BreadApp$2.run (BreadApp.java:137)
java.lang.Thread.run (Thread.java:1012)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant