Comments (5)
we were using develop
of stream-chat-swift, i've just changed to using 4.47.0, so i can also report back in about a week to say whether it was just a versioning thing
from stream-chat-swift.
Hi @AndrewSB, unfortunately, we do not see this on our side, nor getting any other complaints about the AuthenticationRepository deadlock. Please do let us know if you'll find out that it was just a versioning thing.
Best,
Alexey
from stream-chat-swift.
Hi @AndrewSB, how do you know it is a deadlock based on the error? 🤔 From the image above, the Timout Error just means that the request timed out. It could just be a bad network from the user, etc.
from stream-chat-swift.
at the bottom of the screenshot above, i highlighted the error message. you can see mentions AuthenticationRepository:266 as the source of the error.
looking at that file, it looks like that WaiterTimeout comes from your auth repository failing to get an auth token:
![Screenshot 2024-01-18 at 8 48 13 AM](https://private-user-images.githubusercontent.com/3814772/297818511-1b2ae189-7473-4dd9-8bf4-f7d574ec9b09.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDk5MTA1ODIsIm5iZiI6MTcwOTkxMDI4MiwicGF0aCI6Ii8zODE0NzcyLzI5NzgxODUxMS0xYjJhZTE4OS03NDczLTRkZDktOGJmNC1mN2Q1NzRlYzliMDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDMwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAzMDhUMTUwNDQyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTNmNGIyNGIyYjNlNWMwODVlMzExMTAzNjg0NTRlNGY5ZjA0MGJlYzgzNjY1ZTk4ODcyNGQ1MGUxMmVhZTU5YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.P8yUAZouh6pEJ-ZFUakhyStVaWZls6RN-lqgN9nkfTk)
does that all seem right? if so, i'll dig a little deeper and see if i can spot anything else for you
from stream-chat-swift.
Hi @AndrewSB , yes that is fine, some requests can timeout. Before, while timing out, they were deadlocking. That was a problem, but it should not happen anymore.
Feel free to re-open the issue if you can reproduce the timeout error and deadlock again 👍
from stream-chat-swift.
Related Issues (20)
- Got "An SSL error has occurred and a secure connection to the server cannot be made." HOT 4
- Notification not Receiving Sometimes HOT 14
- Xcode 15 Linker Warnings HOT 4
- Push Notification Issue HOT 1
- SwiftUI demo app? HOT 1
- Editing a channel's members doesn't seem to work HOT 1
- Whole interface blocked when swipe photo in fullscreen mode HOT 3
- Showing Translated Message After Delete The Message HOT 1
- Does ChatChannelController.loadPreviousMessages has a maximum pageSize? HOT 4
- Slack-style reactions HOT 8
- For iOS is not a valid binary HOT 2
- Not able to connect user to the Chat HOT 2
- Token provider keeps retrying after calling disconnect HOT 5
- Passing an Invalid Token during connection triggers an infinity loop. HOT 3
- Unable to receive push Notifications: error "DeviceTokenNotForTopic" HOT 2
- Missing super.init in AsyncOperation HOT 2
- Error "'shared' is unavailable in application extensions for iOS..." when using UNNotificationServiceExtension HOT 1
- App crash on creating a new 1:1 chat, found nil when unwrapping optional in ListDataBaseObserver HOT 26
- Update user profile HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stream-chat-swift.