Questions tagged [shelf-router]
3 questions
0
votes
0 answers
dart shelf: Strange requests to my server: handlerPath "/" and url "43" must combine to equal requestedUri path "443"
I deployed dart shelf_router server to use as a service for my app.
Everything works fine in terms of service and code.
However, I see occasional (couple times per hour) strange request errors in journalctl logs, that I didn't make.
Why do these…

Konstantin Kozirev
- 944
- 1
- 10
- 23
0
votes
1 answer
Shelf_router error : Closure call with mismatched arguments
I am using Dart server and using Shelf_router.
The route is configured as follows.
The payroll api is mounted as follows:
app.mount('/payroll/', PayrollApi(db).router);
The PayrollApi has the…

Tusshu
- 1,664
- 3
- 16
- 32
0
votes
0 answers
Dart shelf server returns 503 when testing
I'm trying to write tests for my shelf server. And it returns 503 when I make a request in my unit tests, even though the server is started in my test setup.
I also tested the route I make a call to in my unit test, in my browser, in the duration…

alireza easazade
- 3,324
- 4
- 27
- 35