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

illegal character in authority at index 8: https... #38

Open
Jayjerome opened this issue Apr 24, 2020 · 3 comments
Open

illegal character in authority at index 8: https... #38

Jayjerome opened this issue Apr 24, 2020 · 3 comments

Comments

@Jayjerome
Copy link

Jayjerome commented Apr 24, 2020

The app keeps crashing with this error after deploying to firebase functinos
Caused by: java.net.URISyntaxException: Illegal character in authority at index 8: https://<asia-east2>-trace-8rbv.cloudfunctions.net/ at java.net.URI$Parser.fail(URI.java:2893) at java.net.URI$Parser.parseAuthority(URI.java:3231) at java.net.URI$Parser.parseHierarchical(URI.java:3142) at java.net.URI$Parser.parse(URI.java:3098) at java.net.URI.<init>(URI.java:584) at okhttp3.HttpUrl.uri(HttpUrl.java:379) at okhttp3.internal.connection.RouteSelector.resetNextProxy(RouteSelector.java:129)  at okhttp3.internal.connection.RouteSelector.<init>(RouteSelector.java:63)  at okhttp3.internal.connection.StreamAllocation.<init>(StreamAllocation.java:101)  at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:112)  at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)  at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)  at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:254)  at okhttp3.RealCall$AsyncCall.execute(RealCall.java:200)  at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  at java.lang.Thread.run(Thread.java:764) 
Please assist

@Jayjerome Jayjerome changed the title illegal character in authority at index 8: https:............... illegal character in authority at index 8: https... Apr 24, 2020
@dermdaly
Copy link

shouldn't be in the URL. Looks like you included it when you shouldn't.

@Jayjerome
Copy link
Author

What URL are you referring to @dermdaly

@qtangs
Copy link
Contributor

qtangs commented May 3, 2020

@Jayjerome your URL is not valid, should not contain the angle brackets: https://<asia-east2>..

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

3 participants