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

Dialogues still not working #6

Open
Hala-ad-Din opened this issue Mar 13, 2022 · 6 comments
Open

Dialogues still not working #6

Hala-ad-Din opened this issue Mar 13, 2022 · 6 comments

Comments

@Hala-ad-Din
Copy link

Faced yesterday with a problem that ubisoft connect does not work. I checked the logs and found this entry:
[11020] 2022-03-12 23:14:36 [10180] ERROR ChannelsGet.cpp (101) Get channels failed: 0; Response [11020] 2022-03-12 23:14:36 [10180] ERROR JobHttp.cpp (153) Http status code is none for url https://channel-service.upc.ubi.com/v1/profiles/me/channels?membershipType=ACTIVE&spaceId=c0539e9c-90ab-4af8-a2d6-ef7b3883f430. [11020] 2022-03-12 23:14:36 [10180] ERROR ChannelsGet.cpp (101) Get channels failed: 0; Response:
Using your fix allows me to open the chat, but only the history of the first opened dialogue is loaded in it. To see the history of the next dialog, i have to restart ubisoft connect. i can only send messages to the first opened dialog. In other dialogs, messages are not sent. And in-game overlay is not working. =(
image

Ubisoft doesn't seem to care at all about this issue, as I've seen reports of such errors dating back to 2017. Maybe you can help me with advice on what I can do?

@TheRealAyCe
Copy link
Owner

TheRealAyCe commented Mar 13, 2022

I just checked it and it still works for me.

"Http status code is none" means that some basic HTTP thing fails, like the stuff that the win7fix tries to solve. Some ideas:

  • Are these logs supposed to be from today? The date says 2022-03-12. With the fix, all calls should work and there shouldn't even be ANY log entry regarding channel-service.
  • You must start the fix before starting Ubisoft Connect and keep it running throughout the whole time. Are you doing that?
  • Did you modify the hosts file manually? If so, revert your changes and try again, the tool does that automatically.
  • Each call (caused by opening chat window, switching between friends, and so on) should increment the "requests" counter in the fix window. Did one fail? You can also click "Show" and check if one of the requests does not have a "-> 200" below it. "200" means the server was contacted successfully and responded properly.
  • The first few times after using the fix, not all chat histories may load immediately. Sending and receiving new messages should work though.
  • The ingame overlay may use different technology and may not work with the fix. I haven't tried it out so far, I don't know for certain.

If none of these points help you, maybe you can record a video of you using it and the problem occuring? I don't know what else it could be, based on your description.

@Hala-ad-Din
Copy link
Author

Thank you very much for your answer! Here is a fresh log, recorded with a working fix:

[ 5372]  2022-03-13 20:22:01      [ 4276]      INFO       HubUtils.cpp (165)                                                               
[ 5372]  2022-03-13 20:22:01      [ 4276]      INFO       HubUtils.cpp (169)                               -- Starting Ubisoft Game Launcher --
[ 5372]  2022-03-13 20:22:01      [ 4276]      INFO       HubUtils.cpp (174)                               Platform: PC.                   
[ 5372]  2022-03-13 20:22:01      [ 4276]      INFO       HubUtils.cpp (182)                               Exe version: 130.0.10655        
[ 5372]  2022-03-13 20:22:01      [ 4276]      INFO       HubUtils.cpp (183)                               Installed version: 10655        
[ 5372]  2022-03-13 20:22:01      [ 4276]      INFO       HubUtils.cpp (184)                               Built: Mar  1 2022.             
[ 5372]  2022-03-13 20:22:01      [ 4276]      INFO       HubUtils.cpp (189)                               OS: Microsoft Windows 7, 64-bit Ultimate Edition (build 7601)
[ 5372]  2022-03-13 20:22:01      [ 4276]      INFO       HubUtils.cpp (194)                               CPU: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
[ 5372]  2022-03-13 20:22:01      [ 4276]      INFO       HubUtils.cpp (199)                               GPU: NVIDIA GeForce GTX 960     
[ 5372]  2022-03-13 20:22:01      [ 4276]      INFO       HubUtils.cpp (204)                               RAM: 16384 MB                   
[ 5372]  2022-03-13 20:22:01      [ 4276]      INFO       HubUtils.cpp (212)                               Timezone: UTC+03:00             
[ 5372]  2022-03-13 20:22:02      [ 4276]      INFO       HubUtils.cpp (229)                               Command line:                   
[ 5372]  2022-03-13 20:22:03      [ 8704]      INFO       BusSettings.cpp (74)                             Failed to disable start on Windows start.
[ 5372]  2022-03-13 20:22:03      [ 4276]      INFO       Hub.cpp (106)                                    Environment is PROD.            
[ 5372]  2022-03-13 20:22:05      [ 5916]      INFO       StartView.cpp (820)                                                              
[ 5372]  2022-03-13 20:22:05      [ 5916]      INFO       StartView.cpp (820)                                                              
[ 5372]  2022-03-13 20:22:06      [ 4272]      INFO       AccountOnlineLogin.cpp (305)                     Login Type: ticket, platform: Uplay.
[ 5372]  2022-03-13 20:22:07      [ 4272]      INFO       AccountStartupLogin.cpp (211)                    User: 068d735c-67a4-49b2-aba5-724beef09dd9
[ 5372]  2022-03-13 20:22:08      [ 8476]      ERROR      JobHttp.cpp (168)                                Http status code is 410 for url https://wallet.ecom.ubi.com/api/v1/wallets/068d735c-67a4-49b2-aba5-724beef09dd9?country=RU.
[ 5372]  2022-03-13 20:23:22      [ 8476]      ERROR      InetHttpConnection.cpp (940)                     Read from https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/28acaf40-a228-11ec-a145-55866ccaaee2/messages timed out.
[ 5372]  2022-03-13 20:23:22      [ 8476]      ERROR      JobHttp.cpp (57)                                 Http post was aborted https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/28acaf40-a228-11ec-a145-55866ccaaee2/messages.

[ 5372]  2022-03-13 20:23:22      [ 8476]      ERROR      ChannelMessageCreate.cpp (100)                   Create message failed: 0; Response: 

Yes, I turn on the fix before starting Ubisoft Connect and do not turn it off.

Tried to restore the hosts. The result of the fix is the same. At first everything works, but as soon as the request counter reaches 18 it stops working.
image

@TheRealAyCe
Copy link
Owner

TheRealAyCe commented Mar 14, 2022

Read from ... /messages timed out.

It's possible that the Ubisoft server does not respond within time, maybe because it's trying to do things that it needs to wait for. Debugging this without having the problem yourself is pretty tricky. As a workaround you may be able to delete/close the chat and start a new one.

Do you have multiple chats where you can try this out? You can also create a group for this. Even though one chat may fail, the others should continue working after that.

Maybe it also has something to do with companies stopping service in Russia. Unlikely, as you mention that the previous requests work. Maybe some requests get blocked/timed out by Russian ISPs. Maybe your internet connection is just spotty. No idea.

  • Can you please give me another example where the time in the Ubisoft Chat window matches with the times in the log?
  • Please also screenshot the window of the ubisoftconnect-win7fix that opens when you press the "Show" button. (may need to enlarge it so we can see the entire text) You can also just copypaste its text.

@Hala-ad-Din
Copy link
Author

It is unlikely that the case in the country. I play rainbow 6 with my friends. Everything works fine for them, they are all on Windows 10. And after the last update, I had these problems with Ubisoft Connect. Moreover, thanks to your fix, I can play with them, the main thing is that they send an invitation via chat with the first message =) So the fix still works for me, although if it were stable it would be more convenient. Sometimes I have to break parties and at the same time I have to restart everything. But this is not critical, thank you very much for the fix!
As for the information, I reset the log and now I will run the fix and ubisoft connect.
And as again 18 requests and the message exchange stops.
"show" window:

18 entries  
GET https://channel-service.upc.ubi.com/v1/profiles/me/channels?membershipType=PENDING&spaceId=c0539e9c-90ab-4af8-a2d6-ef7b3883f430 -> 200 (30 bytes)  

GET https://channel-service.upc.ubi.com/v1/profiles/me/channels?membershipType=ACTIVE&spaceId=c0539e9c-90ab-4af8-a2d6-ef7b3883f430 -> 200 (2811 bytes)  

GET https://channel-service.upc.ubi.com/v1/profiles/me/channels?membershipType=ACTIVE&spaceId=c0539e9c-90ab-4af8-a2d6-ef7b3883f430&pageToken=4 -> 200 (30 bytes)  

GET https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/db7c3460-966b-11ec-bb74-b329db52bb50/messages?limit=1 -> 200 (790 bytes)  

GET https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/28acaf40-a228-11ec-a145-55866ccaaee2/messages?limit=1 -> 200 (366 bytes)  

GET https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/107f0220-97fa-11ec-bb74-b329db52bb50/messages?limit=1 -> 200 (365 bytes)  

GET https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/01bc34b0-9a52-11ec-a7f8-0985a5f5fab5/messages?limit=1 -> 200 (782 bytes)  

GET https://channel-service.upc.ubi.com/v1/profiles/me/channels/28acaf40-a228-11ec-a145-55866ccaaee2/messages/ack?spaceId=c0539e9c-90ab-4af8-a2d6-ef7b3883f430 -> 200 (103 bytes)  

GET https://channel-service.upc.ubi.com/v1/profiles/me/channels/107f0220-97fa-11ec-bb74-b329db52bb50/messages/ack?spaceId=c0539e9c-90ab-4af8-a2d6-ef7b3883f430 -> 200 (103 bytes)  

GET https://channel-service.upc.ubi.com/v1/profiles/me/channels?membershipType=ACTIVE&spaceId=c0539e9c-90ab-4af8-a2d6-ef7b3883f430 -> 200 (2811 bytes)  

GET https://channel-service.upc.ubi.com/v1/profiles/me/channels?membershipType=ACTIVE&spaceId=c0539e9c-90ab-4af8-a2d6-ef7b3883f430&pageToken=4 -> 200 (30 bytes)  

GET https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/28acaf40-a228-11ec-a145-55866ccaaee2/messages -> 200 (2148 bytes)  

GET https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/107f0220-97fa-11ec-bb74-b329db52bb50/messages -> 200 (40085 bytes)  

POST https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/107f0220-97fa-11ec-bb74-b329db52bb50/messages -> 200 (326 bytes)  

POST https://channel-service.upc.ubi.com/v1/profiles/me/channels/107f0220-97fa-11ec-bb74-b329db52bb50/messages/56e44970-a39c-11ec-ba0f-4d5df5e2f4e1/ack?spaceId=c0539e9c-90ab-4af8-a2d6-ef7b3883f430 -> 200 (103 bytes)  

POST https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/107f0220-97fa-11ec-bb74-b329db52bb50/messages -> 200 (305 bytes)  

POST https://channel-service.upc.ubi.com/v1/profiles/me/channels/107f0220-97fa-11ec-bb74-b329db52bb50/messages/5b86cf70-a39c-11ec-8ea9-b329db52bb50/ack?spaceId=c0539e9c-90ab-4af8-a2d6-ef7b3883f430 -> 200 (103 bytes)  

GET https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/db7c3460-966b-11ec-bb74-b329db52bb50/messages -> 200 (11553 bytes)

Launcher log:

[ 5156]  2022-03-14 16:39:38      [ 8576]      INFO       HubUtils.cpp (165)                                                               
[ 5156]  2022-03-14 16:39:38      [ 8576]      INFO       HubUtils.cpp (169)                               -- Starting Ubisoft Game Launcher --
[ 5156]  2022-03-14 16:39:38      [ 8576]      INFO       HubUtils.cpp (174)                               Platform: PC.                   
[ 5156]  2022-03-14 16:39:38      [ 8576]      INFO       HubUtils.cpp (182)                               Exe version: 130.0.10655        
[ 5156]  2022-03-14 16:39:38      [ 8576]      INFO       HubUtils.cpp (183)                               Installed version: 10655        
[ 5156]  2022-03-14 16:39:38      [ 8576]      INFO       HubUtils.cpp (184)                               Built: Mar  1 2022.             
[ 5156]  2022-03-14 16:39:38      [ 8576]      INFO       HubUtils.cpp (189)                               OS: Microsoft Windows 7, 64-bit Ultimate Edition (build 7601)
[ 5156]  2022-03-14 16:39:38      [ 8576]      INFO       HubUtils.cpp (194)                               CPU: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
[ 5156]  2022-03-14 16:39:38      [ 8576]      INFO       HubUtils.cpp (199)                               GPU: NVIDIA GeForce GTX 960     
[ 5156]  2022-03-14 16:39:38      [ 8576]      INFO       HubUtils.cpp (204)                               RAM: 16384 MB                   
[ 5156]  2022-03-14 16:39:38      [ 8576]      INFO       HubUtils.cpp (212)                               Timezone: UTC+03:00             
[ 5156]  2022-03-14 16:39:38      [ 8576]      INFO       HubUtils.cpp (229)                               Command line:                   
[ 5156]  2022-03-14 16:39:39      [ 9264]      INFO       BusSettings.cpp (74)                             Failed to disable start on Windows start.
[ 5156]  2022-03-14 16:39:39      [ 8576]      INFO       Hub.cpp (106)                                    Environment is PROD.            
[ 5156]  2022-03-14 16:39:41      [ 9140]      INFO       StartView.cpp (820)                                                              
[ 5156]  2022-03-14 16:39:41      [ 9140]      INFO       StartView.cpp (820)                                                              
[ 5156]  2022-03-14 16:40:02      [ 5704]      INFO       AccountOnlineLogin.cpp (305)                     Login Type: ticket, platform: Uplay.
[ 5156]  2022-03-14 16:40:03      [ 5704]      INFO       AccountStartupLogin.cpp (211)                    User: 068d735c-67a4-49b2-aba5-724beef09dd9
[ 5156]  2022-03-14 16:40:05      [ 8344]      ERROR      JobHttp.cpp (168)                                Http status code is 410 for url https://wallet.ecom.ubi.com/api/v1/wallets/068d735c-67a4-49b2-aba5-724beef09dd9?country=RU.
[ 5156]  2022-03-14 16:41:31      [ 8344]      ERROR      InetHttpConnection.cpp (940)                     Read from https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/db7c3460-966b-11ec-bb74-b329db52bb50/messages timed out.
[ 5156]  2022-03-14 16:41:31      [ 8344]      ERROR      JobHttp.cpp (57)                                 Http post was aborted https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/db7c3460-966b-11ec-bb74-b329db52bb50/messages.
[ 5156]  2022-03-14 16:41:31      [ 8344]      ERROR      ChannelMessageCreate.cpp (100)                   Create message failed: 0; Response: 
[ 5156]  2022-03-14 16:42:50      [ 8344]      ERROR      InetHttpConnection.cpp (940)                     Read from https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/01bc34b0-9a52-11ec-a7f8-0985a5f5fab5/messages timed out.
[ 5156]  2022-03-14 16:42:50      [ 8344]      ERROR      JobHttp.cpp (144)                                Http get was aborted  for url https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/01bc34b0-9a52-11ec-a7f8-0985a5f5fab5/messages.
[ 5156]  2022-03-14 16:42:50      [ 8344]      ERROR      ChannelMessageGet.cpp (95)                       Get messages failed: 0; Response: 
[ 5156]  2022-03-14 16:42:55      [ 8344]      ERROR      InetHttpConnection.cpp (940)                     Read from https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/28acaf40-a228-11ec-a145-55866ccaaee2/messages timed out.
[ 5156]  2022-03-14 16:42:55      [ 8344]      ERROR      JobHttp.cpp (57)                                 Http post was aborted https://channel-service.upc.ubi.com/v1/spaces/c0539e9c-90ab-4af8-a2d6-ef7b3883f430/channels/28acaf40-a228-11ec-a145-55866ccaaee2/messages.
[ 5156]  2022-03-14 16:42:55      [ 8344]      ERROR      ChannelMessageCreate.cpp (100)                   Create message failed: 0; Response: 

@TheRealAyCe
Copy link
Owner

I'm happy that the fix helps you! I want to make it as stable as possible, but you may need to help me.
All of these errors now seem to be "Read timed out". In your initial posting you pasted the "Http status code is none" error, which I cannot see in this log. This is the exact error that should be solved by the fix, and since I cannot see it in the later log you posted, I assume that you accidentally copied the wrong part of the log the first time. So I will focus on debugging the "time out" thing.

Do the requests always stop working after 18? After some minutes? Are you doing something that could cause it to break, opening a game, opening the overlay or something like that?

Please test this: Use the fix as before, but when it stops working, just restart the fix (should cause the "(un)install root certificate popup" when closing, and then again when opening again). See if it does work again please.

As I cannot reproduce the error myself, yet the next step will be to include some more output in the win7fix. I will upload a modified version that will log what&when data is sent and what&when is received. Maybe it's really only due to the Ubisoft server responding very slowly, or maybe there is a bug in the win7fix. If the problem is due to the Ubisoft server, I don't think that I can do much about it.

I will post it here once I have a new version for you to try out.

@Hala-ad-Din
Copy link
Author

I don't know English well and I use google translator. This is probably why I could not correctly describe the problem in the first post. I copied that section of the log with "Http status code is none" because it was from it that I realized that I had a problem with ciphers. This entry is before using the fix =)

Do the requests always stop working after 18? After some minutes? Are you doing something that could cause it to break, opening a game, opening the overlay or something like that?

Always after 18. It reaches this number and then no requests, no completed, no failed.
Ubisoft connect I tried mostly without the game. When the game is running, the effect is the same, but even after an hour of playing, I was able to receive a second invitation to the team from a friend. It was the 17th request in the fix, I think. Right now I launched a fix and ubisoft connection at 18:16. Still working after 8 minutes.
image

After 18 requests it stops. The 18th request is a chat switch, the 19th request is a message.
image

Now I'll try to restart the fix...
After a restart it worked again. but this time it stopped working after the 16th request
image

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

2 participants