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

/v1/requests/current api not working from specific locations #180

Open
yogeshlanjekar opened this issue Feb 19, 2020 · 2 comments
Open

/v1/requests/current api not working from specific locations #180

yogeshlanjekar opened this issue Feb 19, 2020 · 2 comments

Comments

@yogeshlanjekar
Copy link

yogeshlanjekar commented Feb 19, 2020

Github issues are for bug reports. If this is a question around usage or understanding please use
Stack Overflow. https://stackoverflow.com/questions/tagged/uber-api

Library version: v0.9.1

Repro steps, stacktrace, screenshots:
We have integrated /v1/requests/current api in android application since last couple of years. It was working fine but recently we have encountered weird issue with this api - "api does not give response for users from India where as for USA users, this api works fine."
Logs -

java.net.SocketTimeoutException: timeout
at okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException(Http2Stream.java:656)
at okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut(Http2Stream.java:664)
at okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.java:153)
at okhttp3.internal.http2.Http2Codec.readResponseHeaders(Http2Codec.java:131)
at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:88)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93)

Does Uber has made any changes in cloud backend OR any updates required in application?

Can you please guide me ?

I am aware that v1 apis are deprecated now but will be planning our app to upgrade to use v1.2 apis.

Expected Behavior:

@yogeshlanjekar
Copy link
Author

This issue can be observed for users in India, where as users in USA & Netherlands, this api is working fine.

@yogeshlanjekar
Copy link
Author

Just wanted to check if uber dev team has any updates on this issue.

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