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

NetworkResponseDecodingFailure #8

Open
WBP20 opened this issue Apr 1, 2024 · 6 comments
Open

NetworkResponseDecodingFailure #8

WBP20 opened this issue Apr 1, 2024 · 6 comments

Comments

@WBP20
Copy link

WBP20 commented Apr 1, 2024

Hello, I face a another bug on the app today.

Device : Iphone
OS : 16.7.7
App : 1.17.4

I cannot refresh data on my app.
I got the error "Network Response Decoding Failure"

2024-04-01 19:19:47] ...users data refresh failed!
[2024-04-01 19:19:47] ⚠️ NetworkResponseDecodingFailure
DiagnosticsContext:
•Failed to decode bad request response PassboltNetworkOperations/NetworkResponseDecoder.swift:86
•...account profile data update failed! PassboltApp/MainTabsController.swift:101
[2024-04-01 19:19:47] ⚠️ NetworkResponseDecodingFailure
DiagnosticsContext:
•Failed to decode bad request response PassboltNetworkOperations/NetworkResponseDecoder.swift:86
[2024-04-01 19:19:47] ⚠️ NetworkResponseDecodingFailure
DiagnosticsContext:
•Failed to decode bad request response PassboltNetworkOperations/NetworkResponseDecoder.swift:86

This new problem had never occured before.
I did create a new entry right before this new problem.

Any solution for this ?

@elalitarek
Copy link

Hello, I face a another bug on the app today.

Device : Iphone OS : 16.7.7 App : 1.17.4

I cannot refresh data on my app. I got the error "Network Response Decoding Failure"

2024-04-01 19:19:47] ...users data refresh failed!
[2024-04-01 19:19:47] ⚠️ NetworkResponseDecodingFailure
DiagnosticsContext:
•Failed to decode bad request response PassboltNetworkOperations/NetworkResponseDecoder.swift:86
•...account profile data update failed! PassboltApp/MainTabsController.swift:101
[2024-04-01 19:19:47] ⚠️ NetworkResponseDecodingFailure
DiagnosticsContext:
•Failed to decode bad request response PassboltNetworkOperations/NetworkResponseDecoder.swift:86
[2024-04-01 19:19:47] ⚠️ NetworkResponseDecodingFailure
DiagnosticsContext:
•Failed to decode bad request response PassboltNetworkOperations/NetworkResponseDecoder.swift:86

This new problem had never occured before. I did create a new entry right before this new problem.

Any solution for this ?

Had the same issue, but after updating the server it works.

@magicman0978
Copy link

I'm Having the same issue. any fix yet? my server is up to date.
IMG_5073

@elalitarek
Copy link

I'm Having the same issue. any fix yet? my server is up to date. IMG_5073

What about reading the above?
Update the server -.-

@magicman0978
Copy link

magicman0978 commented Apr 19, 2024

What about reading my comment? my server is up-to-date. I'm running the latest.

edit: Correction, my dashboard was reporting I was running the latest but I compared the hash and I was not. updated and its working. Developer can probably close this issue. Sorry, i did read above but thought i was running the current version. now I need to go figure out why my dashboard is reporting correctly. Thanks for your help.

@jlecordier
Copy link

Same issue here

The server is probably not up to date, but should this behavior be normal ?

Knowing that with the same server, the Android app is working fine ?

@abhimanyu95
Copy link

I am also having the same issue. Android app is working fine, I had checked on Android 14 and Android 12

Log 1

Passbolt:
Device: iPhone
OS: 17.4.1
App: 1.18.0

[2024-05-08 05:01:57] ⚠️ NetworkResponseDecodingFailure
DiagnosticsContext:
•Failed to decode bad request response PassboltNetworkOperations/NetworkResponseDecoder.swift:86
[2024-05-08 05:01:57] ⚠️ NetworkResponseDecodingFailure
DiagnosticsContext:
•Failed to decode bad request response PassboltNetworkOperations/NetworkResponseDecoder.swift:86
[2024-05-08 05:03:06] Wiping passphrase cache...
[2024-05-08 05:03:57] Requesting authorization...
[2024-05-08 05:03:57] [A77E5ACE-E80C-4D63-AC2F-B9DBC0E8B50D] HTTP GET /img/avatar/user_medium.png
[2024-05-08 05:03:58] [A77E5ACE-E80C-4D63-AC2F-B9DBC0E8B50D] HTTP 200 /img/avatar/user_medium.png
[2024-05-08 05:04:08] Beginning authorization...
[2024-05-08 05:04:08] ...reusing access token...
[2024-05-08 05:04:08] Passphrase provided...
[2024-05-08 05:04:08] ...authorization succeeded!
[2024-05-08 05:04:08] Updating account profile data...
[2024-05-08 05:04:09] [CB4416B2-4B28-4050-BC4D-933F963DE7E5] HTTP GET /users/3b04018d-6a4d-4d8c-b074-d3eb94f08dce.json
[2024-05-08 05:04:09] [CB4416B2-4B28-4050-BC4D-933F963DE7E5] HTTP 200 /users/3b04018d-6a4d-4d8c-b074-d3eb94f08dce.json
[2024-05-08 05:04:10] ...account profile data updated!
[2024-05-08 05:05:31] Requesting authorization...
[2024-05-08 05:05:31] [156D9C33-713D-4F55-A35C-C0EE62C336E1] HTTP GET /img/avatar/user_medium.png
[2024-05-08 05:05:31] [67169C24-BF5A-46F3-BC40-F2C79435F5F3] HTTP GET /img/avatar/user_medium.png
[2024-05-08 05:05:32] [67169C24-BF5A-46F3-BC40-F2C79435F5F3] HTTP 200 /img/avatar/user_medium.png
[2024-05-08 05:05:32] [156D9C33-713D-4F55-A35C-C0EE62C336E1] HTTP 200 /img/avatar/user_medium.png
[2024-05-08 05:05:41] Beginning authorization...
[2024-05-08 05:05:41] ...reusing access token...
[2024-05-08 05:05:41] Passphrase provided...
[2024-05-08 05:05:41] ...authorization succeeded!
[2024-05-08 05:05:41] Updating account profile data...
[2024-05-08 05:05:41] [35CB8BC2-9156-4F09-AEBE-97AD23798ED1] HTTP GET /users/3b04018d-6a4d-4d8c-b074-d3eb94f08dce.json

Log 2

Passbolt:
Device: iPhone
OS: 16.7.7
App: 1.18.0

[2024-05-08 05:22:46] Completing account transfer...
[2024-05-08 05:22:47] Verifying data integrity...
[2024-05-08 05:22:47] ...data integrity verification finished
[2024-05-08 05:22:47] Beginning authorization...
[2024-05-08 05:22:47] ...creating new access token...
[2024-05-08 05:22:47] ...fetching server public PGP key...
[2024-05-08 05:22:47] ...fetching server public RSA key...
[2024-05-08 05:22:47] [E267167E-C5DB-4713-8BC9-09BE495CCB24] HTTP GET /auth/verify.json
[2024-05-08 05:22:47] [021461C6-43A9-49F9-951F-6EE4061E156E] HTTP GET /auth/jwt/rsa.json
[2024-05-08 05:22:48] [E267167E-C5DB-4713-8BC9-09BE495CCB24] HTTP 200 /auth/verify.json
[2024-05-08 05:22:48] Local timestamp: 1715145768
[2024-05-08 05:22:48] Server timestamp: 1715145767
[2024-05-08 05:22:48] Using time diff for session: -2
[2024-05-08 05:22:48] ...verifying server public PGP key...
[2024-05-08 05:22:48] [021461C6-43A9-49F9-951F-6EE4061E156E] HTTP 200 /auth/jwt/rsa.json
[2024-05-08 05:22:48] ...preparing authorization challenge...
[2024-05-08 05:22:48] [D5A4EBDB-D6E6-4F61-9C17-03F69C35B8AF] HTTP POST /auth/jwt/login.json
[2024-05-08 05:22:48] [D5A4EBDB-D6E6-4F61-9C17-03F69C35B8AF] HTTP 200 /auth/jwt/login.json
[2024-05-08 05:22:49] Session created...
[2024-05-08 05:22:49] ...authorization succeeded!
[2024-05-08 05:22:49] ...account transfer succeeded!
[2024-05-08 05:22:49] Session auto locking enabled!
[2024-05-08 05:22:49] Verifying data integrity...
[2024-05-08 05:22:49] ...data integrity verification finished
[2024-05-08 05:22:49] Fetching server configuration...
[2024-05-08 05:22:49] [B5F2EF28-F625-4648-9CEC-970F8C7EE457] HTTP GET /settings.json
[2024-05-08 05:22:49] [B5F2EF28-F625-4648-9CEC-970F8C7EE457] HTTP 200 /settings.json
[2024-05-08 05:22:49] ...server configuration fetched!
[2024-05-08 05:22:49] Fetching rbacs configuration...
[2024-05-08 05:22:49] [01C9110C-727B-46A2-86F3-076FE5675548] HTTP GET /rbacs/me.json
[2024-05-08 05:22:49] [01C9110C-727B-46A2-86F3-076FE5675548] HTTP 200 /rbacs/me.json
[2024-05-08 05:22:49] ...rbacs configuration fetched!
[2024-05-08 05:22:50] [5ADC4423-51E5-49D2-88AB-9604BBD5DB6A] HTTP GET /lookup
[2024-05-08 05:22:50] [5ADC4423-51E5-49D2-88AB-9604BBD5DB6A] HTTP 200 /lookup
[2024-05-08 05:22:50] Refreshing users data...
[2024-05-08 05:22:50] [5DAD132D-1AFE-40A6-B071-296C05B42D74] HTTP GET /users.json
[2024-05-08 05:22:50] Updating account profile data...
[2024-05-08 05:22:50] [DF8F5EE1-5CA9-41E6-8900-03847E2F28AB] HTTP GET /users/3b04018d-6a4d-4d8c-b074-d3eb94f08dce.json
[2024-05-08 05:22:50] [522C3ECD-4812-4423-9730-CE344276FEA4] HTTP GET /img/avatar/user_medium.png
[2024-05-08 05:22:50] [DF8F5EE1-5CA9-41E6-8900-03847E2F28AB] HTTP 200 /users/3b04018d-6a4d-4d8c-b074-d3eb94f08dce.json
[2024-05-08 05:22:50] ...account profile data updated!
[2024-05-08 05:22:50] [5DAD132D-1AFE-40A6-B071-296C05B42D74] HTTP 200 /users.json
[2024-05-08 05:22:50] ...users data refresh finished!
[2024-05-08 05:22:50] Refreshing user groups data...
[2024-05-08 05:22:50] [A7C606C6-1597-4FE6-8DE2-544B4AEAE115] HTTP GET /groups.json
[2024-05-08 05:22:50] [A7C606C6-1597-4FE6-8DE2-544B4AEAE115] HTTP 200 /groups.json
[2024-05-08 05:22:50] ...user groups data refresh finished!
[2024-05-08 05:22:50] Refreshing folders data...
[2024-05-08 05:22:50] [9DD5618C-C488-471F-BE98-829B80FE843A] HTTP GET /folders.json
[2024-05-08 05:22:50] [522C3ECD-4812-4423-9730-CE344276FEA4] HTTP 200 /img/avatar/user_medium.png
[2024-05-08 05:22:50] [17C9BA8C-2759-4718-B4C6-82A33BD36D28] HTTP GET /img/avatar/user_medium.png
[2024-05-08 05:22:51] [17C9BA8C-2759-4718-B4C6-82A33BD36D28] HTTP 200 /img/avatar/user_medium.png
[2024-05-08 05:22:51] [9DD5618C-C488-471F-BE98-829B80FE843A] HTTP 200 /folders.json
[2024-05-08 05:22:51] ...folders data refresh finished!
[2024-05-08 05:22:51] Refreshing resources data...
[2024-05-08 05:22:51] [5C28480A-0CFD-4275-97E5-7CA94DA035B5] HTTP GET /resource-types.json
[2024-05-08 05:22:51] [5C28480A-0CFD-4275-97E5-7CA94DA035B5] HTTP 200 /resource-types.json
[2024-05-08 05:22:51] [E07CC17E-D5C9-4F3D-A3F0-9C70448AD960] HTTP GET /resources.json
[2024-05-08 05:22:52] [E07CC17E-D5C9-4F3D-A3F0-9C70448AD960] HTTP 200 /resources.json
[2024-05-08 05:22:52] ...resources data refresh failed!
[2024-05-08 05:22:52] ⚠️ NetworkResponseDecodingFailure
DiagnosticsContext:
•Failed to decode bad request response PassboltNetworkOperations/NetworkResponseDecoder.swift:86
[2024-05-08 05:22:52] ⚠️ NetworkResponseDecodingFailure
DiagnosticsContext:
•Failed to decode bad request response PassboltNetworkOperations/NetworkResponseDecoder.swift:86

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

5 participants