-
|
Request is receiving http instead of https. I think it's due to some settings in the traefik dockerfile but I can't figure which setting is causing this. Here's part of the docker-compose file. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
Did you ever figure this out? I think im having a similar issue. I'm receiving the following response when I make an API call to the backend, even though I direct it to https: For some reason it switches the call to http I also noticed that navigating to http doesn't auto redirect to https |
Beta Was this translation helpful? Give feedback.
-
|
unfortunately, no. I exactly have the same problem with you. I initially fixed this by replacing http:// with https:// in the client (vuejs). but since I only needed that for my images that I have since moved to firebase storage, I don't have a use for it. So the issue remains. The solutions I made are workarounds. |
Beta Was this translation helpful? Give feedback.
-
|
I experienced the same problem and after some trying finally found a "solution". public static readItems(data: TDataReadItems = {}): CancelablePromise<ItemsPublic> {
const {
limit = 100,
skip = 0,
} = data;
return __request(OpenAPI, {
method: 'GET',
url: '/api/v1/items/',
query: {
skip, limit
},
errors: {
422: `Validation Error`,
},
});
} |
Beta Was this translation helpful? Give feedback.
-
|
If anyone faces this again, please create a minimal reproducible example to be able to replicate and see the exact error locally, that way I or someone else would be able to help. ☕ |
Beta Was this translation helpful? Give feedback.
If anyone faces this again, please create a minimal reproducible example to be able to replicate and see the exact error locally, that way I or someone else would be able to help. ☕