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

[Bug]: timeout in backend when trying to update user profile #80

Closed
2 of 10 tasks
guysoft opened this issue Jan 2, 2023 · 2 comments
Closed
2 of 10 tasks

[Bug]: timeout in backend when trying to update user profile #80

guysoft opened this issue Jan 2, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@guysoft
Copy link
Contributor

guysoft commented Jan 2, 2023

Steps to reproduce

  1. Install new lemmybb 0.1.2 using the docker instructions
  2. Use lemmy server
  3. Enter user profile and try to update email and password

expected: page should update

actual:
browser shows:
error sending request for url (http://lemmy:8536/api/v3/user/save_user_settings): operation timed out

On which operating systems are you seeing the problem on?

  • Windows
  • Linux
  • macOS
  • Android
  • iOS/iPadOS

On which browsers are you seeing the problem on?

  • Firefox
  • Chrome
  • Safari
  • Microsoft Edge
  • Other (please describe in more detail under Additional context)

Version

0.1.2

LemmyBB Logs

lemmy-bb    | [2023-01-02T19:20:40Z INFO  rocket::server] POST /edit_profile multipart/form-data:
lemmy-bb    | [2023-01-02T19:21:10Z WARN  lemmy_bb::error] error sending request for url (http://lemmy:8536/api/v3/user/save_user_settings): operation timed out
lemmy-bb    | [2023-01-02T19:21:10Z INFO  rocket::server] GET /favicon.ico image/avif:
lemmy-bb    | [2023-01-02T19:21:10Z ERROR _] No matching routes for GET /favicon.ico image/avif.
lemmy-bb    | [2023-01-02T19:21:10Z WARN  _] No 404 catcher registered. Using Rocket default.
lemmy       | 2023-01-02T19:21:40.856479Z  WARN Error encountered while processing the incoming HTTP request: lemmy_server::root_span_builder: email_send_failed: Connection error: Address not available (os error 99)
lemmy       |    0: lemmy_api::local_user::save_settings::perform
lemmy       |            with self=SaveUserSettings { show_nsfw: None, show_scores: None, theme: None, default_sort_type: None, default_listing_type: None, lang: Some("browser"), avatar: None, banner: None, display_name: None, email: Some(Sensitive), bio: None, matrix_user_id: None, show_avatars: None, send_notifications_to_email: None, bot_account: None, show_bot_accounts: None, show_read_posts: None, show_new_post_notifs: None, auth: Sensitive }
lemmy       |              at crates/api/src/local_user/save_settings.rs:28
lemmy       |    1: lemmy_server::root_span_builder::HTTP request
lemmy       |            with http.method=PUT http.scheme="http" http.host=lemmy:8536 http.target=/api/v3/user/save_user_settings otel.kind="server" request_id=7f8b2ea3-2aa1-4101-915b-11a30b9aff41 http.status_code=400 otel.status_code="OK"
lemmy       |              at src/root_span_builder.rs:16
lemmy       | LemmyError { message: Some("email_send_failed"), inner: Connection error: Address not available (os error 99)
lemmy       | 
lemmy       | Caused by:
lemmy       |     Address not available (os error 99), context: "SpanTrace" }

Additional context

Lemmy container: dessalines/lemmy:0.16.7

@guysoft guysoft added the bug Something isn't working label Jan 2, 2023
@guysoft guysoft changed the title [Bug]: [Bug]: unable to update user profile Jan 2, 2023
@guysoft guysoft changed the title [Bug]: unable to update user profile [Bug]: timeout in backend when trying to update user profile Jan 2, 2023
@Nutomic
Copy link
Member

Nutomic commented Jan 2, 2023

Like the error message says, there is a problem with sending emails. Make sure the email config for Lemmy works, or remove it then this problem should go away.

@guysoft
Copy link
Contributor Author

guysoft commented Jan 13, 2023

Inderd that fixed it, closing.

@guysoft guysoft closed this as completed Jan 13, 2023
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

2 participants