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

Random crash on requests #69

Closed
buxx opened this issue Mar 4, 2021 · 3 comments
Closed

Random crash on requests #69

buxx opened this issue Mar 4, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@buxx
Copy link
Owner

buxx commented Mar 4, 2021

Some times, rollgui crash:

Describe with url https://rolling-server.bux.fr:443/_describe/character/32a8d1dbf56740dd97da4813a297e136/on_place_actions
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: "https://rolling-server.bux.fr/_describe/character/32a8d1dbf56740dd97da4813a297e136/on_place_actions", source: hyper::Error(IncompleteMessage) }', src/server/client.rs:411:18

But no error on server side:

2021-03-04 14:45:35,031|server|INFO: 127.0.0.1 [04/Mar/2021:14:45:34 +0000] "POST /_describe/character/32a8d1dbf56740dd97da4813a297e136/on_p
lace_actions HTTP/1.1" 200 30027 "-" "-"
2021-03-04 14:45:35,031|server|DEBUG: Receive message on websocket for world: WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"ANIMATED_CO
RPSE_MOVE","world_row_i":1,"world_col_i":3,"data":{"to_row_i":51,"to_col_i":8,"animated_corpse_id":4}}', extra='')
2021-03-04 14:45:35,063|server|DEBUG: {"type":"ANIMATED_CORPSE_MOVE","world_row_i":1,"world_col_i":3,"data":{"animated_corpse_id":4,"to_row_
i":51,"to_col_i":8}}
2021-03-04 14:45:35,147|server|DEBUG: Receive message on websocket for zone 3,2: WSMessage(type=<WSMsgType.TEXT: 1>, data='{"type":"CLIENT_W
ANT_CLOSE","data":null}', extra='')
2021-03-04 14:45:35,147|server|DEBUG: remove websocket (3,2)
2021-03-04 14:45:35,193|server|DEBUG: websocket (3,2) seems cancelled
2021-03-04 14:45:35,193|server|DEBUG: remove websocket (3,2)
2021-03-04 14:45:35,194|server|INFO: 127.0.0.1 [04/Mar/2021:14:45:25 +0000] "GET /zones/3/2/events?character_id=32a8d1dbf56740dd97da4813a297
e136&token=k6uzgqNh0miW0YEjY4DRugAiz3MzcUtd HTTP/1.1" 101 0 "-" "-"

Why ? Implement retry on rollgui ?

@buxx buxx self-assigned this Mar 4, 2021
@buxx buxx added the bug Something isn't working label Mar 4, 2021
@buxx
Copy link
Owner Author

buxx commented Mar 5, 2021

An other occurence:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: "https://rolling-server.bux.fr/character/32a8d1dbf56740dd97da4813a297e136/with-resource-action/TRANSFORM_RESOURCES_TO_RESOURCES/ANIMAL_SKIN/MAKE_LEATHER_PIECE?quantity=1", source: hyper::Error(IncompleteMessage) }', src/server/client.rs:411:18

@buxx
Copy link
Owner Author

buxx commented Mar 5, 2021

See hyperium/hyper#2136

@buxx
Copy link
Owner Author

buxx commented Mar 7, 2021

probably fixed with buxx/rollgui@73657f0

@buxx buxx closed this as completed Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant