You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Duplicating logs
In my project I have a situation where I need to specify two different middlewares.
After first post request was send, one log appears in console. But then, when I sent another one logs started appearing by two.
I thought the problem was in my code, but then I tried to send request using Postman, not Swagger and logs appears correctly by one.
Failed to Fetch
Idk where is the source of this error. It appers randomly when I sent a post request. In console I see the log where full uri located and also see a status code when on Swagger nothing appears, only this strange error. I've checked network tab and found only (failed)net::ERR_CONNECTION_ABORTED error.
I even set a CORS layer using tower_http but problem still here.
axum = {version = "0.8.1", features = ["json", "multipart"] }
utoipa = { version = "5.2.0", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "8.0.3", features = ["axum", "debug-embed"] }
utoipa-axum = "0.1.2"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi again! Looks like I found an issue..
In my project I have a situation where I need to specify two different middlewares.
After first post request was send, one log appears in console. But then, when I sent another one logs started appearing by two.
I thought the problem was in my code, but then I tried to send request using Postman, not Swagger and logs appears correctly by one.
Idk where is the source of this error. It appers randomly when I sent a post request. In console I see the log where full uri located and also see a status code when on Swagger nothing appears, only this strange error. I've checked
network
tab and found only(failed)net::ERR_CONNECTION_ABORTED
error.I even set a CORS layer using tower_http but problem still here.
Beta Was this translation helpful? Give feedback.
All reactions