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

docs: document hyper dependency as a workaround for a2 bug #25

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

link2xt
Copy link
Contributor

@link2xt link2xt commented Apr 14, 2024

No description provided.

@link2xt link2xt requested review from Simon-Laux and r10s April 14, 2024 23:00
@link2xt
Copy link
Contributor Author

link2xt commented Apr 14, 2024

If I remove dependency, I get these failures:

Apr 14 23:05:27 page systemd[1]: Started notifications.service - Notification Service.
Apr 14 23:05:27 page notifiers[398104]: {"level":30,"time":1713135927946,"msg":"14968 devices registered currently"}
Apr 14 23:05:27 page notifiers[398104]: {"level":30,"time":1713135927947,"msg":"Listening on 127.0.0.1:port"}
Apr 14 23:05:27 page notifiers[398104]: {"level":30,"time":1713135927947,"msg":"Server listening on http://127.0.0.1:9000"}
Apr 14 23:05:27 page notifiers[398104]: {"level":30,"time":1713135927947,"msg":"Waking up devices every 20m"}
Apr 14 23:05:27 page notifiers[398104]: {"level":30,"time":1713135927960,"msg":"sending notifications to 14968 devices"}
Apr 14 23:05:27 page notifiers[398104]: {"level":30,"time":1713135927960,"msg":"notify: 0004d9d154b32c2a96c75d3bb26261d70d8daae96849c6bdc5d65988b62cf415"}
Apr 14 23:05:28 page notifiers[398104]: thread 'async-std/runtime' panicked at 'executor must be set', /home/notifications/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.27/src/common/exec.rs:>
Apr 14 23:05:28 page notifiers[398104]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Apr 14 23:05:28 page notifiers[398104]: thread 'main' panicked at 'task has failed', /home/notifications/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.4.0/src/task.rs:452:45
Apr 14 23:05:28 page systemd[1]: notifications.service: Main process exited, code=exited, status=101/n/a

@link2xt
Copy link
Contributor Author

link2xt commented Apr 14, 2024

Apparently there is an upstream fix: reown-com/a2#77

@link2xt link2xt force-pushed the link2xt/remove-unused-hyper-dependency branch from 685adcd to f84be08 Compare April 14, 2024 23:15
@link2xt link2xt changed the title chore: remove unused hyper dependency docs: document hyper dependency as a workaround for a2 bug Apr 14, 2024
@link2xt link2xt merged commit 3d5cb20 into main Apr 15, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants