GetStream/stream-chat-swift

Not able to connect user to the Chat

Ravinder-webonise opened this issue · 2 comments

What did you do?

i am working with SWIFT UI project.
I am not able to get success Message ie:- "SUCCESSFULLY CONNECTED CHAT USER".
instead of this i am getting :-
log.error("connecting the chat user failed (error)")

For your Reference i am attaching my cosole log ,

2024-02-14 12:59:18.470 [ERROR] [io.getstream.logger] [AuthenticationRepository.swift:320] [getToken(isRetry:userInfo:tokenProvider:completion:)] > Error when getting token: Error ConnectionNotSuccessful in /Users/ravinderkumar/Library/Developer/Xcode/DerivedData/Breakr-cxezyaxbcxprpecijwahlmtvvvrv/SourcePackages/checkouts/stream-chat-swift/Sources/StreamChat/Repositories/ConnectionRepository.swift:75 -> Connection to the API has failed.
You can read more about making a successful connection in our docs:
https://getstream.io/chat/docs/sdk/ios/uikit/getting-started/

Please help me out from here.
Thanks

What did you expect to happen?

What happened instead?

GetStream Environment

GetStream Chat version:
GetStream Chat frameworks: StreamChat, StreamChatUI
iOS version:
Swift version:
Xcode version:
Device:

Additional context

HI @Ravinder-webonise,

Can you please fill out the whole template? What SDK version are you using? Have you read the docs on how to get started? https://getstream.io/chat/docs/sdk/ios/uikit/getting-started/

You also need to share your code so that we can see what you are doing wrong or not.

Hi @nuno-vieira Thanks for your valuable Respond .
I have fixed my issue , that was the issue related to our backend local server.
So i am going to close this ticket .
Thanks